synaptic fails

Bug #546767 reported by shaligm
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-docs

Ubuntu9.10 with updates
---------------------------------
When I tried to install a debian package with GDebi the foll message was displayed

Software index is broken

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.
--------------------------
When I open synaptic

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

Alex Wardle (awardle)
affects: ubuntu-docs (Ubuntu) → ubuntu
Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Can you post your /etc/apt/sources.list?

affects: ubuntu → apt (Ubuntu)
Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
shaligm (shaligm) wrote : Re: [Bug 546767] Re: synaptic fails
Download full text (4.5 KiB)

I am a newbie. I find it is sources.list.d on my PC. I am reporting Gedit of sources.list as you requested:
#deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://in.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic universe
deb http://in.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://in.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse

--- On Fri, 26/3/10, Gabe Gorelick <email address hidden> wrote:

From: Gabe Gorelick <email address hidden>
Subject:...

Read more...

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Thanks. For the future, you can upload whole files to Launchpad if you click the "add attachment or patch" link. That keeps the bug report a little less cluttered. No worries though.

Changed in apt (Ubuntu):
status: Incomplete → New
Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

I don't see anything obviously wrong with your sources.list. Can you try to run sudo dpkg --clear-avail in a terminal, and then run sudo apt-get update, and then try installing packages? See https://help.ubuntu.com/community/UsingTheTerminal if you need help with the terminal.

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

Please attach /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages

Revision history for this message
shaligm (shaligm) wrote :
Download full text (4.9 KiB)

I could do 2 steps as advised in terminal and the output was:

deimos@samsun:~$ sudo dpkg --clear-avail
[sudo] password for deimos:
deimos@samsun:~$ sudo apt-get update
Hit http://in.archive.ubuntu.com karmic Release.gpg
Ign http://in.archive.ubuntu.com karmic/main Translation-en_IN
Ign http://in.archive.ubuntu.com karmic/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com karmic/universe Translation-en_IN
Ign http://in.archive.ubuntu.com karmic/multiverse Translation-en_IN
Hit http://in.archive.ubuntu.com karmic-updates Release.gpg
Ign http://in.archive.ubuntu.com karmic-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com karmic-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com karmic-updates/universe Translation-en_IN
Ign http://in.archive.ubuntu.com karmic-updates/multiverse Translation-en_IN
Hit http://in.archive.ubuntu.com karmic Release
Hit http://in.archive.ubuntu.com karmic-updates Release
Hit http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_IN
Hit http://in.archive.ubuntu.com karmic/main Packages
Hit http://in.archive.ubuntu.com karmic/restricted Packages
Hit http://in.archive.ubuntu.com karmic/main Sources
Hit http://in.archive.ubuntu.com karmic/restricted Sources
Hit http://in.archive.ubuntu.com karmic/universe Packages
Hit http://in.archive.ubuntu.com karmic/universe Sources
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_IN
Ign http://security.ubuntu.com karmic-security/universe Translation-en_IN
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_IN
Hit http://security.ubuntu.com karmic-security Release
Hit http://in.archive.ubuntu.com karmic/multiverse Packages
Hit http://in.archive.ubuntu.com karmic/multiverse Sources
Hit http://in.archive.ubuntu.com karmic-updates/main Packages
Hit http://in.archive.ubuntu.com karmic-updates/restricted Packages
Hit http://in.archive.ubuntu.com karmic-updates/main Sources
Hit http://in.archive.ubuntu.com karmic-updates/restricted Sources
Hit http://in.archive.ubuntu.com karmic-updates/universe Packages
Hit http://in.archive.ubuntu.com karmic-updates/universe Sources
Hit http://in.archive.ubuntu.com karmic-updates/multiverse Packages
Hit http://in.archive.ubuntu.com karmic-updates/multiverse Sources
Hit http://security.ubuntu.com karmic-security/main Packages
Hit http://security.ubuntu.com karmic-security/restricted Packages
Hit http://security.ubuntu.com karmic-security/main Sources
Hit http://security.ubuntu.com karmic-security/restricted Sources
Hit http://security.ubuntu.com karmic-security/universe Packages
Hit http://security.ubuntu.com karmic-security/universe Sources
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Hit http://security.ubuntu.com karmic-security/multiverse Sources
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
E: The package lists or status file could not be parsed or open...

Read more...

Revision history for this message
shaligm (shaligm) wrote :

Thanks for your guidance. Using a terminal then gedit I got the attached output. Hope this helps. Regards.

--- On Fri, 26/3/10, Michael Vogt <email address hidden> wrote:

From: Michael Vogt <email address hidden>
Subject: [Bug 546767] Re: synaptic fails
To: <email address hidden>
Date: Friday, 26 March, 2010, 10:16 PM

Please attach  /var/lib/apt/lists/in.archive.ubuntu
.com_ubuntu_dists_karmic_main_binary-i386_Packages

--
synaptic fails
https://bugs.launchpad.net/bugs/546767
You received this bug notification because you are a direct subscriber
of the bug.

Status in “apt” package in Ubuntu: Incomplete

Bug description:
Binary package hint: ubuntu-docs

Ubuntu9.10 with updates
---------------------------------
When I tried to install a debian package with GDebi the foll message was displayed

Software index is broken

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.
--------------------------
When I open synaptic

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/546767/+subscribe

      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Looks like you have a corrupted package list, as Michael probably suspected. Can you actually upload your /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages instead of just a screenshot? Just click "Add attachment or patch" and then navigate to the file.

Revision history for this message
shaligm (shaligm) wrote :

Attached my /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages file.

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Thanks.

Changed in apt (Ubuntu):
status: Incomplete → New
Revision history for this message
Julian Andres Klode (juliank) wrote :

the list is totally broken.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.