Re: apt segmentation error
On Friday 12 July 2002 8:22 pm, VETSEL Patrice wrote:
> Sorry for my english ;)
>
> When i do :
> apt-cache search gcc
> Erreur de segmentation (segmentation fault)
>
> And if i do this :
> apt-get update
> Hit http://non-us.debian.org unstable/non-US/main Packages
> Hit http://non-us.debian.org unstable/non-US/main Release
> ...
> Hit http://non-us.debian.org unstable/non-US/non-free Sources
> Hit http://non-us.debian.org unstable/non-US/non-free Release
> Hit http://linux.cict.fr unstable/contrib Sources
> Hit http://linux.cict.fr unstable/contrib Release
> Reading Package Lists... Error!
> E: Unable to parse package file /var/lib/dpkg/status (1)
> E: The package lists or status file could not be parsed or opened.
Do you know what package(s) you last installed? I just had the same parse
error after installing phpnuke, with apt-get then not wanting to do
anything. dpkg continued to work without problems. As a test, I removed
the section relating to phpnuke from /var/lib/dpkg/status (803 lines!)
and apt-get is happy again.
> I'v tried to switch /var/lib/dpkg/status with /var/lib/dpkg/status.old
> but same error.
>
> I believe that i must rebuild my database of installed packages but how
> ?
Although I didn't need that this time, I'd also like to know if this is
possible. I couldn't find an option in apt-get or dpkg that would do this.
Regards, Martin
--
martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ /
Source free test environment tools and others (file/spool/misc) X
Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: