[Aptitude-devel] Bug#1065605: aptitude: useless backup of pkgstates

Vincent Lefevre vincent at vinc17.net
Thu Mar 7 11:17:09 GMT 2024


Package: aptitude
Version: 0.8.13-5+b2
Severity: minor

I ran aptitude to do an upgrade from the TUI (dpkg failed), then
quit just after it. This was before 11:28, since I reported this
failure at this time.

But /var/lib/aptitude contains

-rw-r--r-- 1 root root 10438852 2024-03-07 11:29:40 pkgstates
-rw-r--r-- 1 root root 10438852 2024-03-07 11:29:39 pkgstates.old

and these files have the same contents, which is useless.

I don't see what could have modified pkgstates... or perhaps from
the journalctl output:

Mar 07 11:22:25 qaa systemd[1]: Started packagekit.service - PackageKit Daemon.
[...]
Mar 07 11:30:11 qaa systemd[1]: packagekit.service: Deactivated successfully.

I could see nothing else.

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

aptitude version information:
aptitude 0.8.13
Compiler: g++ 13.2.0
Compiled against:
  apt version 6.0.0
  NCurses version 6.4
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

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

aptitude linkage:
	linux-vdso.so.1 (0x00007fff813f9000)
	libgtk3-nocsd.so.0 => /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f8fcf2bd000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f8fcea00000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f8fcf283000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f8fcf24e000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f8fcf245000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f8fcecfc000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f8fce88a000)
	libboost_iostreams.so.1.83.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 (0x00007f8fcece2000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f8fce600000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8fce200000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8fce521000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8fcecb3000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8fce01e000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8fcecae000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8fceca9000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8fcec8a000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f8fcec77000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f8fce4e4000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f8fcec4f000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f8fcdf5d000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f8fce857000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f8fcde7b000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f8fcdd33000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f8fcec3a000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8fcf2e5000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f8fce4da000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f8fce4ce000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f8fce4a5000)

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

Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-5
ii  libapt-pkg6.0t64          2.7.13+b1
ii  libboost-iostreams1.83.0  1.83.0-2.1
ii  libc6                     2.37-15.1
ii  libcwidget4               0.5.18-6+b1
ii  libgcc-s1                 14-20240303-1
ii  libncursesw6              6.4+20240113-1
ii  libsigc++-2.0-0v5         2.12.1-1
ii  libsqlite3-0              3.45.1-1
ii  libstdc++6                14-20240303-1
ii  libtinfo6                 6.4+20240113-1
ii  libxapian30               1.4.22-1+b1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.5
ii  sensible-utils  0.0.22

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.55
ii  aptitude-doc-en [aptitude-doc]  0.8.13-5
pn  debtags                         <none>
ii  tasksel                         3.75

-- 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)



More information about the Aptitude-devel mailing list