| apt-get / aptitude `/usr/lib/libcups.so.2': No such file or directory I have a debian server running nice & smooth, but since a few weeks I get error messages every now and then while doing upgrades from aptitude. They seem to be caused by /usr/lib/libcups.so.2 not existing, but if I check for it, it seems to be found but not be there... (weird, I know... but notice the wildcard)
[root@server: /]# ls /usr/lib/libcups*
/bin/ls: /usr/lib/libcups.so.2: No such file or directory
I have tried to remove it, which gives no errors, but after rm -fr /usr/lib/libcups.so.2, an ls still gives the same result.
If I try to reinstall the libcupsys this throws multiple errors:
apt-get --reinstall install libcupsys2-gnutls10
[ ... ]
dpkg: error processing /var/cache/apt/archives/libcupsys2_1.2.7-4etch3_i386.deb (--unpack):
unable to install new version of `./usr/share/doc/libcupsys2/README.txt.gz': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libcupsys2-gnutls10 (from .../libcupsys2-gnutls10_1.2.7-4etch3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libcupsys2-gnutls10_1.2.7-4etch3_all.deb (--unpack):
unable to install new version of `./usr/share/doc/libcupsys2-gnutls10/changelog.gz': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libcupsys2_1.2.7-4etch3_i386.deb
/var/cache/apt/archives/libcupsys2-gnutls10_1.2.7-4etch3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Would anyone know how to fix this? |