Package: dpkg
Version: 1.21.1
Severity: important

Dear Maintainer,

On my system, /var/lib/dpkg is an dedicated file system mounted there, so there
is an directory /var/lib/dpkg/lost+found, and fixup_misplaced_alternatives()
within dpkg.postinst will try to "fix" it up, causing upgrade from dpkg 1.16.1
failed.

Currently I walk this problem around by adding "lost+found" to the "known file list" in fixup_misplaced_alternatives(), but this function should only work on
files, not directories, so we had better add some check to see whether this
assumed target is a file, in the first place.



-- Package-specific info:

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (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 dpkg depends on:
ii libbz2-1.0 1.0.8-5
ii libc6 2.32-5
ii liblzma5 5.2.5-2
ii libselinux1 3.3-1+b1
ii tar 1.34+dfsg-1
ii zlib1g 1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii apt 2.3.13
ii debsig-verify 0.25

-- debconf-show failed

Reply via email to