by declanmartin on Tue Dec 21, 2010 2:47 pm
I really cannot do it.
sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt
Suggested packages:
apt-doc
The following packages will be upgraded:
apt
1 upgraded, 0 newly installed, 0 to remove and 465 not upgraded.
7 not fully installed or removed.
Need to get 0B/2,141kB of archives.
After this operation, 758kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
apt
Authentication warning overridden.
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 28, in <module>
import apt_pkg
ImportError: libapt-pkg.so.4.10: cannot open shared object file: No such file or directory
apt-extracttemplates: error while loading shared libraries: libapt-pkg.so.4.10: cannot open shared object file: No such file or directory
debconf: apt-extracttemplates failed: Bad file descriptor
Setting up debian-archive-keyring (2010.08.28) ...
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: failed to create temporary file `/etc/apt/.#lk0x95c6870.x300/x340/x350/x400series-laptop.2163': No such file or directory
gpg: can't allocate lock for `/etc/apt/trusted.gpg'
gpg: failed to create temporary file `/etc/apt/.#lk0x95c6870.x300/x340/x350/x400series-laptop.2163': No such file or directory
gpg: can't allocate lock for `/etc/apt/secring.gpg'
gpg: error writing keyring `/etc/apt/trusted.gpg': general error
gpg: key B98321F9: public key "[User ID not found]" imported
gpg: error reading `[stdin]': general error
gpg: import from `[stdin]' failed: general error
gpg: Total number processed: 3
gpg: imported: 1 (RSA: 1)
gpg: unchanged: 3
dpkg: error processing debian-archive-keyring (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
debian-archive-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)