Mike Leone on 14 Feb 2005 18:22:01 -0000 |
Stephen Gran (steve@lobefin.net) had this to say on 02/14/05 at 13:16: > On Mon, Feb 14, 2005 at 01:10:05PM -0500, Mike Leone said: > > So I'm thinking that this file is corrupt. Can I just delete it; re-run > > "aptitude update" (I prefer aptitude to apt-get); let it rebuild the file; > > and then I can go on and install my sa update? I can't run a dpkg -l, or > > anything. > > It is corrupted. > > cp /var/lib/dpkg/available-old /var/lib/dpkg/available should fix it. I > guess double check the -old first, but the idea is to give you a back > up. Re run an update to refresh and you should be in business. Almost. I did copy the -old over the current one, and re-ran an update. Now it says ... root@handyman:/var/lib/dpkg# dpkg -l spamassassin dpkg-query: parse error, in file /var/lib/dpkg/available' near line 227113 package oshell': epends' field, syntax error after reference to package ibs' What next? ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|