PDA

View Full Version : [ubuntu] Broken package manager



Ratscallion
March 7th, 2009, 04:06 PM
Hi. I'm using Ubuntu Intrepid under Wubi. When I try to run all of the following:


Synaptic
Upgrade Manager
Add/Remove Programs

I get an error message.
E: Unable to parse package file /var/lib/dpkg/status (1)
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.I have no idea why this is happening, nor what I can do to prevent/solve it. Thanks. Help is appreciated. Most questions regarding soft/hardware can be answered.

utnubuuser
March 8th, 2009, 03:15 AM
try re-installing synaptic.

If you cant do it from a graphical desktop, try ctrl+alt+F1 to get to a console, then type
sudo apt-get install synapticand ctrl+alt+F7 to get back to your graphical environment.

you could also try
sudo dpkg --configure -a - make sure synaptic is closed when you run this command.

and here is a thread http://wiki.eeeuser.com/howto:unable_to_tparse

Skripka
March 8th, 2009, 03:25 AM
try re-installing synaptic

That might be a bit difficult if all the GUI front ends of apt cannot run due to a problem with dpkg or apt-get ;)


To the OP, what does Terminal spit back at you when you type:



sudo apt-get update


You'll probably get an error-what is it?

Ratscallion
March 9th, 2009, 05:38 PM
To the OP, what does Terminal spit back at you when you type:



sudo apt-get update
You'll probably get an error-what is it?It used to spit back the error I posted above, though a reboot, and this command

and ctrl+alt+F7 to get back to your graphical environment.

you could also try

sudo dpkg --configure -adid works. Thanks to utnubuuser (http://ubuntuforums.org/member.php?u=370166) for this :D