available file is completly damaged
jon
skimitar at velocitynet.com.au
Thu Jun 16 22:14:33 UTC 2005
Matthias Fechner wrote:
>Hi,
>
>i had a crash today on my notebook and the file
>/var/lib/dpkg/available and the backup file .old is completly damaged.
>
>Is there any possiblity to generate is file?
>
>
>
Try
sudo dpkg --clear-avail
and then
sudo apt-get update
if you get an error on the first command do:
sudo rm /var/lib/dpkg/available & touch /var/lib/dpkg/available &
apt-get update
I havn't tested this btw, so standard disclaimers apply...
if /var/lib/dpkg/status is stuffed I think you might have some major
issues, as apparently this can't be regenerated.
Cheers
Jon.
More information about the ubuntu-users
mailing list