Quote:
Originally posted by nagromo
Earlier today I upgraded a bunch of packages and now I get an error whenever I try to use apt-*. If I try to install or remove anything I get this error:
Setting up libpam-runtime (0.76-18) ...
dpkg: error processing libpam-runtime (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libpam-runtime
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried apt-get install libpam-runtime and it gave that error. I tried apt-get remove libpam-runtime and it says several vital parts of my system depend on it. I don't care if I end up with the new or old version. My system seems to still be working well except for aptitude. How can I get around this...?
|
Bug it looks like you have to edit the file /var/lib/dpkg/info/libpam-runtime.postinst at line 19 and change it to match the example in the third post in the bug report then run the dpkg --configure command suggested in the first. BTW I found this the same way you could have by going to
http://bugs.debian.org and searching on the package name.