[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moving some packages back to bookworm stable



On 27 May 2024 12:23 -0400, from mgrant@grant.org (Michael Grant):
> so I thought I'd try the same process with db5.3, but removing db5.3
> wants to remove a slew of packages:
> 
> # apt reinstall -s libdb5.3/bookworm
> ...
> Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 'libdb5.3'
> The following packages were automatically installed and are no longer required:
>   acl apache2-data apache2-utils augeas-lenses avahi-daemon clamav-base colord-data git-man gnupg-l10n gnupg-utils gpg-wks-server guile-3.0-libs ipp-usb libapr1 libaprutil1
>   libaprutil1-dbd-sqlite3 libaugeas0 libavahi-core7 libcolorhug2 libdaemon0 libexif12 libgphoto2-l10n libgphoto2-port12 libgudev-1.0-0 libgusb2 libhashkit2 libieee1284-3 libldap-common
>   liblua5.3-0 libnspr4 libnss-mdns libnss3 libopendbx1 libopendbx1-sqlite3 libopendkim11 libpoppler-glib8 libpoppler126 libpython2-stdlib libpython3.11 librbl1 librtmp1 libsane-common
>   libsnmp-base libsnmp40 libssh2-1 libvbr2 mailutils-common python2 python2-minimal python3-augeas sane-airscan update-inetd usb.ids
> Use 'apt autoremove' to remove them

"removing db5.3 wants to remove a slew of packages"

No, that's very likely not what apt is telling you. Rather, it's
telling you that the _current_ state of the system is that those
packages were automatically installed (very likely pulled in as
dependencies for other packages) and with the packages _currently_
installed, they are no longer needed as dependencies of anything.
Therefore, apt concludes that they would be safe to remove. I'd say
that that's a dubious conclusion, though; certainly blindly
uninstalling something like libnss3 or libpython* seems unlikely to be
a good idea.

You can confirm this with a bare for example: apt-get --simulate autoremove

I'd also suggest using -V/--verbose-versions/APT::Get::Show-Versions
while you're trying to sort this out, as which specific versions of
each package is involved may very well be very relevant information.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”


Reply to: