Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.boot > #75549

Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility

From Cyril Brulebois <kibi@debian.org>
Newsgroups linux.debian.maint.boot
Subject Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgrade replaces wget utility
Date 2025-06-07 22:50 +0200
Message-ID <KV8Eh-8XRq-1@gated-at.bofh.it> (permalink)
References <KUNzP-8KlN-1@gated-at.bofh.it> <KUNzP-8KlN-1@gated-at.bofh.it> <KUNTb-8KvG-9@gated-at.bofh.it> <KV8Eh-8XRq-3@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


[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

Back to linux.debian.maint.boot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web