PDA

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



jean9120
July 7th, 2008, 03:43 AM
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 7th, 2008, 03:53 AM
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 7th, 2008, 04:23 AM
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 7th, 2008, 04:32 AM
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 7th, 2008, 04:46 AM
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 7th, 2008, 04:51 AM
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 7th, 2008, 04:55 AM
Have you tried switching repositories from System->Administration->Software Sources ? That should at least refresh the list files.

jean9120
July 7th, 2008, 05: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, 05: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