[Toybox] which packages toybox replaces

Rob Landley rob at landley.net
Sun Feb 9 01:12:22 PST 2020

In https://github.com/landley/toybox/issues/168#issuecomment-583725500 firasuke
raised the issue of distros wanting to add "alternatives" annotations to their
toybox package, to say which other packages it replaces (or at least conflicts

I gave him a dpkg-query loop that shows what packages debian commands were
installed from, but it might also be useful to go through Linux From Scratch and
check their "what packages each package installs" lists to see how that might
apply to toybox?

I started going through the first few packages from chapter 6 of
(the square brackets mean not yet implemented but probably should):

file: file
m4: [m4]
bc: bc [dc]
binutils: [ar] [nm] [readelf] [size] strings (most other commands belong in qcc)
shadow: [chfn] [chpasswd] [chsh] [groupadd] [groupdel] [groupmod] [login]

Except with shadow we're _not_ doing chage, expiry, faillog, or lastlog, but an
argument could be made for all of those. Less so for logind, grpck... We're not
doing grpconv or grpunconv, and I don't see any argument EVER being made for
chgpasswd or groupmems (did you know group passwords were a thing?)

Ahem. This turns out to be nontrivial analysis. :P


More information about the Toybox mailing list