LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
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

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 09-15-2007, 04:35 PM   #1
RN87
LQ Newbie
 
Registered: Sep 2007
Posts: 6
Thanked: 0
Debian Packages System Broken, Plz Help (Ubuntu)


[Log in to get rid of this advertisement]
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...
RN87 is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 09-15-2007, 06:05 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,511
Thanked: 0
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.
HappyTux is offline     Reply With Quote
Old 10-02-2007, 11:44 AM   #3
Lfever
LQ Newbie
 
Registered: Sep 2006
Location: PA, USA
Distribution: Mepis 6.0, Edgy Eft, Feisty
Posts: 3
Thanked: 0
Unhappy

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
Lfever is offline     Reply With Quote
Old 10-02-2007, 12:36 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,511
Thanked: 0
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.
HappyTux is offline     Reply With Quote
Old 10-04-2007, 12:21 AM   #5
Lfever
LQ Newbie
 
Registered: Sep 2006
Location: PA, USA
Distribution: Mepis 6.0, Edgy Eft, Feisty
Posts: 3
Thanked: 0
Thumbs up Thanks

Quote:
Originally Posted by HappyTux View Post
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
Lfever is offline     Reply With Quote
Old 11-17-2007, 07:34 PM   #6
ejs7597
LQ Newbie
 
Registered: Nov 2007
Posts: 1
Thanked: 0
Newbe - how do you replace the status-old file?

Quote:
Originally Posted by Lfever View Post
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.
ejs7597 is offline     Reply With Quote
Old 11-18-2007, 03:17 AM   #7
Lfever
LQ Newbie
 
Registered: Sep 2006
Location: PA, USA
Distribution: Mepis 6.0, Edgy Eft, Feisty
Posts: 3
Thanked: 0
Quote:
Originally Posted by ejs7597 View Post
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 10:41 PM..
Lfever is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fix a debian broken system el_pajaro! Debian 6 06-03-2009 02:23 AM
Continuing to upgrade and install new packages with broken dependencies in the system nautilus Debian 3 06-13-2007 07:59 AM
Debian packages and Ubuntu extrasolar Ubuntu 7 07-31-2006 04:51 PM
Debian unstable - unfixable broken packages after update. Imek Debian 4 07-20-2005 01:23 PM
Ubuntu packages on Debian fatman Debian 10 03-14-2005 09:55 PM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration