Mintupdate and synaptic error

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
peav007
Level 1
Level 1
Posts: 3
Joined: Sat Mar 08, 2008 7:28 am

Mintupdate and synaptic error

Post by peav007 »

good morning all

i tried to install firestarter in synaptic and got some kind of error.

however if i try to use mint update or synaptic i get the following error

E: Malformed 2nd word in the Status line
E: Error occurred while processing mintconfig (UsePackage1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

being new to linux it means nothing to me.

#
any help would be appreciated

cheers john

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Mintupdate and synaptic error

Post by MagnusB »

Open a terminal window and try:

Code: Select all

sudo aptitude install firestarter
and see if that works, might be just synaptic that is broken..
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

peav007
Level 1
Level 1
Posts: 3
Joined: Sat Mar 08, 2008 7:28 am

Re: Mintupdate and synaptic error

Post by peav007 »

nice try but still fails cheers for your help.

john@john-desktop:~$ sudo aptitude install firestarter
Reading package lists... Error!
E: Malformed 2nd word in the Status line
E: Error occurred while processing mintconfig (UsePackage1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
E: Malformed 2nd word in the Status line
E: Error occurred while processing mintconfig (UsePackage1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

john

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Mintupdate and synaptic error

Post by MagnusB »

Ohh, it seems like APT is somehow broken. Try:

Code: Select all

sudo apt-get -f install
Now, if that does not work, try:

Code: Select all

sudo updatedb
locate status-old
status-old should be in /var/lib/dpkg/, this is just to be sure that it is. Anyway, note where it is and try this:

Code: Select all

sudo cp /var/lib/dpkg/status /var/lib/dpkg/statusBAK
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
The first command makes a backup of your old status file, the second recovers a system backup of that file. Then try -f install again (or just apt-get update). I am not in Mint right now, so I can't test this out.
If that works, remove the backup of the broken status file:

Code: Select all

sudo rm /var/lib/dpkg/statusBAK
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

Post Reply

Return to “Newbie Questions”