Le 11/05/13 01:26, Holger Burkhardt a écrit :
Package: pcscd
Version: 1.8.4-1
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
Hello,
* What led up to the situation?
Upgrade squeeze -> wheezy failed due to the postinstall-script exiting with
error code 1. Exact error code was:
"dpkg: Fehler beim Bearbeiten von pcscd (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1
zurück"
A debug session on irc showed the following problems of the post-install-
scirpt:
a) The pcscd-group was already existing on my computer due to the previous
install. However, it was not a system group at that time. Making the output of
the postinstall-script more verbose, one could see that the script breaks at
that point: ("addgroup: Die Gruppe »pcscd« existiert bereits und ist keine
Systemgruppe. Programmende.").
-> Proposed patch from the IRC-experts: Replace the line
"addgroup --system pcscd --quiet"
by
"if ! getent group pcscd > /dev/null 2>&1 ; then addgroup --system pcscd
--quiet; fi"
The use of the pcscd group was added with pcsc-lite 1.6.0 and removed with
pcsc-lite 1.8.0.
Debian old-stable (squeeze) provided pcsc-lite 1.5.5-4
Debian stable (wheezy) provides pcsc-lite 1.8.4-1
You had a problem with the upgrade because you created the pcscd group
yourself. I guess you installed some pcsc-lite version by hand. Exact?
I upgrade pcscd from old-stable to stable without problem here:
[...]
Preparing to replace pcscd 1.5.5-4 (using .../pcscd_1.8.4-1_i386.deb) ...
Unpacking replacement pcscd ...
[...]
Setting up pcscd (1.8.4-1) ...
Installing new version of config file /etc/init.d/pcscd ...
[...]
I already removed the use of addgroup in pcsc-lite 1.8.8-1 (I should have done that for
version 1.8.0-1 but "forgot").
b) the follwoing line seems also to be problematic and the following
replacement was proposed:
Instead of
[ -x /bin/systemctl ] && [ -d /sys/fs/cgroup/systemd ] && systemctl enable
pcscd.socket
rather
if [ -x /bin/systemctl -a -d /sys/fs/cgroup/systemd ]; then systemctl enable
pcscd.socket; fi
Can you explain what the problem is with the previous version?
Thanks
--
Dr. Ludovic Rousseau
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org