Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.boot > #75542 > unrolled thread
| Started by | Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> |
|---|---|
| First post | 2025-06-07 00:20 +0200 |
| Last post | 2025-06-23 16:00 +0200 |
| Articles | 10 — 6 participants |
Back to article view | Back to linux.debian.maint.boot
Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> - 2025-06-07 00:20 +0200
Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Cyril Brulebois <kibi@debian.org> - 2025-06-07 00:40 +0200
Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Cyril Brulebois <kibi@debian.org> - 2025-06-07 22:50 +0200
Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Michael Tokarev <mjt@tls.msk.ru> - 2025-06-07 23:20 +0200
Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Cyril Brulebois <kibi@debian.org> - 2025-06-07 23:30 +0200
Bug#1107392: marked as done (Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-08 00:00 +0200
Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> - 2025-06-08 00:20 +0200
Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility Thorsten Glaser <tg@debian.org> - 2025-07-03 02:10 +0200
Bug#1107392: Stable also affected by this issue Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> - 2025-06-23 15:40 +0200
Bug#1107392: Stable also affected by this issue Cyril Brulebois <kibi@debian.org> - 2025-06-23 16:00 +0200
| From | Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> |
|---|---|
| Date | 2025-06-07 00:20 +0200 |
| Subject | Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility |
| Message-ID | <KUNzP-8KlN-1@gated-at.bofh.it> |
Package: installation-reports Hello, installing trixie using PXE netboot no longer works for me. The installation fails with "anna[8234] busybox wget does not support https" right after the "Loading additional components" step. The initrd from https://deb.debian.org/debian/dists/trixie/main/installer-amd64/20250515/images/ contains "busybox-udeb 1:1.37.0-4 amd64" and "wget-udeb 1.25.0-2 amd64". https://deb.debian.org/debian/dists/trixie/main/debian-installer/binary-amd64/Packages.xz however references the newer busybox-udeb version "1:1.37.0-5". The debian installer downloads and installs the new busybox-udeb, which replaces the /bin/wget utility. The next wget download, for libc6-udeb via https, fails. N.b.: I'm creating regular snapshots from the public debian mirror and put them onto my local https server, to which I point the preseed file. Cheers.
[toc] | [next] | [standalone]
| From | Cyril Brulebois <kibi@debian.org> |
|---|---|
| Date | 2025-06-07 00:40 +0200 |
| Message-ID | <KUNTb-8KvG-9@gated-at.bofh.it> |
| In reply to | #75542 |
[Multipart message — attachments visible in raw view] — view raw
Hallo Jörn,
Vielen Dank, lustiges Problem…
Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> (2025-06-07):
> installing trixie using PXE netboot no longer works for me.
>
> The installation fails with "anna[8234] busybox wget does not support
> https" right after the "Loading additional components" step.
>
> The initrd from
> https://deb.debian.org/debian/dists/trixie/main/installer-amd64/20250515/images/
> contains "busybox-udeb 1:1.37.0-4 amd64" and "wget-udeb 1.25.0-2 amd64".
>
> https://deb.debian.org/debian/dists/trixie/main/debian-installer/binary-amd64/Packages.xz
> however references the newer busybox-udeb version "1:1.37.0-5".
>
> The debian installer downloads and installs the new busybox-udeb,
> which replaces the /bin/wget utility.
Oh, I don't think I've ever thought much about possible upgrades
there… Ouch.
We've been using GNU wget for close to 10 years, and I suppose there's
absolutely no point in keeping the stripped-down wget in busybox-udeb.
https://salsa.debian.org/installer-team/debian-installer/-/commit/2f00c51a7ead982ae1cd71bee06c8416890196b6
Unless someone disagrees within the next few days, I'll probably adjust
the config in git, something along those lines I suppose (totally
untested):
diff --git a/debian/config/pkg/udeb b/debian/config/pkg/udeb
index 230dadc1d..9cfdb6e3c 100644
--- a/debian/config/pkg/udeb
+++ b/debian/config/pkg/udeb
@@ -992,7 +992,7 @@ CONFIG_FEATURE_TFTP_PUT=y
# CONFIG_TUNCTL is not set
# CONFIG_FEATURE_TUNCTL_UG is not set
CONFIG_VCONFIG=y
-CONFIG_WGET=y
+# CONFIG_WGET is not set
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
CONFIG_FEATURE_WGET_STATUSBAR=y
CONFIG_FEATURE_WGET_FTP=y
I'm not immediately seeing anything else that would “depends on WGET”
but I'm really not familiar with busybox.
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
[toc] | [prev] | [next] | [standalone]
| From | Cyril Brulebois <kibi@debian.org> |
|---|---|
| Date | 2025-06-07 22:50 +0200 |
| Subject | Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility |
| Message-ID | <KV8Eh-8XRq-1@gated-at.bofh.it> |
| In reply to | #75543 |
[Multipart message — attachments visible in raw view] — view raw
Hi,
Michael Tokarev <mjt@tls.msk.ru> (2025-06-07):
> Hm. Why it replaces /bin/wget? It shouldn't replace already existing
> files, I'd say, and this needs to be fixed.
>
> Yes, we've in d/rules:
> dh_link -pbusybox-udeb \
> $$(grep -v sbin/init $b/udeb/busybox.links | sed 's|^|/bin/busybox
> |')
>
> So, when things are installed, busybox-udeb is unpacked first, and
> this creates /bin/wget symlink. And next wget-udeb is unpacked,
> which replaces /bin/wget with real executable. Or does wget-udeb
> installs to /usr/bin/wget? Shouldn't dpkg complain if there's a
> file conflict?
Build log:
Preparing to unpack udebs/wget-udeb.udeb ...
Unpacking wget-udeb (1.25.0-2) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/bin/wget', which is also in package busybox-udeb (1:1.37.0-4)
The --force seems to be dating back 20+ years:
https://salsa.debian.org/installer-team/debian-installer/-/commit/08dac4eff81a61421fe2f4358759c81ce2cf0ca8
Since I'm only seeing the override warning for wget (multiple times), at
least on amd64, it's tempting to remove the option and see whether daily
builds stay happy?
> > Oh, I don't think I've ever thought much about possible upgrades
> > there… Ouch.
>
> Most likely, yes. And it's been this way for years. I'm not sure
> now is the right time to fix this.
Just agreeing to remove wget from busybox is fine with me.
> Yes, plus the other WGET-related stuff has to be turned off too.
>
> I prepared this change, it's trivial to remove wget applet, but I'd
> love to understand how it all worked before.
Out of curiosity, what is “other WGET-related stuff”? I'm happy for you
to clean things up, as long as we don't break other things. :)
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
[toc] | [prev] | [next] | [standalone]
| From | Michael Tokarev <mjt@tls.msk.ru> |
|---|---|
| Date | 2025-06-07 23:20 +0200 |
| Subject | Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility |
| Message-ID | <KV97j-8Yhz-1@gated-at.bofh.it> |
| In reply to | #75549 |
On 07.06.2025 23:40, Cyril Brulebois wrote: .. >> Yes, plus the other WGET-related stuff has to be turned off too. >> >> I prepared this change, it's trivial to remove wget applet, but I'd >> love to understand how it all worked before. > > Out of curiosity, what is “other WGET-related stuff”? I'm happy for you > to clean things up, as long as we don't break other things. :) I just pushed a commit to salsa. Wich removes CONFIG_WGET and 3 CONFIG_FEATURE_WGET_* options. Should I upload another busybox release, or can we wait a bit more for maybe other stuff to show up? Thanks, /mjt
[toc] | [prev] | [next] | [standalone]
| From | Cyril Brulebois <kibi@debian.org> |
|---|---|
| Date | 2025-06-07 23:30 +0200 |
| Message-ID | <KV9gZ-8Yl7-1@gated-at.bofh.it> |
| In reply to | #75550 |
[Multipart message — attachments visible in raw view] — view raw
Hi, Michael Tokarev <mjt@tls.msk.ru> (2025-06-08): > I just pushed a commit to salsa. Wich removes CONFIG_WGET and 3 > CONFIG_FEATURE_WGET_* options. Oh, OK, so definitely wget-specific I suppose. :) > Should I upload another busybox release, or can we wait a bit more > for maybe other stuff to show up? I'll leave that up to your discretion. Jörn might appreciate a quick fix but said to be working with snapshots anyway, so might possibly get away with using an older snapshot? Cheers, -- Cyril Brulebois (kibi@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-06-08 00:00 +0200 |
| Subject | Bug#1107392: marked as done (Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility) |
| Message-ID | <KV9K1-8Yvp-13@gated-at.bofh.it> |
| In reply to | #75542 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sat, 07 Jun 2025 21:49:20 +0000 with message-id <E1uO1Pk-002iQB-6V@fasolo.debian.org> and subject line Bug#1107392: fixed in busybox 1:1.37.0-6 has caused the Debian Bug report #1107392, regarding Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility 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.) -- 1107392: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107392 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Jörn Heissler <deb-install-bugs-2025@wulf.eu.org> |
|---|---|
| Date | 2025-06-08 00:20 +0200 |
| Message-ID | <KVa3n-8YW9-3@gated-at.bofh.it> |
| In reply to | #75542 |
On Sat, Jun 07, 2025 at 14:50:36 +0300, Michael Tokarev wrote: > I'd love to understand how it all worked before. Coincidence is plausible: * Not everyone does PXE installations. Maybe the netinst ISOs don't pull udebs from the repos? * Not everyone uses https. I think I've only been doing it for the last two years. * Often, bugs aren't reported. * The busybox-udeb version in the repos must be newer than in the initrd. This might more often happen in testing than in stable because updated packages are more likely to migrate into testing; the netboot/PXE images aren't regenerated very often, so there will be mismatch until they are. * Not everyone installs testing; I usually don't.
[toc] | [prev] | [next] | [standalone]
| From | Thorsten Glaser <tg@debian.org> |
|---|---|
| Date | 2025-07-03 02:10 +0200 |
| Subject | Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility |
| Message-ID | <L4fGx-ePnP-1@gated-at.bofh.it> |
| In reply to | #75557 |
On Sat, 7 Jun 2025, Jörn Heissler wrote: >* Not everyone uses https. I think I've only been doing it for the last > two years. >* Often, bugs aren't reported. I know I have run into the message about busybox wget not supporting https, though not during installation (for which I normally used an http:// mirror), but by typing something like… wget -O /dev/urandom https://example.org/random-bits.cgi … and just assumed that this was deliberate. Glad to see it’s not. This was with the netinst images, mostly, though much longer ago than oldstable. bye, //mirabilos -- „Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund, mksh auf jedem System zu installieren.“ -- XTaran auf der OpenRheinRuhr, ganz begeistert (EN: “[…]uhr.gz is a reason to install mksh on every system.”)
[toc] | [prev] | [next] | [standalone]
| From | Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> |
|---|---|
| Date | 2025-06-23 15:40 +0200 |
| Subject | Bug#1107392: Stable also affected by this issue |
| Message-ID | <L0PyV-cBat-5@gated-at.bofh.it> |
| In reply to | #75542 |
[Multipart message — attachments visible in raw view] — view raw
Hi all, I'm not sure if this is the right place to report this or if I should have created a completely new bug report. Stable is also affected by this bug. I'm downloading a post install script via https from my preseed file, and this does not longer work on stable - while it still does work on oldstable. I just tested this a few minutes ago: Jun 23 12:13:15 log-output: wget: not an http or ftp url: https://<redacted>/host/post_install.sh The wget binary from wget-udeb is also replaced by the symlink from busybox-udeb. This is probably related to the update from busybox-udeb 1:1.35.0-4+b3 amd64 to busybox-udeb 1:1.35.0-4+b4 amd64 that happened on 2025-05-12 - according to the timestamps of the shown here: https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/ It would be great if this could be fixed as well. Best regards, Roland Schwarzkopf -- Dr. Roland Schwarzkopf<rschwarzkopf@mathematik.uni-marburg.de> Dept. of Mathematics and Computer Science, IT Solutions University of Marburg, Hans-Meerwein-Str. 6, D-35032 Marburg, Germany Tel: +4964212821523, Fax: +4964212821573
[toc] | [prev] | [next] | [standalone]
| From | Cyril Brulebois <kibi@debian.org> |
|---|---|
| Date | 2025-06-23 16:00 +0200 |
| Subject | Bug#1107392: Stable also affected by this issue |
| Message-ID | <L0PSh-cBil-3@gated-at.bofh.it> |
| In reply to | #75634 |
[Multipart message — attachments visible in raw view] — view raw
Hi, Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> (2025-06-23): > I'm not sure if this is the right place to report this or if I should > have created a completely new bug report. This is the same bug, except for another version, so that can be tracked with the same report (via appropriate found/fixed metadata). > Stable is also affected by this bug. I'm downloading a post install script > via https from my preseed file, and this does not longer work on stable - > while it still does work on oldstable. I just tested this a few minutes ago: > > Jun 23 12:13:15 log-output: wget: not an http or ftp url: > https://<redacted>/host/post_install.sh > > The wget binary from wget-udeb is also replaced by the symlink from > busybox-udeb. This is probably related to the update from > > busybox-udeb 1:1.35.0-4+b3 amd64 > > to > > busybox-udeb 1:1.35.0-4+b4 amd64 > > that happened on 2025-05-12 - according to the timestamps of the shown here: > > https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/ > > It would be great if this could be fixed as well. If it were a theoretical problem, I wouldn't be too concerned about it, but seeing how busybox indeed receives rebuilds (or updates) in stable, getting the bugfix in there as well would look like a good idea to me. Maybe it can be batched together with security fixes? (See thread at https://lists.debian.org/debian-lts/2025/05/msg00044.html) Cheers, -- Cyril Brulebois (kibi@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.boot
csiph-web