On Fri 31 Jan 2025 at 14:55:56 (+0900), Mailing List wrote: > I believe I've found a bug in the DVD ISO installer logic which affects > 11.11 and earlier but in theory could affect 12.x as well. > > Description: > > A default installation of Debian 11.11 (Bullseye) from the official DVD ISO > fails with the following error: > > Installation step failed > An installation step failed. You can try to run the failing item again > from the menu, or skip it and choose something else. The failing step > is: Select and install software > > This failure occurs during the "Select and install software" stage. The > root cause is an attempt to install security updates from the security > network repository *even when the user selects the default "No" to using a > network mirror*. > > Steps to Reproduce: > > 1. Boot the Debian 11.11 DVD ISO on an Internet-connected PC > 2. Proceed through the installation process. > 3. When prompted "Use a network mirror?", select the default "No". > 4. Continue with the installation. > 5. The installation will fail at the "Select and install software" step > with the aforementioned error. > > Expected Behavior: > > The installation should succeed whether the user uses the default "No" to > using a network mirror or manually sets a network mirror to use. > > Observed Behavior: > > When "No" is selected for the network mirror, the installer still attempts > to use the repository http://security.debian.org/debian-security > bullseye-security/main. This leads to dependency issues because the DVD > media's package versions are older than those required by the security > repository updates. The installer then fails because it cannot resolve > these dependencies.
I couldn't replicate this problem on bookworm netinst 12.9 expert install, with the network configured. (My bullseye installers have all been discarded.) The only suggestion I have in the mainline process is to try unsetting the options below, assuming they have been left set (the default). ┌──────────────────┤ [?] Configure the package manager ├──────────────────┐ │ │ │ Debian has two services that provide updates to releases: security │ │ and release updates. │ │ │ │ [ … … … … … … … … … … … … … … … … … … … … … … ] │ │ │ │ Services to use: │ │ │ │ [*] security updates (from security.debian.org) │ │ [*] release updates │ │ [ ] backported software │ │ │ │ <Go Back> <Continue> │ │ │ └─────────────────────────────────────────────────────────────────────────┘ > Workaround: > > The user must either: > > 1. Select "Yes" to the "Use a network mirror?" prompt and configure a > mirror. > 2. Disconnect the machine from the network before starting the > installation. For 2, can you leave the network unconfigured rather than disconnecting it (which might be difficult where the network is wireless). Another workaround, under the bonnet as it were, might be to keep tabs on the sources list. At some point, the installer comments the DVD line, and uncomments, or writes, the http: lines. (I'm not sure precisely when this occurs.) Undo any changes as they are made. There may be two locations to watch, /etc/apt/sources.list and /target/etc/…, the first being in-memory, the second being in the future root partition. This workaround would depend for success on there being at least one prompt between the installer's changing the sources.list and updating APT's lists. Can you replicate the problem with the bookworm installer, and is the netinst vs DVD difference a significant factor? Cheers, David.