= 1:3.38) but it is not installableJan 31 05:36:49 in-target: Depends: gnome-user-docs (>=
<pre class="gmail-a-b-r-La" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:14px"><pre class="gmail-a-b-r-La" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px">Jan 31 05:35:42 apt-setup: warning: /usr/lib/apt-setup/generators/50mirror returned error code 1; discarding output
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.
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.
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.
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.
These workarounds are not obvious to the user, even after encountering the "Installation step failed" error.
Impact:
This bug prevents users from performing a default offline installation of Debian 11.11 from the DVD ISO on a network-connected machine. It creates a confusing user experience and may lead users to believe the ISO is faulty.
Further Information:
This issue highlights a potential disconnect between the intent of the "No" option for network mirrors and the actual installer behavior. IMO,
the installer should do one of the following:
- Respect the user's choice and perform a purely offline installation when "No" is selected on the network mirror page.
- If the user chooses not to use a mirror, check for an internet connection and either:
- prompt the user to decide to install security updates, with a warning that this may fail without a mirror.
- prompt the user to set a network mirror to avoid potential installation failure.
Relevant installation syslog:
Jan 31 05:32:59 cdrom-detect: Devices: '/dev/sr0'
Jan 31 05:32:59 cdrom-detect: CD-ROM mount succeeded: device=/dev/sr0 fstype=iso9660
Jan 31 05:32:59 kernel: [ 7.306344] ISO 9660 Extensions: Microsoft
Joliet Level 3
Jan 31 05:32:59 kernel: [ 7.306752] ISO 9660 Extensions: RRIP_1991A
Jan 31 05:32:59 cdrom-detect: Detected CD 'Debian GNU/Linux 11.11.0 "Bullseye" - Official amd64 DVD Binary-1 20240831-14:01'
...
Jan 31 05:35:42 apt-setup: warning:
/usr/lib/apt-setup/generators/50mirror returned error code 1;
discarding output
Jan 31 05:35:42 apt-setup: dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is
dangerous, use --no-rename
Jan 31 05:35:42 in-target: Get:1
http://security.debian.org/debian-security bullseye-security InRelease
[27.2 kB]
Jan 31 05:35:42 in-target: Get:2
http://security.debian.org/debian-security bullseye-security/main
amd64 Packages [340 kB]
Jan 31 05:35:42 in-target: Get:3
http://security.debian.org/debian-security bullseye-security/main Translation-en [221 kB]
Jan 31 05:35:43 in-target: Fetched 587 kB in 0s (1,432 kB/s)
Jan 31 05:35:43 in-target: Reading package lists...
Jan 31 05:35:43 in-target:
Jan 31 05:35:43 apt-setup: dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is
dangerous, use --no-rename
Jan 31 05:35:43 in-target: Hit:1
http://security.debian.org/debian-security bullseye-security InRelease
Jan 31 05:35:43 in-target: Reading package lists...
Jan 31 05:35:43 in-target:
Jan 31 05:35:43 apt-setup: dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is
dangerous, use --no-rename
Jan 31 05:35:43 in-target: Hit:1
http://security.debian.org/debian-security bullseye-security InRelease
Jan 31 05:35:43 in-target: Get:2
http://security.debian.org/debian-security bullseye-security/main
Sources [233 kB]
Jan 31 05:35:43 in-target: Fetched 233 kB in 0s (2,422 kB/s)
Jan 31 05:35:43 in-target: Reading package lists...
...
Jan 31 05:36:49 in-target: Some packages could not be installed. This
may mean that you have
Jan 31 05:36:49 in-target: requested an impossible situation or if you
are using the unstable
Jan 31 05:36:49 in-target: distribution that some required packages
have not yet been created
Jan 31 05:36:49 in-target: or been moved out of Incoming.
Jan 31 05:36:49 in-target: The following information may help to
resolve the situation:
Jan 31 05:36:49 in-target:
Jan 31 05:36:49 in-target: The following packages have unmet dependencies: Jan 31 05:36:49 in-target: gnome-core : Depends: gnome-control-center
= 1:3.38) but it is not installableJan 31 05:36:49 in-target: Depends: gnome-user-docs (>=
3.38) but it is not installable
Jan 31 05:36:49 in-target: Depends: gnome-sushi (>=
3.34) but it is not installable
Jan 31 05:36:49 in-target: Depends: yelp (>= 3.38) but
it is not installable
Jan 31 05:36:49 in-target: Depends: zenity (>= 3.32) but
it is not installable
Jan 31 05:36:49 in-target: gnome-online-accounts : Depends: libgoa-backend-1.0-1 (= 3.38.0-3) but it is not installable
Jan 31 05:36:49 in-target: Depends: libwebkit2gtk-4.0-37 (>= 2.26) but it is not installable
Jan 31 05:36:49 in-target: Recommends: gnome-control-center (>= 3.6.1) but it is not installable
Jan 31 05:36:49 in-target: libedataserverui-1.2-2 : Depends: libwebkit2gtk-4.0-37 (>= 2.25.1) but it is not installable
Jan 31 05:36:49 in-target: libproxy1-plugin-webkit : Depends: libjavascriptcoregtk-4.0-18 but it is not installable
Jan 31 05:36:49 in-target: E: Unable to correct problems, you have
held broken packages.
Jan 31 05:36:49 in-target: tasksel: apt-get failed (100)
On Fri, Jan 31, 2025 at 02:55:56PM +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.
This is also the case in Bookworm - Debian 12.
This is potentially intended logic`, though probably not for the reasons you think. If you want to perform an entirely offline installation as suggested further down - you _need_ to start the installation with no Wifi network connection attempted / no network cable connected.
Jan 31 05:35:42 in-target: Get:1
http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
On Fri 31 Jan 2025 at 23:30:52 (+0000), Andrew M.A. Cater wrote:
On Fri, Jan 31, 2025 at 02:55:56PM +0900, Mailing List wrote:
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.
This is also the case in Bookworm - Debian 12.
This is potentially intended logic`, though probably not for the reasons you
think. If you want to perform an entirely offline installation as suggested further down - you _need_ to start the installation with no Wifi network connection attempted / no network cable connected.
I wonder why I couldn't reproduce this with the 12.9 netinst then. You
would think that there's far more reason to insist on preferring http:
over cdrom: when so little is available on the installation medium,
compared with a 12.9 DVD.
I configured the network, used it to configure the clock, installed
the base system, configured the package manager with no mirror,
included the security/release updates, accepted standard system
utilities, and all the packages (far fewer than normal, of course)
were then installed from cdrom:—nothing from http:. I aborted at
the Grub question.
So can you explain the intended logic here, particularly as you say
we're not expected to be able to reason it out.
David.
On Sat 01 Feb 2025 at 15:29:13 (+0000), Andrew M.A. Cater wrote:
On Fri, Jan 31, 2025 at 11:00:25PM -0600, David Wright wrote:
On Fri 31 Jan 2025 at 23:30:52 (+0000), Andrew M.A. Cater wrote:
Right: I've just run through three installs of Debian 11.11.0 from DVD1:
The medium was retrieved from cdimage.debian.org/archive at http://cdimage.debian.org/cdimage/archive/11.11.0/amd64/iso-dvd/ as http://cdimage.debian.org/cdimage/archive/11.11.0/amd64/iso-dvd/debian-11.11.0-amd64-DVD-1.iso
I made three attempts to install, as follows:
1. One text mode install, network connected
2. One text mode expert install, network connected
3. One text mode install, network disconnected.
In each case, the install was done without selecting a network mirror.
I can reproduce the problem when the network is connected.
The expert install shows a little more detail - I can see the install running through installing the base install then through tasksel where
I leave GNOME selected and then it fails as software is installed.
On 3 - no network - it works perfectly, so my supposition that if there is no network connection then the install proceeds entirely from the DVD and runs to completion is probably correct.
(Presumably you mean attempt 3.)
# deb cdrom:[Debian GNU/Linux 11.11.0 _Bullseye_ - Official amd64 DVD Binary-1 20240831-14:01]/ bullseye contrib main
deb cdrom:[Debian GNU/Linux 11.11.0 _Bullseye_ - Official amd64 DVD Binary-1 20240831-14:01]/ bullseye contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security bullseye-security main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/debian-security bullseye-security main contrib
# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# A network mirror was not selected during install. The following entries # are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ bullseye-updates main contrib
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib
So the only source that remains uncommented is the DVD and the other entries
are there and commented out, ready for use if the hash signs are deleted.
I'm not sure this is a bug per se: if what you want is a fully offline install, then you have to make sure that the machine is fully offline.
What interests me is what the sources list was after run 2, particularly
this line:
#deb http://security.debian.org/debian-security bullseye-security main contrib
If commented out, how did the installer manage (in the OP) to log:
Jan 31 05:35:42 in-target: Get:1 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
If not commented, then I would call that a bug: it allows the
installer to use a mirror when told not to.
If you want a networked install, then the assumptions made in the
installer are probably that you will want to install using the available network for all appropriate updates.
If you're connected to a network, but you tell a program not to use
it, then going ahead and using it is as bad as other programs that
"call home" without permission. And we all condemn that.
As I said, I can't replicate the problem on bookworm, but I've only
tested the netinst. I'll leave the DVD for you. :)
Since bookworm is now the subject of LTS from Freexian, maybe address any↑↑↑↑↑↑↑↑ bullseye.
request for changes to them. It's almost certain that the bug won't be fixed by addressing any fault in the medium - the debian-cd crew wouldn't address this for a release that's now out of main Debian security support.
I'll now go and see if I can reproduce this in Bookworm. If I can, then I'll
suggest it as a problem for a possible fix in the next point release though I can't promise anything.
Cheers,
David.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:10:49 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,058 |
Messages: | 6,416,629 |