[Aptitude-devel] Bug#979186: aptitude: in the TUI, "+" changes the version of some packages in an inconsistent way

Vincent Lefevre vincent at vinc17.net
Mon Jan 4 01:43:55 GMT 2021


Package: aptitude
Version: 0.8.13-2+b1
Severity: normal

After starting aptitude, I type "[" over "Upgradable Packages" and
get:

[...]
  --\ libs           Collections of software routines (9)
    --\ main           The main Debian archive (9)
i A gvfs                       1.46.1-1                 1.46.1-2                
i A gvfs-daemons               1.46.1-1                 1.46.1-2
i A gvfs-libs                  1.46.1-1                 1.46.1-2
[...]

Then I type "+" over "gvfs". I get:

[...]
  --\ libs           Collections of software routines (9)
    --\ main           The main Debian archive (9)
iBA gvfs             +1024 B   1.46.1-1                 1.46.1-2
i A gvfs-daemons               1.46.1-1                 1.46.1-1
i A gvfs-libs                  1.46.1-1                 1.46.1-1
[...]
userspace virtual filesystem - GIO module
Some dependencies of gvfs (broken, 1.46.1-1) are not satisfied:                ▒
                                                                               ▒
  * gvfs (upgrade, 1.46.1-1 -> 1.46.1-2) depends on gvfs-common (= 1.46.1-2)   ▒
    [UNAVAILABLE]                                                              ▒
  * gvfs (upgrade, 1.46.1-1 -> 1.46.1-2) depends on gvfs-daemons (>= 1.46.1-2) ▒
  * gvfs (upgrade, 1.46.1-1 -> 1.46.1-2) depends on gvfs-libs (= 1.46.1-2)     ▒

Notice that the versions of gvfs-daemons and gvfs-libs in the last
column have changed from 1.46.1-2 to 1.46.1-1!

Then when I type Ctrl-u to undo the last action, I get:

[...]
  --\ libs           Collections of software routines (9)
    --\ main           The main Debian archive (9)
i A gvfs                       1.46.1-1                 1.46.1-2                
i A gvfs-daemons               1.46.1-1                 1.46.1-1
i A gvfs-libs                  1.46.1-1                 1.46.1-1
[...]

The versions are still the changed ones.

With apt:

zira:~> apt install -s gvfs
[...]
The following packages have unmet dependencies:
 gvfs : Depends: gvfs-common (= 1.46.1-2) but 1.46.1-1 is to be installed
        Depends: gvfs-daemons (>= 1.46.1-2) but 1.46.1-1 is to be installed
        Depends: gvfs-libs (= 1.46.1-2) but 1.46.1-1 is to be installed
E: Unable to correct problems, you have held broken packages.

zira:~> apt-show-versions -a gvfs-common
gvfs-common:all 1.46.1-1 install ok installed
gvfs-common:all 1.38.1-5 stable  ftp.fr.debian.org
No stable-updates version
gvfs-common:all 1.46.1-1 testing ftp.fr.debian.org
No unstable version
No experimental version
gvfs-common:all/testing 1.46.1-1 uptodate
zira:~> apt-show-versions -a gvfs-daemons
gvfs-daemons:amd64 1.46.1-1 install ok installed
gvfs-daemons:amd64 1.38.1-5 stable   ftp.fr.debian.org
No stable-updates version
gvfs-daemons:amd64 1.46.1-1 testing  ftp.fr.debian.org
gvfs-daemons:amd64 1.46.1-2 unstable ftp.fr.debian.org
No experimental version
gvfs-daemons:amd64/testing 1.46.1-1 upgradeable to 1.46.1-2
zira:~> apt-show-versions -a gvfs-libs
gvfs-libs:amd64 1.46.1-1 install ok installed
gvfs-libs:amd64 1.38.1-5 stable   ftp.fr.debian.org
No stable-updates version
gvfs-libs:amd64 1.46.1-1 testing  ftp.fr.debian.org
gvfs-libs:amd64 1.46.1-2 unstable ftp.fr.debian.org
No experimental version
gvfs-libs:amd64/testing 1.46.1-1 upgradeable to 1.46.1-2

So the upgrade cannot be done due to gvfs-common, but this doesn't
explain the strange behavior in the interface.

I've attached the pkgstates file, in case it is needed.

-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 10.2.1 20201207
Compiled against:
  apt version 6.0.0
  NCurses version 6.2
  libsigc++ version: 2.10.4
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.2.20201114
  cwidget version: 0.5.18
  Apt version: 6.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007fffe7163000)
	libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f5aea911000)
	libapt-pkg.so.6.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f5aea72b000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f5aea6f0000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f5aea6c1000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f5aea6b8000)
	libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f5aea5b2000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f5aea46d000)
	libboost_iostreams.so.1.74.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 (0x00007f5aea454000)
	libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f5aea232000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5aea210000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5aea043000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5ae9eff000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5ae9ee3000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5ae9d1e000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5ae9d18000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f5ae9cfe000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5ae9ce1000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f5ae9cce000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f5ae9ca4000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f5ae9c81000)
	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f5ae9ba6000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f5ae9b7e000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f5ae9ac9000)
	libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f5ae99a9000)
	libxxhash.so.0 => /usr/lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f5ae999b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5aead59000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5ae9990000)
	libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5ae9987000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f5ae9961000)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-2
ii  libapt-pkg6.0             2.1.15
ii  libboost-iostreams1.74.0  1.74.0-6
ii  libc6                     2.31-7
ii  libcwidget4               0.5.18-5
ii  libgcc-s1                 10.2.1-3
ii  libncursesw6              6.2+20201114-2
ii  libsigc++-2.0-0v5         2.10.4-2
ii  libsqlite3-0              3.34.0-1
ii  libstdc++6                10.2.1-3
ii  libtinfo6                 6.2+20201114-2
ii  libxapian30               1.4.17-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.20.5
ii  sensible-utils  0.0.12+nmu1

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.51
ii  aptitude-doc-en [aptitude-doc]  0.8.13-2
pn  debtags                         <none>
ii  tasksel                         3.62

-- no debconf information

-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgstates.xz
Type: application/octet-stream
Size: 644832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20210104/188d3523/attachment-0001.obj>


More information about the Aptitude-devel mailing list