[Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"

Julian Andres Klode juliank at ubuntu.com
Mon May 30 10:42:44 UTC 2011


Early patch. Causes APT to reject invalid package files (thus not having
a Package field in the first section). Does not help if the Package file
is invalid in the middle though, this would be too hard to check.

** Changed in: apt (Ubuntu)
       Status: Triaged => In Progress

** Changed in: apt (Ubuntu)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

** Patch added: "lp-346386.diff"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/2147661/+files/lp-346386.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/346386

Title:
  [MASTER] Update fails with invalid package files with "Encountered a
  section with no Package: header"

Status in “apt” package in Ubuntu:
  In Progress
Status in “apt” package in Debian:
  Fix Released

Bug description:
  Binary package hint: adept-updater

  Pertinent data printed when attempting to run Updater as follows:

  An unresolvable problem occurred while initializing the package
  information.

  Please report this bug against the 'update-manager' package and
  include the following error message:

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

  Ubuntu 8.10

  Need workaround to permit updating - usual apt-get commands (clean,
  update) haven't worked; message as follows:

  Reading package lists... Error!
  E: Encountered a section with no Package: header
  E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-amd64_Packages
  E: The package lists or status file could not be parsed or opened.




More information about the foundations-bugs mailing list