Package: fdisk
Version: 2.40-8
Severity: serious

During an upgrade with aptitude 0.8.13-6, I got:

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 417244 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.40-8_amd64.deb ...
Unpacking bsdutils (1:2.40-8) over (1:2.40-6) ...
Setting up bsdutils (1:2.40-8) ...
(Reading database ... 417244 files and directories currently installed.)
Preparing to unpack .../libperl5.38t64_5.38.2-4_amd64.deb ...
Unpacking libperl5.38t64:amd64 (5.38.2-4) over (5.38.2-3.2+b2) ...
Preparing to unpack .../perl_5.38.2-4_amd64.deb ...
Unpacking perl (5.38.2-4) over (5.38.2-3.2+b2) ...
Preparing to unpack .../perl-base_5.38.2-4_amd64.deb ...
Unpacking perl-base (5.38.2-4) over (5.38.2-3.2+b2) ...
Setting up perl-base (5.38.2-4) ...
(Reading database ... 417241 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.38_5.38.2-4_all.deb ...
Unpacking perl-modules-5.38 (5.38.2-4) over (5.38.2-3.2) ...
Preparing to unpack .../1-eject_2.40-8_amd64.deb ...
Unpacking eject (2.40-8) over (2.40-6) ...
Preparing to unpack .../2-bsdextrautils_2.40-8_amd64.deb ...
Unpacking bsdextrautils (2.40-8) over (2.40-6) ...
Preparing to unpack .../3-util-linux-extra_2.40-8_amd64.deb ...
Adding 'diversion of /sbin/ctrlaltdel to /sbin/ctrlaltdel.usr-is-merged by 
util-linux-extra'
Adding 'diversion of /sbin/fsck.cramfs to /sbin/fsck.cramfs.usr-is-merged by 
util-linux-extra'
Adding 'diversion of /sbin/fsck.minix to /sbin/fsck.minix.usr-is-merged by 
util-linux-extra'
Adding 'diversion of /sbin/mkfs.bfs to /sbin/mkfs.bfs.usr-is-merged by 
util-linux-extra'
Adding 'diversion of /sbin/mkfs.cramfs to /sbin/mkfs.cramfs.usr-is-merged by 
util-linux-extra'
Adding 'diversion of /sbin/mkfs.minix to /sbin/mkfs.minix.usr-is-merged by 
util-linux-extra'
Unpacking util-linux-extra (2.40-8) over (2.40-6) ...
Preparing to unpack .../4-fdisk_2.40-8_amd64.deb ...
Unpacking fdisk (2.40-8) over (2.40-6) ...
Preparing to unpack .../5-libsmartcols1_2.40-8_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.40-8) over (2.40-6) ...
Setting up libsmartcols1:amd64 (2.40-8) ...
(Reading database ... 417253 files and directories currently installed.)
Preparing to unpack .../libblkid1_2.40-8_amd64.deb ...
Unpacking libblkid1:amd64 (2.40-8) over (2.40-6) ...
Setting up libblkid1:amd64 (2.40-8) ...
(Reading database ... 417253 files and directories currently installed.)
Preparing to unpack .../libmount1_2.40-8_amd64.deb ...
Unpacking libmount1:amd64 (2.40-8) over (2.40-6) ...
Setting up libmount1:amd64 (2.40-8) ...
(Reading database ... 417253 files and directories currently installed.)
Preparing to unpack .../mount_2.40-8_amd64.deb ...
Unpacking mount (2.40-8) over (2.40-6) ...
Preparing to unpack .../libuuid1_2.40-8_amd64.deb ...
Unpacking libuuid1:amd64 (2.40-8) over (2.40-6) ...
Setting up libuuid1:amd64 (2.40-8) ...
(Reading database ... 417253 files and directories currently installed.)
Preparing to unpack .../util-linux_2.40-8_amd64.deb ...
Unpacking util-linux (2.40-8) over (2.40-6) ...
Setting up util-linux (2.40-8) ...
fstrim.service is a disabled or a static unit not running, not starting it.
dpkg: error: dpkg frontend lock was locked by another process with pid 58569
Note: removing the lock file is always wrong, can damage the locked area
and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.
======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
E: Sub-process /usr/bin/dpkg returned an error code (2)
Setting up bsdextrautils (2.40-8) ...
dpkg: dependency problems prevent configuration of fdisk:
 fdisk depends on libfdisk1 (= 2.40-8); however:
  Version of libfdisk1:amd64 on system is 2.40-6.

dpkg: error processing package fdisk (--configure):
 dependency problems - leaving unconfigured
Setting up eject (2.40-8) ...
Setting up perl-modules-5.38 (5.38.2-4) ...
Setting up mount (2.40-8) ...
Setting up libperl5.38t64:amd64 (5.38.2-4) ...
Setting up util-linux-extra (2.40-8) ...
Setting up perl (5.38.2-4) ...
Processing triggers for libc-bin (2.37-19) ...
Processing triggers for man-db (2.12.1-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Errors were encountered while processing:
 fdisk

There seem to be 2 issues: one with the dpkg lock (which may be
bug 1069183 in aptitude) and one with fdisk.

It is not clear whether they are related. At least, bug 1069183
shouldn't be the cause of a bad ordering between package unpacking
and setup, which would rather be due to a dependency problem, as
indicated by the dpkg error message.

-- 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 fdisk depends on:
ii  libc6            2.37-19
ii  libfdisk1        2.40-6
ii  libmount1        2.40-8
ii  libncursesw6     6.4+20240414-1
ii  libreadline8t64  8.2-4
ii  libsmartcols1    2.40-8
ii  libtinfo6        6.4+20240414-1

Versions of packages fdisk recommends:
ii  sensible-utils  0.0.22

fdisk suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@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)

Reply via email to