Carlos Konstanski on 14 Feb 2005 18:29:12 -0000 |
Copy one off a knoppix CD maybe? Hopefully you didn't delete your original one. You could maybe find someone with a working available file and copy-and-paste the offending entry over your broken one. On Mon, 14 Feb 2005, Mike Leone wrote: > Date: Mon, 14 Feb 2005 13:20:43 -0500 > From: Mike Leone <turgon@mike-leone.com> > To: PLUG ML <plug@lists.phillylinux.org> > Subject: Re: [PLUG] Error in installing spamassasiin, debian testing > > 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 > ___________________________________________________________________________ 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
|
|