[Aptitude-devel] Bug#1064969: apt: can't upgrade with aptitude
Vincent Lefevre
vincent at vinc17.net
Thu Feb 29 11:45:20 GMT 2024
On 2024-02-29 14:11:41 +0900, Simon Richter wrote:
> Hi,
>
> On 2/28/24 23:49, Vincent Lefevre wrote:
>
> > # aptitude install apt
> > The following packages will be upgraded:
> > apt{b} apt-doc
> > 2 packages upgraded, 0 newly installed, 0 to remove and 180 not upgraded.
> > Need to get 1622 kB of archives. After unpacking 0 B will be used.
> > The following packages have unmet dependencies:
> > apt : Depends: libapt-pkg6.0t64 (>= 2.7.12+nmu1) but it is not going to be installed
> > apt-utils : Depends: apt (= 2.7.12) but 2.7.12+nmu1 is to be installed
> > The following actions will resolve these dependencies:
> >
> > Keep the following packages at their current version:
> > 1) apt [2.7.12 (now, testing)]
>
> That is a valid possible resolution. Presumably, if you reject this
> resolution, it will instead propose to upgrade apt-utils, install
> libapt-pkg6.0t64 and remove libapt-pkg6.0.
>
> Since that is a larger change, the conservative proposal comes first.
>
> apt-utils has a versioned dependency on apt, which means upgrading
> apt alone (which you requested)
No, this requests to upgrade *all* packages of the same source
(well, at least in the TUI, which I normally use, but there is
the same issue in the TUI).
> breaks another "unrelated" package. There has been some debate that
> resolvers should favour upgrading all binaries that are built from
> the same source together, but that has not been implemented yet, and
> it is unclear if that would have changed anything here.
See above, but in any case...
> > So, I suppose that this is also the case for aptitude: if aptitude
> > cannot upgrade just because of a rename, then this is a problem in
> > the involved packages.
>
> Note that you haven't requested an "upgrade" (which would likely have
> worked, because it would have switched both apt and apt-utils to the new
> version, and the remaining involved packages were automatically installed as
> dependencies of the packages being upgraded).
This doesn't work with an upgrade either:
qaa:~> aptitude upgrade -s
Resolving dependencies...
The following NEW packages will be installed:
libatrildocument3t64{a} libatrilview3t64{a} libboost-chrono1.83.0t64{a}
libcupsfilters1t64{a} libevdocument3-4t64{a} libevemu3t64{a}
libevview3-3t64{a} libfontembed1t64{a} libgxps2t64{a}
libtss2-mu-4.0.1-0t64{a}
The following packages will be REMOVED:
libatrildocument3{u} libatrilview3{u} libboost-chrono1.83.0{u}
libcupsfilters1{u} libevdocument3-4{u} libevemu3{u} libevview3-3{u}
libfontembed1{u} libgxps2{u} libtss2-mu0{u}
The following packages will be upgraded:
apt-doc at-spi2-common atril atril-common cups-browsed cups-filters
cups-filters-core-drivers evemu-tools evince evince-common
evolution-data-server-common gir1.2-pango-1.0 glib-networking
glib-networking-common glib-networking-services glibc-doc-reference
gnome-calendar gnome-remote-desktop gnome-settings-daemon
gnome-settings-daemon-common gnome-text-editor libboost-atomic1.83-dev
libboost-atomic1.83.0 libboost-chrono1.83-dev libboost-date-time1.83-dev
libboost-date-time1.83.0 libboost-filesystem1.83-dev
libboost-filesystem1.83.0 libboost-iostreams1.83.0 libboost-locale1.83.0
libboost-program-options1.83-dev libboost-program-options1.83.0
libboost-regex1.83-dev libboost-regex1.83.0
libboost-serialization1.83-dev libboost-serialization1.83.0
libboost-system1.83-dev libboost-system1.83.0 libboost-thread1.83-dev
libboost-thread1.83.0 libboost1.83-dev libglib2.0-data liblzma-dev
liblzma5 libnss-myhostname libnss-systemd libpam-runtime libpam-systemd
libpango-1.0-0 libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0
libpangoxft-1.0-0 libsystemd-shared libsystemd0 libtss2-esys-3.0.2-0
libtss2-rc0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0
libtss2-tcti-libtpms0 libtss2-tcti-mssim0 libtss2-tcti-spi-helper0
libtss2-tcti-swtpm0 libtss2-tctildr0 libudev1 pango1.0-tools sa-compile
spamassassin spamc spamd systemd systemd-dev systemd-sysv
systemd-timesyncd udev xz-utils
The following packages are RECOMMENDED but will NOT be installed:
evolution-data-server
77 packages upgraded, 10 newly installed, 10 to remove and 22 not upgraded.
Need to get 37.2 MB/43.6 MB of archives. After unpacking 728 kB will be used.
apt-doc is proposed for upgrade, but not apt.
What's strange is that it appears to work for some packages, e.g.
libatrildocument3 replaced by libatrildocument3t64, but not for
other ones (e.g. libapt-pkg6.0 replaced by libapt-pkg6.0t64).
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Aptitude-devel
mailing list