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

rjonnal rjonnal at indiana.edu
Fri Jun 10 01:51:01 UTC 2011


Xillix,

Thank you--it worked like a charm. In fact, I don't think the upgrade is
necessary. Once I deleted everything and then ran update, the update-
manager appeared and looked functional.

It's strange--I had tried the same thing with just the offending list,
which in my case was

us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages

I did:

sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
sudo apt-get update

And that didn't work. The newly downloaded version of us.archive.ubuntu
.com_ubuntu_dists_natty_main_binary-amd64_Packages also caused the
"section with no Package: header" error.

I'm not sure whether the crucial thing is 'clean' or removing all the
lists.

Anyway, thank you very much!

-Ravi

-- 
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:
  Fix Released
Status in “apt” package in Debian:
  Unknown

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions




More information about the foundations-bugs mailing list