PDA

View Full Version : [ubuntu] Install And Update Package error


jean9120
July 6th, 2008, 10:43 PM
Hello, im getting an error from my package manager, when i open it, it displays this error

E:Problem parsing dependency Depends, E:Error occurred while processing libgv-ruby (NewVersion1), E:Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages, E:The package lists or status file could not be parsed or opened.

What could be wrong and how can i fix it?

iaculallad
July 6th, 2008, 10:53 PM
Try the command below on your terminal:

sudo apt-get -f install

If that does not fix it, try the other command below:

sudo apt-get update -o APT::Cache-Limit=25165824

jean9120
July 6th, 2008, 11:23 PM
The terminal comes up with this error for both codes:

E: Problem parsing dependency Depends
E: Error occurred while processing libgv-ruby (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

:(

iaculallad
July 6th, 2008, 11:32 PM
The terminal comes up with this error for both codes:

E: Problem parsing dependency Depends
E: Error occurred while processing libgv-ruby (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

:(

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.old
sudo apt-get update && sudo apt-get upgrade

jean9120
July 6th, 2008, 11:46 PM
it uninstalled them fine when i did that, but then when the update got to a vertain point the same message came up


E: Problem parsing dependency Depends
E: Error occurred while processing libgv-ruby (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

iaculallad
July 6th, 2008, 11:51 PM
it uninstalled them fine when i did that, but then when the update got to a vertain point the same message came up


E: Problem parsing dependency Depends
E: Error occurred while processing libgv-ruby (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

What about doing the commands below on your terminal:

sudo mv /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_hardy_universe_ binary-i386_Packages.old
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.old
sudo apt-get update && sudo apt-get upgrade

Rocket2DMn
July 6th, 2008, 11:55 PM
Have you tried switching repositories from System->Administration->Software Sources ? That should at least refresh the list files.

jean9120
July 7th, 2008, 12:04 AM
after doing all of that im getting this error now:

E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.

iaculallad
July 7th, 2008, 12:55 AM
after doing all of that im getting this error now:

E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.

Just copy and paste this commands on your terminal: one-at-a-time

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo apt-get update && sudo apt-get upgrade