SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.

Bug #738580 reported by Peter Owusu
This bug report is a duplicate of:  Bug #626599: problem with update-manager. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Incomplete
Undecided
Unassigned

Bug Description

Distribution: Ubuntu 11.04 natty
Application: Ubuntu Tweak 0.5.11
Desktop: gnome

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
    page = module()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
    self.update_list()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
    PACKAGE_WORKER.update_apt_cache(init=True)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache
    self.cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 88, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 126, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.

Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu Tweak better. Please answer the following questions to help us find and resolve the problem:

1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug?

summary: - Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.11
- Desktop: gnome Traceback (most recent call last): File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502,
- in setup_notebook page = module() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
- self.update_list() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
- PACKAGE_WORKER.update_apt_cache(init=True) File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line
- 216, in update_apt_cache self.cache = apt.Cache() File
- "/usr/lib/python2.7/dist-packages/apt/cache.py", line 88, in __init__
- self.open(progress) File "/usr/lib/python2.7/dist-
- packages/apt/cache.py", line 126, in open self._cache =
- apt_pkg.Cache(progress) SystemError: E:Encountered a section with no
- Package: header, E:Problem with MergeList
+ SystemError: E:Encountered a section with no Package: header, E:Problem
+ with MergeList
/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-
amd64_Packages, E:The package lists or status file could not be parsed
or opened.
Changed in ubuntu-tweak:
status: New → Incomplete
Revision history for this message
Peter Owusu (pyowusu) wrote : Re: [Bug 738580] Re: SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
Download full text (3.9 KiB)

Question [1] Is yes.It happens whenever i lose internet connections during system update.Question [2] Is i don't know

--- On Sun, 20/3/11, JeanAustinR <email address hidden> wrote:

From: JeanAustinR <email address hidden>
Subject: [Bug 738580] Re: SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
To: <email address hidden>
Date: Sunday, 20 March, 2011, 11:38

Thank you for taking the time to report this bug and helping to make
Ubuntu Tweak better. Please answer the following questions to help us
find and resolve the problem:

1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug?

** Summary changed:

-  Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.11 Desktop: gnome  Traceback (most recent call last):   File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook     page = module()   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__     self.update_list()   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list     PACKAGE_WORKER.update_apt_cache(init=True)   File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache     self.cache = apt.Cache()   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 88, in __init__     self.open(progress)   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 126, in open     self._cache = apt_pkg.Cache(progress) SystemError: E:Encountered a section with no Package: header,
 E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
+ SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.

** Changed in: ubuntu-tweak
       Status: New => Incomplete

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

Title:
  SystemError: E:Encountered a section with no Package: header,
  E:Problem with MergeList /var/lib/apt/lists/archive.canonical
  .com_ubuntu_dists_natty_partner_binary-amd64_Packages, E:The package
  lists or status file could not be parsed or opened.

Status in Ubuntu Tweak:
  Incomplete

Bug description:

  Distribution: Ubuntu 11.04 natty
  Application: Ubuntu Tweak 0.5.11
  Desktop: gnome

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
      page = module()
    File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
      self.update_list()
    File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
      PACKAGE_WO...

Read more...

Revision history for this message
Tushar Jain (tushaar-iitr) wrote :

any solution??? I am also affected

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.