apt or fs corrupt?
Hello List
I have a problem with apt that I can't resolve. I'm not sure if apt is
corrupt or there is a conflict with packages, there is also something
funny going on with /usr/lib/krb5. Basically I can't install anything
via apt. The issue started after I tried to install bind9.
Trying to fix the issue:
root@myhost:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libkrb5-3
The following packages will be upgraded:
libkrb5-3
1 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
34 not fully installed or removed.
Need to get 0 B/374 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 38165 files and directories currently installed.)
Preparing to replace libkrb5-3 1.8.3+dfsg-4squeeze6 (using
.../libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb) ...
Unpacking replacement libkrb5-3 ...
dpkg: error processing
/var/cache/apt/archives/libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
(--unpack):
unable to install new version of `./usr/lib/krb5': No such file or
directory
configured to not write apport reports
Errors were encountered while
processing:
/var/cache/apt/archives/libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@myhost:~# dpkg -i libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
dpkg: error processing libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
(--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
root@myhost:~# dpkg -i
/var/cache/apt/archives/libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
(Reading database ... 38165 files and directories currently installed.)
Preparing to replace libkrb5-3 1.8.3+dfsg-4squeeze6 (using
.../libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb) ...
Unpacking replacement libkrb5-3 ...
dpkg: error processing
/var/cache/apt/archives/libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
(--install):
unable to install new version of `./usr/lib/krb5': No such file or
directory
Errors were encountered while processing:
/var/cache/apt/archives/libkrb5-3_1.8.3+dfsg-4squeeze7_amd64.deb
Checking /usr/lib/krb5
root@myhost:~# ls -alhtr /usr/lib/krb5
ls: cannot access /usr/lib/krb5: No such file or directory
ls -alhtr /usr/lib/ | less
d????????? ? ? ? ? ? krb5
/var/log/dpkg.log:
startup archives unpack
upgrade libkrb5-3 1.8.3+dfsg-4squeeze6 1.8.3+dfsg-4squeeze7
status half-configured libkrb5-3 1.8.3+dfsg-4squeeze6
status unpacked libkrb5-3 1.8.3+dfsg-4squeeze6
status half-installed libkrb5-3 1.8.3+dfsg-4squeeze6
status unpacked libkrb5-3 1.8.3+dfsg-4squeeze6
status installed libkrb5-3 1.8.3+dfsg-4squeeze6
Has anyone seen this sort of error before? Or can point me in the right
direction to resolve this.
Thanks.
Reply to: