[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029922: marked as done (apt-setup: remove duplicate, commented-out cdrom entries)



Your message dated Mon, 30 Jan 2023 02:40:28 +0000
with message-id <E1pMK5s-00ARi8-VD@fasolo.debian.org>
and subject line Bug#1029922: fixed in apt-setup 1:0.175
has caused the Debian Bug report #1029922,
regarding apt-setup: remove duplicate, commented-out cdrom entries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1029922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029922
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-setup
Severity: normal

After a regular installation from netinst, sources.list usually looks
like this:

    # deb cdrom:[Debian GNU/Linux 12.0.0 _Sid_ - Unofficial amd64 NETINST with firmware 20230128-23:05]/ sid local main non-free non-free-firmware
    
    #deb cdrom:[Debian GNU/Linux 12.0.0 _Sid_ - Unofficial amd64 NETINST with firmware 20230128-23:05]/ sid local main non-free non-free-firmware
    
    deb http://deb.debian.org/debian/ sid main non-free-firmware
    deb-src http://deb.debian.org/debian/ sid main non-free-firmware
    
    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.

It feels weird to have the commented out cdrom: entries twice, and I'm
tempted to remove one of those.

The first one comes from apt-setup's generators/01setup which retains
existing entries in sources.list, but commented out. The relevant code
has been around since forever (it was already present before the split
from svn), but I don't understand what purpose it serves, and I'm
inclined to just remove this. If the previous entries are useful, the
existing file can be saved elsewhere.

    # add old file as comments
    sed 's/^/# /' < $ROOT/etc/apt/sources.list | sed 's/^# # */# /' > $file


The second one is due to the finish-install hook that disables cdrom
entries in certain conditions, which also adds the informative text
at the bottom. That can be kept as is.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

--- End Message ---
--- Begin Message ---
Source: apt-setup
Source-Version: 1:0.175
Done: Cyril Brulebois <kibi@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1029922@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated apt-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 30 Jan 2023 02:43:24 +0100
Source: apt-setup
Architecture: source
Version: 1:0.175
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Closes: 1029922
Changes:
 apt-setup (1:0.175) unstable; urgency=medium
 .
   [ Cyril Brulebois ]
   * generators/01setup: remove existing sources.list file instead of
     keeping all of its entries commented out. This avoids leaving
     duplicate cdrom: entries in comments at the end of the installation
     (Closes: #1029922).
 .
   [ Updated translations ]
   * Catalan (ca.po) by Jordi Mallach
   * Czech (cs.po) by Miroslav Kure
   * German (de.po) by Holger Wansing
   * Esperanto (eo.po) by phlostically
   * Hebrew (he.po) by Yaron Shahrabani
   * Macedonian (mk.po) by Kristijan Fremen Velkovski
   * Dutch (nl.po) by Frans Spiesschaert
   * Polish (pl.po) by Matthaiks
   * Portuguese (Brazil) (pt_BR.po) by Adriano Rafael Gomes
Checksums-Sha1:
 d7108aee75e8e75246141ff7706a976e3e240fc2 1794 apt-setup_0.175.dsc
 7bbe79748f6fc1ee31e60f5bfba1058e4c906b1c 265072 apt-setup_0.175.tar.xz
 ee18b2be4d215391c5396ec25758d022a0e2a4c3 6384 apt-setup_0.175_source.buildinfo
Checksums-Sha256:
 fed7a50aa46e87b26b157374c0b47a49a37160332b1f1d7acb354f8f493d24fe 1794 apt-setup_0.175.dsc
 ad305a49e5291c2c4957df854fb8170289752331d4f2cfbfc3e274564bfcee9a 265072 apt-setup_0.175.tar.xz
 48f1bef8eb0db2d31e2b9a27ed216124d92d7ac383577b35e9c2816579a38138 6384 apt-setup_0.175_source.buildinfo
Files:
 2e827c35596b637dac9fbb99ba384b46 1794 debian-installer optional apt-setup_0.175.dsc
 31039d9bb384d0de57806a5b25d98d7f 265072 debian-installer optional apt-setup_0.175.tar.xz
 c43873e59110ed47d2bfc7dd6b3aa262 6384 debian-installer optional apt-setup_0.175_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmPXINAQHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVID5JD/9syKfWHn8En6lwh8lWfGILpBwNgXDMJzTk
tTYbWvWmnVZO5pqbokh39XnjDWlAeivg4ST/kkrAd5gOFV83M351bBNO7VjOJMTP
ykinJXcLXqz4tahdNEbXqoseCZHL48qIJ4us1167B4m7u8fqxfIPeOFic6hYls9U
NpNKXkkifETx/0T6aeZBy7F7Q3vbwu1fgInlS2SU+bY/ZZzFQDTKgO8AsQY2YvCX
JOKGaaCYL/Sm3NxWPnOCBWYlLOLJfuUi+Fxzg72itwyN630F6RCxSCny1mCOVZUt
APXb/ZFzTuZKcnc8iDUNouPN77ByjhcbUR4ZP67MmFJHcxS9smhnVbBOrh0DPjjI
H+dLHEVpS0bRx9b65Zv2uzqzcABOewkuemTIfwmkerV7JBuGRvVTRLZxq9Q+80VR
qtUJZL2NxmAur6OaF1D7gOQqwHpBZQoBFnpbRlrT6VWNeCZwuqZySmAhV9aX1RDi
8MR5n64WHKOES/tvFiphwn91MYjXtCmYgbGalsfGYobIwmZBq8spTPx/HbbgnQ80
l0n/8/OBhJa3NGm4r/SGT91YRfgFPkUIAsQ5PumGWSM4/jpurY/ps6s7Ped+QqOx
WuAH2ZHzzYdzpCC4kvIMhShZon4t6uENursLmN3+LgTCB/7j3NyoB9h8BdUkvFKw
WKkyp8OynA==
=F+9U
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: