Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2007, 03:35 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2007
Posts: 6
Rep:
|
Debian Packages System Broken, Plz Help (Ubuntu)
Hi, when I try to use the apt-get/synaptic/wtv utilities, I get this error:
$ sudo apt-get check
Reading package lists... Error!
E: Problem parsing dependency Replaces
E: Error occurred while processing libvorbisfile3 (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
I tried to do sudo dpkg --clear-avail && sudo apt-get update, but I still get the same error.
I'm on gutsy...
|
|
|
|
09-15-2007, 05:05 PM
|
#2
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Edit the file /var/lib/dpkg/status searching for the section of the libvorbisfile3 then change the Version: line that contains (NewVersion1) to what the version should be, on my install it looks like this.
Code:
apt-cache policy libvorbisfile3
libvorbisfile3:
Installed: 1.2.0.dfsg-2
Candidate: 1.2.0.dfsg-2
Version table:
*** 1.2.0.dfsg-2 0
990 http://ftp2.de.debian.org testing/main Packages
600 http://ftp2.de.debian.org sid/main Packages
100 /var/lib/dpkg/status
So for me the line is Version: 1.2.0.dfsg-2 change yours to match the output you get from the above now everything should work again.
|
|
|
|
10-02-2007, 10:44 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2006
Location: PA, USA
Distribution: PCLinuxOS LXDE, Linux Mint 11
Posts: 3
Rep:
|
I am running Feisty and have a similar problem that when using apt-get returns the following errors:
W: Encountered status field in a non-version description
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
-------------------------------------------------------------------------
dpkg -l returns:
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 14670 package `libscim8c2a':
-------------------------------------------------------------------------
When I try to run the Package Manager I get:
Could not initialize the package information
A unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'W:Encountered status field in a non-version description, E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.'
-------------------------------------------------------------------------
I sure could use some help, I've been trying to solve this problem for about 2 weeks and have gotten no where. Any help would be greatly appreciated.
Thank
lfever
|
|
|
|
10-02-2007, 11:36 AM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Edit the /var/lib/dpkg/status file to correct the error near the line 14670 just look at the other entries nearby to see if you can figure out what it should be there or you can always try and copy the var/lib/dpkg/status.old file backup to the var/lib/dpkg/status I would check the backup first to make sure that the error is not present in it as well.
|
|
|
|
10-03-2007, 11:21 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2006
Location: PA, USA
Distribution: PCLinuxOS LXDE, Linux Mint 11
Posts: 3
Rep:
|
Thanks
Quote:
Originally Posted by HappyTux
Edit the /var/lib/dpkg/status file to correct the error near the line 14670 just look at the other entries nearby to see if you can figure out what it should be there or you can always try and copy the var/lib/dpkg/status.old file backup to the var/lib/dpkg/status I would check the backup first to make sure that the error is not present in it as well.
|
I couldn't figure out what problem was with the dpkg status file so I replaced it with the status-old and all is well.
Thanks again HappyTux
lfever 
|
|
|
|
11-17-2007, 06:34 PM
|
#6
|
|
LQ Newbie
Registered: Nov 2007
Posts: 1
Rep:
|
Newbe - how do you replace the status-old file?
Quote:
Originally Posted by Lfever
I couldn't figure out what problem was with the dpkg status file so I replaced it with the status-old and all is well.
Thanks again HappyTux
lfever 
|
My status file is also corrupt. It says I need a : after M in line 8180. If I try to open the file to edit it, it says it is a binary file and I can't get it to open. How can I replace the status file with my status file? I am new and don't know the commands needed to replace the file in terminal.
|
|
|
|
11-18-2007, 02:17 AM
|
#7
|
|
LQ Newbie
Registered: Sep 2006
Location: PA, USA
Distribution: PCLinuxOS LXDE, Linux Mint 11
Posts: 3
Rep:
|
Quote:
Originally Posted by ejs7597
My status file is also corrupt. It says I need a : after M in line 8180. If I try to open the file to edit it, it says it is a binary file and I can't get it to open. How can I replace the status file with my status file? I am new and don't know the commands needed to replace the file in terminal.
|
Code:
sudo gedit /var/lib/dpkg/status
Enter your password
Edit the line that needs changed
Save and close.
lfever
Last edited by Lfever; 11-18-2007 at 09:41 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|