• Re: Bug#1107392: Trixie netboot installation fails / busybox-udeb upgra

    From Cyril Brulebois@21:1/5 to All on Sat Jun 7 22:50:01 2025
    Hi,

    Michael Tokarev <[email protected]> (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 ([email protected]) <https://debamax.com/>
    D-I release manager -- Release team member -- Freelance Consultant

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmhEo80ACgkQ/5FK8MKz VSA9Hw/7B93m+Zc2zGCui9BsWfz1M4Tvd9hR5R/B87/YHEaaWOUCLt/uNJFaZXZ2 dlH4p67bkZCbnnMaX8oklLMPdpHtEt/XNPH0rXGmaJ4w81DI9lcjMatThm5cVXJz 62w68YwilUfNqrMSJs4lK+EhP5EtmgMJcVLhj8PuIN25Qmu4Q+iJXM4Krmp19ztv 6dWfTvbqCuVcHAqQZ/MvCIpmdTe45ZIanCrjy2IGOz3MmCQbrGki7tjYfq11wy6m m2OQfRu6m4cjYzsx5C0j+cONML7Ab2vslWt+TTy+K/qRIp2lXpmHVriFnRyBFVFn MHueqsVCrGWaXEyQHXEjMHAJNjtQMJeTYSl+yL4vs2FY0FXN5PIUnQR1OK20k2Tf bCEtSk/xWjhZRE5EQhDKVDBSAZSE71GwHgthzbD+fNfBxYvQW8wyc0qX479zxegr 8HN25Yb9y2/w30jqt/kywWOP1AcrzyPym7bA6zCSuAcep76nuYZ2P+Ma/ynnz6eV 5RjolOL4ES0X15/BThASV0AafqEShasF36DXn1wZxt3l/XxNxz8dtrVChn9YxMmk tbpF0OoFmylh+0Idn6sTdwrgA/FnUGs1Zj9non0SIfxz5EOpHbvWl+egM16VCyi0 +aT0m+D0nKI3FJvdGwdc6MOMNEMfPVSzZOH+4/kxhaH57NoI4xE=
    =CWsc
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    *
  • From Michael Tokarev@21:1/5 to Cyril Brulebois on Sat Jun 7 23:20:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Thu Jul 3 02:10:01 2025
    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.”)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)