Apt-get error with package diff
Hello:
my pc frezze in a middle of a dist-upgrade so i must to restart. Now the
apt-get doesn't work anymore... this is the message:
# apt-get install diff
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
diff
1 upgraded, 0 newly installed, 0 to remove and 136 not upgraded.
1 not fully installed or removed.
Need to get 0B/243kB of archives.
After unpacking 0B of additional disk space will be used.
(Reading database ... 106117 files and directories currently installed.)
Preparing to replace diff 2.8.1-4 (using
.../archives/diff_2.8.1-5_i386.deb) ...
install-info(/usr/share/info/diff.info): failed to lock dir for editing!
File exists
try deleting /usr/share/info/dir.lock ?
This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
install-info(/usr/share/info/diff.info): failed to lock dir for editing!
File exists
try deleting /usr/share/info/dir.lock ?
This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
dpkg: error processing /var/cache/apt/archives/diff_2.8.1-5_i386.deb
(--unpack):
subprocess new pre-removal script returned error exit status 9
install-info(/usr/share/info/diff.info): failed to lock dir for editing!
File exists
try deleting /usr/share/info/dir.lock ?
This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
/var/cache/apt/archives/diff_2.8.1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to delete dir.lock, but when I re-run apt-get the same error
apear....
Anybody know what can I do?
Pablo
Reply to: