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

 

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

- --
Neil Stone

Systems Administrator
FlashTek UK

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
e h--- r+++ y++++(**)
- -----END GEEK CODE BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsYh+z3Av8JKgzxQRApbyAJwM8vzAxiEpm2Sx4/mfAsAPFixp4ACeIxWq
MlouGfWr3O9rEzPvkiykS1A=
=i4I+
-----END PGP 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