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...

 

Neil Stone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Neil Williams wrote:
>   
>> 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.
>>
>>
>>     
>
> damn you, i was about to suggest similar... *shakes fist etc*
>
> Hope it works...
>   
Cheers.  I'll let you know just as soon as I get a usable system (the 
computer I'm writing this on is soon to be returned to College... 
leaving me with no machine that's currently usable as a 
desktop/workstation).

Grant.

-- 
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