[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apt-get problems when my PC freeze



My pc freezes when I were doing a dist upgrade and I restarted in the hard
way. Now the apt-get doesn't work. This is the error:

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)

Of course I just tried to delete de dir.lock file but nothing happen.
Suggestions?



Reply to: