Package: libccid Version: 1.5.0-1 Severity: important Hello,
I currently encounter: uwe@taurus:~$ sudo apt install Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 626 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up libccid (1.5.0-1) ... Failed to restart pcscd.service: Unit pcscd.socket is masked. invoke-rc.d: initscript pcscd, action "restart" failed. ○ pcscd.service - PC/SC Smart Card Daemon Loaded: loaded (/usr/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled) Active: inactive (dead) Docs: man:pcscd(8) dpkg: error processing package libccid (--configure): installed libccid package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: libccid E: Sub-process /usr/bin/dpkg returned an error code (1) This is similar to #1001155, but a bit more hairy to fix, because libccid restarts a service that isn't "owned" by the package. I think the fix is to not restart pcscd when libccid is updated. Other libs also don't care for their consumers and it's a well-known (to me at least) duty to check for binaries using old versions of an updated lib after a package update. (Side note: libccid doesn't even transitively depend on pcscd, so I can even make libccid's postinst fail with: invoke-rc.d: unknown initscript, /etc/init.d/pcscd not found. .) Best regards Uwe -- System Information: Debian Release: bookworm/sid APT prefers testing-debug APT policy: (700, 'testing-debug'), (700, 'stable-security'), (700, 'stable-debug'), (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'oldoldstable'), (500, 'oldstable'), (499, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf, arm64 Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 libccid depends on: ii libc6 2.33-5 ii libusb-1.0-0 2:1.0.24-3 libccid recommends no packages. Versions of packages libccid suggests: pn pcmciautils <none> -- no debconf information