Your message dated Mon, 26 May 2025 18:48:56 +0000 with message-id <e1ujcsa-00a55m...@fasolo.debian.org> and subject line Bug#1103650: fixed in apt-setup 1:0.195 has caused the Debian Bug report #1103650, regarding Debian installer adds the CDROM in APT sources even when the installation source is not a CDROM 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 ow...@bugs.debian.org immediately.) -- 1103650: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103650 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: debian-cdrom-detect (or apt, if the issue persists after installation) Version: 3.0.0 Severity: minor Tags: installation, apt, cdrom, mirrors, regression Dear Debian Maintainers, I am reporting a bug where the Debian installer incorrectly adds the CDROM drive as a mirror in the APT sources list, even when the installation source is not a CDROM. This can cause unnecessary errors and delays when updating the system. This bug appears to affect all stable versions of Debian. Description: During a Debian installation from a USB drive (or possibly a network source), the installer incorrectly detects and adds the CDROM device as a package source to the `/etc/apt/sources.list` or `/etc/apt/sources.list.d/*` files. This results in APT attempting to access the CDROM drive for package updates, even though it is not needed or intended. This behavior leads to error messages about missing CDROM media, and causes unnecessary delays in apt update/upgrade processes, especially on systems without a CDROM drive. The problem stems from the installation process not correctly determining the installation source. Steps to reproduce: 1. Boot the Debian installer (e.g., from a USB drive). 2. Proceed through the installation process as normal. Choose a network mirror if prompted. 3. After the installation is complete, boot into the newly installed system. 4. Open the `/etc/apt/sources.list` file (or check files in `/etc/apt/sources.list.d/`). 5. Observe that a line similar to the following is present, referencing the CDROM drive: ``` deb cdrom:[Debian <version> <codename> - Official <architecture> Binary <date>]/ <codename> main ``` Expected results: The installer should correctly identify the installation source (USB drive, network mirror, etc.) and only add relevant mirrors to the APT sources list. The CDROM device should only be added as a mirror if the installation was specifically performed from a CDROM. Actual results: The installer incorrectly adds the CDROM device as a mirror in the APT sources list, regardless of the actual installation source. Configuration information: * Debian version: All stable versions (including Bookworm) * Installation source: USB drive (tested on VM) * Architecture: amd64 (likely affects all architectures) * Package versions:3.0.0 Additional info: This issue can be easily resolved by manually commenting out or deleting the CDROM entry in `/etc/apt/sources.list`. However, it would be better if the installer correctly determined the installation source and avoided adding the CDROM entry in the first place. This would improve the out-of-box experience for new Debian users. The presence of the CDROM entry also slightly increases the time for `apt update` as it tries (and fails) to probe the non-existent or empty CDROM drive. This also is observed even when adding a mirror at installation. It would be useful for the Debian Installer to reliably handle installations where a mirror is provided so no CDROM is added. This issue has been observed across multiple Debian stable releases on a virtual machine with amd64 architecture. It is likely the bug affects all architectures using the newest package versions. Thank you for your time and attention to this matter. Sincerely, -- Scorpion Salute
--- End Message ---
--- Begin Message ---Source: apt-setup Source-Version: 1:0.195 Done: Cyril Brulebois <k...@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 1103...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Cyril Brulebois <k...@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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 26 May 2025 20:23:24 +0200 Source: apt-setup Architecture: source Version: 1:0.195 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-b...@lists.debian.org> Changed-By: Cyril Brulebois <k...@debian.org> Closes: 1102140 1103650 Changes: apt-setup (1:0.195) unstable; urgency=medium . [ Pascal Hambourg ] * finish-install: Disable cdrom sources if installation medium is not a real CD (USB stick, SD card, ISO file), because APT cannot use it after the installation (Closes: #1102140, #1103650). . [ Roland Mas ] * Allow preseeding extra options for the local sources.list lines; a possible use case is to allow specifying check-valid-until=false on local repositories without conflicting with the signed-by= option. . [ Updated translations ] * Greek (el.po) by galaxico * Hungarian (hu.po) by Szia Tomi * Latvian (lv.po) by Coool * Telugu (te.po) by Sripath Roy Koganti * Uyghur (ug.po) by Abduqadir Abliz Checksums-Sha1: dc35f5f65b7e6b6f4da9a28b71c408e41dc20a75 1872 apt-setup_0.195.dsc a1ffff01730c3757bfe33fd64c24aa14fcc60a52 251024 apt-setup_0.195.tar.xz 4803d81cefe7bf42dadcaf616811d3764e9c6c1d 7041 apt-setup_0.195_source.buildinfo Checksums-Sha256: 3315530cd58aa238290db164ee344d17453b8100157d3a5f58cdee5a386d6960 1872 apt-setup_0.195.dsc 3fbfbbf80b8a6c0a12421d5b735edb76fbc4168ce0a9bc300bc11c246181b045 251024 apt-setup_0.195.tar.xz 00e8e1bb2baf22257dafd8fbca2271a600b967ae00b26469d3b7181e357831f6 7041 apt-setup_0.195_source.buildinfo Files: 8c1ba8769b5e3ebeeafe26820943c7b1 1872 debian-installer optional apt-setup_0.195.dsc a5eb0de6e5949bb15acca3eb316d91d2 251024 debian-installer optional apt-setup_0.195.tar.xz 8357243d0c3817618cc882d93408d8c9 7041 debian-installer optional apt-setup_0.195_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmg0s4AQHGtpYmlAZGVi aWFuLm9yZwAKCRD/kUrwwrNVIFiDD/0adpWKQeW3UTDzmq+9Rw/dczeNHfAd2FcW z1W5RNAqlosPgIoeOm3YDqKqD5G/OPhuccJKhscZPrYLLtnwfAk1vi2VojACXu+O FY35UK9KdzJJfbbRrCugz1oSyT1AQlxqyPUSBy8QxxWNlkBbRAay4TlrXosXS77Z 80hfTGSVwM9sg2btqE9+CZZ2k10hZe/szFXeRgzlTQGXtbK9h8Z/e5mJzp7xIkVa eb7AKQBC1+/nxMWK6/HJFE3XFCBZ9kadBp81Nu1mDOQ5CT90lwGqRzZJlJSWVCQV cQu10y+KP/bBbnD35L3l6A8h4Z73wIUhH4mXWEX4XRhJ3MzwJcFaBmdtcDZURcPY hU56polhkfYs2NTxM0ZaKMqy+XSXTSwFcbpijvmPd42XLOKuIrgy5EbTe6tPTg1M IMYC75ZivTm1vsk/yJN2odGpmd4YF30JAGP0paU7oNu1LTcrnmHufSaJ/FkEjGG8 VZkB96V4cXjcyapb78gVwuhIwtHMPhN0i4ds/StnETlUcuy/DePWSrSh53h7C6uR F6KbUmjzEKQysr0M37k2L/6qQq4LgkqHQZpvRd6IvIm4GffhMDgcSSUYxHgJ1oY+ eKz9nya1gVFIbBbz0rOawfIdR2dX1Lh6e5dZvFJt9+Nhg4d9tM8UOjN6LvLqq6ta Hp9YF4GXzQ== =nxtZ -----END PGP SIGNATURE-----
pgp790e2CgxD3.pgp
Description: PGP signature
--- End Message ---