On Tue, 28 May 2024, Michael Grant wrote:

> On Mon, May 27, 2024 at 12:59:34PM -0500, David Wright wrote:
>> So what did it say after that?
>
> Sorry, here's the entire output of one of the tries:
>
> [bottom /etc/mail #1168] apt install libdb5.3/bookworm db5.3-util/bookworm 
> db-util/bookworm
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 'libdb5.3'
> Selected version '5.3.28+dfsg2-1' (Debian:12.5/stable [amd64]) for 
> 'db5.3-util'
> Selected version '5.3.2' (Debian:12.5/stable [all]) for 'db-util'
> 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.
> The following additional packages will be installed:
>  php8.2-fpm
> Suggested packages:
>  php-pear
> The following packages will be REMOVED:
>  apache2 apache2-bin clamav clamav-daemon clamav-freshclam clamav-milter 
> clamav-unofficial-sigs clamdscan colord curl dirmngr git gnupg gnupg2 
> gpg-wks-client libapache2-mod-php8.2
>  libapache2-mod-ruid2 libaprutil1-ldap libclamav11 libcurl3-gnutls libcurl4 
> libdb5.3t64 libgphoto2-6 libldap-2.5-0 libmailutils9 libmemcached11 libpq5 
> libsane1 libsasl2-2
>  libsasl2-modules-db mailutils mongo-tools opendkim opendkim-tools python-apt 
> python3-certbot-apache python3-debianbts python3-pycurl python3-pysimplesoap 
> python3-reportbug reportbug
>  sane-utils sasl2-bin sendmail sendmail-bin sensible-mda
> The following NEW packages will be installed:
>  libdb5.3 php8.2-fpm
> The following packages will be DOWNGRADED:
>  db-util db5.3-util
> 0 upgraded, 2 newly installed, 2 downgraded, 46 to remove and 0 not upgraded.
> Need to get 1,743 kB/2,507 kB of archives.
> After this operation, 234 MB disk space will be freed.
> Do you want to continue? [Y/n] n
> Abort.
>
>>> Is there some way to get apt to reinstall a package such that it does
>>> not think it has to uninstall things which depend on it because it's
>>> being immediatly reinstalled?
>>
>> That is the idea behind reinstall, though downgrading is always
>> a test of its ability to succeed.
>
> What it says it's going to do is actually remove those 46 packages and
> not reinstall them.  I believe it!  Clearly apt is unwinding the
> dependencies.  It seems like it's not taking into account the
> downgraded libdb5.3 is a valid dependency for all the things it's
> about to uninstall so it doesn't need to uninstall those things.  I
> thought it should do that, but for some reason, it's not doing that
> for me.
>
>

i ran into exactly this same situation
apt and apt-get wanted to remove a passel of packages
i tried aptitude and it removed only the package i wanted
the system still works fine
just my experience

Reply via email to