D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Corrupt files causing havoc with apt/dpkg...

 

Grant Sewell wrote:
> Hi all,
> 
> If the files in /var/lib/dpkg have become corrupt, is there any way to 
> fix them so an "apt-get"ting works nicely again - I lost power midway 
> through an upgrade yesterday and now (at least) /var/lib/dpkg/available 
> has become somewhat corrupt.
>

# mv /var/lib/dpkg/available ~/available-old
# apt-get  --fix-broken --fix-missing  update

If that fails, try the debian-user mailing list but it is high volume.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html