Package: softhsm
Severity: critical
Justification: breaks unrelated software

After installation of softshm and purging again, dpkg fails to work,
spitting out the following:

Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 syntax error: unknown group 'softhsm' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install.  Trying to recover:
Press return to continue.


Looking around I found this:

root@auryn:~# grep soft /var/lib/dpkg/statoverride
root softhsm 2770 /var/lib/softhsm
root softhsm 750 /etc/softhsm
root softhsm 640 /etc/softhsm/softhsm.conf


...and (since the package is purged) this:

root@auryn:~# ls /var/lib/softhsm /etc/softhsm
ls: cannot access /var/lib/softhsm: No such file or directory
ls: cannot access /etc/softhsm: No such file or directory


Trying to fix through tools failed:

root@auryn:~# dpkg-statoverride --remove --force /var/lib/softhsm /etc/softhsm
dpkg-statoverride: unrecoverable fatal error, aborting:
 syntax error: unknown group 'softhsm' in statoverride file


...but simply removing the lines from /var/lib/dpkg/statoverride worked.


 - Jonas


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.utf8, LC_CTYPE=da_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages softhsm depends on:
pn  libbotan-1.8.2                <none>     (no description available)
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.5.2-7  GCC support library
ii  libsqlite3-0                  3.7.5-1    SQLite 3 shared library
ii  libstdc++6                    4.5.2-7    The GNU Standard C++ Library v3
pn  softhsm-common                <none>     (no description available)

softhsm recommends no packages.

softhsm suggests no packages.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to