Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-06-2011, 04:11 PM   #1
LQ Newbie
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Synaptic package manager not working

Hello. I tried installing wine and while doing so there was a power failure. Now i cannot install/update any software either from add/remove or synaptic tool. The error i get is
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.
E: _cache->open() failed, please report.
trying a few sudo commands in terminal helped me identify it as a syntax error in status line 1. But how to correct that? I cannot edit the status or status-old file whatsoever due to some permission problems although i am very much the owner.
using ubuntu 8.10
Please help. God bless you
Old 11-06-2011, 06:02 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I'm a fairly recent convert to Debian, having spent most of the last twelve years on .rpm based distros, so please take my advice with caution.

In reading your post, I note that synaptic is having trouble with the status list of available packages.
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.
E: _cache->open() failed, please report.
So, a two-step solution may help, using dpkg (the low-level packagement application that Synaptic calls on to do it's magic).

First, rebuild the list of available packages. Open a terminal, and, as root,
dpkg --update-avail /var/lib/dpkg/available
Then repair the broken status file.
dpkg --merge-available /var/lib/dpkg/status
Note that the *available* and *status* files I've listed are from my Debian 6.0 installation. You should use the Ubuntu paths to those files.

I hope this works for you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Synaptic package manager won't open due to faulty package nine9nine Linux - Software 7 09-15-2011 08:30 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 08:12 AM
Want Synaptic package Manager too.. DAVE666 Linux - Newbie 6 01-29-2008 12:13 PM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 07:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 PM.

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