[MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
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/
WORKAROUND:
Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
In the event that one is connected to a network with a proxy server that returns html pages (like a web page requesting you to login) and not package list files. Those html files will get downloaded to /var/lib/apt/lists/ and prevent someone from using a package manager until the problem html pages are removed.
TEST CASE:
1) download the dummy-proxy attachment from this bug report
2) run dummy-proxy (python dummy-proxy) on a precise system (this simulates a proxy that is not allowing access to archive.ubuntu.com and gives you garbage html instead)
2.5) Execute 'sudo -i' in a terminal
3) Execute 'http_proxy=http://
4) Observe the following error messages in your terminal:
W: GPG error: http://
W: Failed to fetch http://
W: Failed to fetch gzip:/var/
5) Stop dummy-proxy
6) Execute 'sudo apt-get update' in a terminal
7) Observe the following error message:
Reading package lists... Done
W: GPG error: http://
8) Remove the problematic files in /var/lib/apt/lists (sudo rm /var/lib/
Install apt from -proposed
1) run dummy-proxy (python dummy-proxy) on a precise system (this simulates a proxy that is not allowing access to archive.ubuntu.com and gives you garbarge html instead)
1.5) Execute 'sudo -i' in a terminal
2) Execute 'http_proxy=http://
3) Observe the following error messages in your terminal:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:// archive.ubuntu.com precise Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
4) Stop dummy-proxy
5) Execute 'sudo apt-get update' in a terminal
6) Observe the update succeed
This bug is confirmed - and also filed as a bug in Synaptic
Changed in adept (Ubuntu): | |
status: | New → Confirmed |
In one of the duplicates the following is suggested to fix the problem:
sudo cd /var/lib/apt/lists/
sudo rm archive.
also the same for all packages filled with HTLM from the modem
when finished with it, just update.......
hope it helps
from: https:/
The solution above fixes the problem for me:
https:/
For someone not used to command line operations, from the terminal just do:
gksu nautilus (it will ask for your pwd)
Then navigate to /var/lib/apt/lists
Choose: "View" --> "List"
(can also be done via CTRL+2)
....and then click on "Type" in the Nautilus interface in order to get all files of the same kind to line up with each other.
Mark/highlight all the files of the type HTML and delete them. (I actually copied them to another folder just in case they were needed, but they once they are gone all is fine (for me)).
Finally:
sudo aptitude update (or run your usual GUI).
sudo aptitude dist-upgrade
Jonathan Thomas (echidnaman) wrote : | #5 |
So... a dpkg bug then?
affects: | adept (Ubuntu) → dpkg (Ubuntu) |
mp (m-p) wrote : Re: [Bug 346386] Re: Updater won't run - "Encountered a section with no Package: header" | #6 |
Yes, if dpkg is the (most) underlying element of the package management
architectures.
Jonathan Thomas wrote:
> So... a dpkg bug then?
>
> ** Package changed: adept (Ubuntu) => dpkg (Ubuntu)
>
Stefan (sbossb) wrote : Re: Updater won't run - "Encountered a section with no Package: header" | #7 |
Got this error today.
E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/
Raphaël Hertzog (hertzog) wrote : | #8 |
This all looks like corrupted Packages files... and it's not at all a problem in dpkg. The "E:" error messages come from APT.
If anything it's APT that can be improved to deal better with invalid Packages files. For example it could refuse to put them in place after having downloaded them if they are invalid.
affects: | dpkg (Ubuntu) → apt (Ubuntu) |
Marty (martin-e-duke) wrote : | #9 |
I am having this issue as well
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- Updater won't run - "Encountered a section with no Package: header" + Update fails with invalid package files with "Encountered a section with + no Package: header" |
Patrick Kilgore (patrick-kilgore) wrote : Re: Update fails with invalid package files with "Encountered a section with no Package: header" | #10 |
Confirmed on:
Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
The fix above (remove html from /var/lib/
J21bernas (j21bernas) wrote : | #11 |
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
help me with this guys!!!
all the above solutions won't work.....help me please!!!
thanks in advance
Julian Andres Klode (juliank) wrote : | #12 |
This is a bug report, not a user support channel.
Changed in apt (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in apt (Debian): | |
status: | Unknown → Fix Released |
Changed in apt (Ubuntu): | |
status: | Triaged → Opinion |
status: | Opinion → Incomplete |
summary: |
- Update fails with invalid package files with "Encountered a section with - no Package: header" + [MASTER] Update fails with invalid package files with "Encountered a + section with no Package: header" |
Changed in apt (Ubuntu): | |
status: | Incomplete → Triaged |
AndrewW (c7borg) wrote : | #13 |
the solution by mp wrote on 2009-06-17 worked for me - thanks for the simpleton solution at the end of the day I just want to use Ubuntu :)
redrabbit (redrabbit) wrote : | #14 |
Many files in /var/lib/apt/lists was empty, so i copied them from another machine with the same distribution and then i was able to run synaptic and update as before.
Vladimir Dergachev (volodya-k) wrote : | #15 |
I have just been bitten by this myself. After some poking around I realized what happened - I was connected to hotel's wireless which has one of these DNS redirect paywalls. The package manager tried to download the package lists before the connection was unauthorized and got copies of the paywall page which apt choked on.
There needs to be a check that a downloaded package list is actually a package list.
Christopher (soft-kristal) wrote : | #16 |
That's similar to what happened to me - I was in a hospital with a guest access. RedSingularity gave me these to fix it:
sudo rm /var/lib/
..then
sudo rm -r /var/lib/
Jean-Baptiste Lallement (jibel) wrote : | #17 |
Raising importance because it affect lot of users in Natty.
Related debian bug http://
Changed in apt (Ubuntu): | |
importance: | Medium → High |
Julian Andres Klode (juliank) wrote : | #18 |
- lp-346386.diff Edit (2.1 KiB, text/plain)
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): | |
assignee: | nobody → Julian Andres Klode (juliank) |
status: | Triaged → In Progress |
Julian Andres Klode (juliank) wrote : | #19 |
- lp-346386v2.diff Edit (3.4 KiB, text/plain)
Version 2 of the patch. This catches errors for translation indexes as well, and aborts earlier in case gpg gives us a NODATA response.
Julian Andres Klode (juliank) wrote : | #20 |
Fixed in the debian-sid branch
-------
revno: 2126
revision-id: <email address hidden>
parent: <email address hidden>
fixes bug(s): http://
committer: Julian Andres Klode <email address hidden>
branch nick: debian-sid
timestamp: Mon 2011-05-30 14:04:01 +0200
message:
apt-pkg/
This commit deals with the following cases:
- First section of index file (Packages,
- Signed release files without GPG data (NODATA)
- i18n/Index files without hash sums
Handling unsigned Release files is more complicated, and the example code
using indexRecords is disabled as it can reject correct Release files
without hashes. How we can reliably check unsigned Release files is
another question, and not urgent anyway, as it should have no
dramatic effect (we could check that it is a valid RFC-822 section,
but that's a bit too long to write)
Changed in apt (Debian): | |
importance: | Unknown → Undecided |
status: | Fix Released → New |
importance: | Undecided → Unknown |
status: | New → Unknown |
Launchpad Janitor (janitor) wrote : | #21 |
This bug was fixed in the package apt - 0.8.14.1ubuntu4
---------------
apt (0.8.14.1ubuntu4) oneiric; urgency=low
[ Julian Andres Klode ]
* apt-pkg/
- Reject files known to be invalid (LP: #346386) (Closes: #627642)
-- Michael Vogt <email address hidden> Mon, 30 May 2011 17:12:27 +0200
Changed in apt (Ubuntu): | |
status: | In Progress → Fix Released |
Stefan Maimescu (superman) wrote : | #22 |
I have this bug too on Ubuntu 11.04 !!!
Update-manager:
Could not initialize the package information
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/
E:The package lists or status file could not be parsed or opened.'
Terminal:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
Stefan Maimescu (superman) wrote : | #23 |
Update:
I fixed that! my provider needs a login and password [one day] when I acces addresses from other countries... and the updater makes update files with
<!-----
<!-- Copyright (c) 2001-2004 by Cisco Systems, Inc. All rights reserved. -->
<!-----
<!-- /pages/
<!-----
<!-- This page authenticates a SESMSession user/account.
<!-- The user is asked for their username and password.
<!-----
<!-- Author: Ken Jarrad
<!-----
Fritz Kassner (fritz-kassner) wrote : | #24 |
I reported this bug for Ubuntu 11.04 too (bug #788150).
The problem was successfully fixed by the method described by mp 2009-06-11 (#3). I deleted all HTML-files in /var/lib/
Anne Chalmers (annechalmers62) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #25 |
Many thanks for feedback much appreciated
On Thu, May 26, 2011 at 3:03 PM, Jean-Baptiste Lallement <
<email address hidden>> wrote:
> ** Summary changed:
>
> - Update fails with invalid package files with "Encountered a section with
> no Package: header"
> + [MASTER] Update fails with invalid package files with "Encountered a
> section with no Package: header"
>
> ** Changed in: apt (Ubuntu)
> Status: Incomplete => Triaged
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (784812).
> https:/
>
> Title:
> [MASTER] Update fails with invalid package files with "Encountered a
> section with no Package: header"
>
> Status in “apt” package in Ubuntu:
> Triaged
> 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/
> .com_ubuntu_
> 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/
> E: The package lists or status file could not be parsed or opened.
>
> To unsubscribe from this bug, go to:
> https:/
>
--
love and peace x
Julian Andres Klode (juliank) wrote : | #26 |
Stop commenting me too style. The problem is know, a fix for broken systems exists, and it is prevented in oneiric. If you are affected by this as well, click on "Does this bug affect you?" at the top of the site.
Brian Murray (brian-murray) wrote : | #27 |
Julian is the 2nd version of the patch that is attached to the bug report something that would be possible to backport so we can get updated packages in Lucid and Natty?
Julian Andres Klode (juliank) wrote : | #28 |
The one uploaded (0.8.14.1ubuntu4) would be the one to backport, that is, those revisions:
http://
http://
aka
http://
S Venkata Srikanth (svsrikanth2001) wrote : | #29 |
Hi
I'm new to Ubuntu and not sure about how to resolve the issue. Can someone give any pointers to make the Update functionality working again
I'm using version 11.04
Thanks in Advance
S Venkata Srikanth
_______
From: Brian Murray <email address hidden>
To: <email address hidden>
Sent: Thursday, 9 June 2011 2:12 AM
Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
Julian is the 2nd version of the patch that is attached to the bug
report something that would be possible to backport so we can get
updated packages in Lucid and Natty?
--
You received this bug notification because you are a direct subscriber
of a duplicate bug (789952).
https:/
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/
.com_
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/
E: The package lists or status file could not be parsed or opened.
To unsubscribe from this bug, go to:
https:/
Xillix (xillix) wrote : | #30 |
I had this issue and fixed it by the following. Make sure you are authenticated before running the rm.
sudo rm /var/lib/
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
rjonnal (rjonnal) wrote : | #31 |
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.
I did:
sudo rm /var/lib/
sudo apt-get update
And that didn't work. The newly downloaded version of us.archive.
I'm not sure whether the crucial thing is 'clean' or removing all the lists.
Anyway, thank you very much!
-Ravi
Teddy (ted-saker-law) wrote : | #32 |
Dear Xillix:
Thank you very much for your suggestion. Like Ravi, I didn't have to
run upgrade, but running rm, clean and update gave the Update Manager
the defibrillation it needed in order to resume what appears to be
normal operation.
On 06/09/2011 09:19 PM, Xillix wrote:
> I had this issue and fixed it by the following. Make sure you are
> authenticated before running the rm.
>
> sudo rm /var/lib/
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get upgrade
>
Changed in apt (Ubuntu Natty): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
Med Idriss Taki (takidriss) wrote : | #33 |
Thank you all of you
I had this bug too on Ubuntu 11.04.
Now it is fixed with this:
> sudo rm /var/lib/
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get upgrade
God bless you
jim carlson (carxfrog) wrote : | #34 |
Absolutely perfect solution. Worked extremely well. I knew I had a problem with one of the files, and it should have been deleted. However I didn't known about clean, update and upgrade (which I guess is what the Update-Manager does).
Thank you for the quick response.
JIM
> Date: Tue, 14 Jun 2011 16:40:21 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
>
> Thank you all of you
> I had this bug too on Ubuntu 11.04.
> Now it is fixed with this:
>
> > sudo rm /var/lib/
> > sudo apt-get clean
> > sudo apt-get update
> > sudo apt-get upgrade
>
> God bless you
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (796583).
> https:/
>
> 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” source package in Natty:
> Triaged
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> 5) Try 'apt-cache policy apt' and be happy that ...
Brian Murray (brian-murray) wrote : | #35 |
- apt_0.8.13.2ubuntu4.debdiff Edit (9.3 KiB, text/plain)
Attached is a debdiff suitable for SRU to Natty.
Dalison Rocha (dalisonsr68) wrote : | #36 |
Obrigado!(Thank you!)
2011/6/14 Med Idriss Taki <email address hidden>
> Thank you all of you
> I had this bug too on Ubuntu 11.04.
> Now it is fixed with this:
>
> > sudo rm /var/lib/
> > sudo apt-get clean
> > sudo apt-get update
> > sudo apt-get upgrade
>
> God bless you
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (796740).
> https:/
>
> 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” source package in Natty:
> Triaged
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList
> /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> signatures were invalid: NODATA 1 NODATA 2'
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> To manage notifications about this bug go to:
> https:/
>
Dalison Rocha (dalisonsr68) wrote : | #37 |
Obrigado!(Thank you!)
2011/6/14 jim carlson <email address hidden>
> Absolutely perfect solution. Worked extremely well. I knew I had a
> problem with one of the files, and it should have been deleted. However I
> didn't known about clean, update and upgrade (which I guess is what the
> Update-Manager does).
>
> Thank you for the quick response.
>
> JIM
>
> > Date: Tue, 14 Jun 2011 16:40:21 +0000
> > From: <email address hidden>
> > To: <email address hidden>
> > Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package
> files with "Encountered a section with no Package: header"
> >
> > Thank you all of you
> > I had this bug too on Ubuntu 11.04.
> > Now it is fixed with this:
> >
> > > sudo rm /var/lib/
> > > sudo apt-get clean
> > > sudo apt-get update
> > > sudo apt-get upgrade
> >
> > God bless you
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (796583).
> > https:/
> >
> > 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” source package in Natty:
> > Triaged
> > 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/
> > .com_ubuntu_
> > package lists or status file could not be parsed or opened.'
> >
> > WORKAROUND:
> > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
> >
> > In the event that one is connected to a network with a proxy server
> > that returns html pages (like a web page requesting you to login) and
> > not package list files. Those html files will get downloaded to
> > /var/lib/apt/lists/ and prevent someone from using a package manager
> > until the problem html pages are removed.
> >
> > TEST CASE:
> > 1) Ensure /etc/apt/
> > 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> > 3) Execute 'sudo apt-get update' in a terminal
> > 4) Observe the following:
> > 'E: Encountered a section with no Package: header
> > E: Problem with MergeList
> /var/lib/
> > E: The package lists or status file could not be parsed or opened.'
> > 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> >
> > With the proposed package installed repeat steps 1 to 3.
> > 4) Observe the following:
> > ''Get:1 http://
> ...
Dalison Rocha (dalisonsr68) wrote : | #38 |
Obrigado!(Thank you!)
2011/6/14 Brian Murray <email address hidden>
> Attached is a debdiff suitable for SRU to Natty.
>
> ** Patch added: "apt_0.
>
> https:/
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (796740).
> https:/
>
> 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” source package in Natty:
> Triaged
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList
> /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> signatures were invalid: NODATA 1 NODATA 2'
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> To manage notifications about this bug go to:
> https:/
>
PMPope (3dgelabs) wrote : | #39 |
Thanks for the help! It worked like a charm!
Pace e bene
Philip
*MultiMedia*
by *P*M*P*o*p*e
[image: Creative Commons
License]<http://
Works by PMPope 2011
by PMPope, Philip M.
Pope<http://
is licensed under a
<http://
Creative Commons Attribution-
<http://
3.0 Unported License <http://
*704-726-2780*
*2011*
Signature powered by
<http://
WiseStamp<http://
On Thu, Jun 9, 2011 at 9:19 PM, Xillix <email address hidden> wrote:
> I had this issue and fixed it by the following. Make sure you are
> authenticated before running the rm.
>
> sudo rm /var/lib/
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get upgrade
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (791696).
> https:/
>
> 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/
> .com_ubuntu_
> 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/
> E: The package lists or status file could not be parsed or opened.
>
> To manage notifications about this bug go to:
> https:/
>
Hideki Tawarayama (hideki-tawarayama) wrote : | #40 |
I fixed this bug.
Thank you.
(2011年06月17日 02:51), Dalison Rocha wrote:
> Obrigado!(Thank you!)
>
> 2011/6/14 Med Idriss Taki<email address hidden>
>
>> Thank you all of you
>> I had this bug too on Ubuntu 11.04.
>> Now it is fixed with this:
>>
>>> sudo rm /var/lib/
>>> sudo apt-get clean
>>> sudo apt-get update
>>> sudo apt-get upgrade
>> God bless you
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (796740).
>> https:/
>>
>> 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” source package in Natty:
>> Triaged
>> 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/
>> .com_ubuntu_
>> package lists or status file could not be parsed or opened.'
>>
>> WORKAROUND:
>> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
>> update.
>>
>> In the event that one is connected to a network with a proxy server
>> that returns html pages (like a web page requesting you to login) and
>> not package list files. Those html files will get downloaded to
>> /var/lib/apt/lists/ and prevent someone from using a package manager
>> until the problem html pages are removed.
>>
>> TEST CASE:
>> 1) Ensure /etc/apt/
>> 2) Setup proxy server to block access to archive.ubuntu.com and return
>> something like http://
>> 3) Execute 'sudo apt-get update' in a terminal
>> 4) Observe the following:
>> 'E: Encountered a section with no Package: header
>> E: Problem with MergeList
>> /var/lib/
>> E: The package lists or status file could not be parsed or opened.'
>> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
>>
>> With the proposed package installed repeat steps 1 to 3.
>> 4) Observe the following:
>> ''Get:1 http://
>> Ign http://
>> E: GPG error: http://
>> signatures were invalid: NODATA 1 NODATA 2'
>> 5) Try 'apt-cache policy apt' and be happy that it works
>>
>> To manage notifications about this bug go to:
>> https:/
>>
Changed in apt (Ubuntu Natty): | |
status: | Triaged → In Progress |
Martin Pitt (pitti) wrote : Please test proposed package | #41 |
Accepted apt into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
Changed in apt (Ubuntu Natty): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
Hobson Lane (hobs) wrote : | #43 |
Doesn't this bug allow malicious users to root any Ubuntu system connected to a wifi cafe that uses web logon and no encryption?
I'm not sure if I understand this, but it seems like proxies can insert URLs into the apt lists at will. And at logon-style wifi cafe's, a malicious user sitting at the table next to you could impersonate the cafe proxy (MITM), potentially inserting whatever they like into the lists URL. Wouldn't this then affect the Ubuntu upgrade and update cycles, redirecting requests to those chosen by the malicious laptop owner, perhaps weeks late while not connected to the malicious proxy? Perhaps the user would be required to accept some bogus security certificate before downloading the malicious code--so maybe only 10% of infected Ubuntu users would be caught. But might it be possible that if the user updates/upgrades while still connected through the malicious proxy, the proxy could peform a MITM on the certificates and still get the user to unknowingly install whatever "upgrades" the malicious user intends, to root the wifi user's system.
Steve Langasek (vorlon) wrote : | #44 |
fix verified here using the test case in the bug description.
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Hobson Lane (hobs) wrote : | #45 |
Thanks. Sorry for the duplicate bug report. Glad it's fixed. Will make
it much safer to update on public WiFi.
On Mon, Jun 27, 2011 at 4:57 PM, Steve Langasek
<email address hidden> wrote:
> fix verified here using the test case in the bug description.
>
> ** Description changed:
>
> 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/
> .com_ubuntu_
> lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server that
> returns html pages (like a web page requesting you to login) and not
> package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> - E: Problem with MergeList /var/lib/
> - E: The package lists or status file could not be parsed or opened.'
> + E: Problem with MergeList /var/lib/
> + E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> + 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> ** Tags added: verification-done
> ** Tags removed: verification-needed
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (800438).
> https:/
>
> 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” source package in Natty:
> Fix Committed
> 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 occu...
Changed in apt (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
Brian Murray (brian-murray) wrote : | #46 |
I've set this back to Fix Committed as the package with the fix is only available in the proposed repository for Natty.
apt | 0.8.13.2ubuntu3 | natty-updates | source, amd64, i386
apt | 0.8.13.2ubuntu4 | natty-proposed | source, amd64, i386
Changed in apt (Ubuntu Natty): | |
status: | Fix Released → Fix Committed |
Changed in apt (Ubuntu): | |
assignee: | Julian Andres Klode (juliank) → Heru Herdianto (herdiantoheru-yahoo) |
Changed in apt (Ubuntu Natty): | |
assignee: | nobody → Heru Herdianto (herdiantoheru-yahoo) |
Changed in apt (Debian): | |
importance: | Unknown → Undecided |
status: | Unknown → New |
assignee: | nobody → Heru Herdianto (herdiantoheru-yahoo) |
status: | New → Fix Released |
Changed in apt (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
Laxman Poudel (laxman-poudel2001) wrote : | #47 |
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/
I have this problem
Can this be fixed automatically? please help me I am new to the bug fixing.
PMPope (3dgelabs) wrote : | #48 |
Did you try the Xillix fix described earlier in this thread? It worked like
a charm for me.
On Jun 28, 2011 10:11 PM, "Laxman Poudel" <email address hidden> wrote:
> 'E:Encountered a section with no Package: header, E:Problem with MergeList
/var/lib/
E:The package lists or status file could not be parsed or opened.
>
> I have this problem
>
> Can this be fixed automatically? please help me I am new to the bug
> fixing.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (791696).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return
something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList
/var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
signatures were invalid: NODATA 1 NODATA 2'
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> To manage notifications about this bug go to:
> https:/
Changed in apt (Debian): | |
assignee: | Heru Herdianto (herdiantoheru-yahoo) → papukaija (papukaija) |
Changed in apt (Ubuntu): | |
assignee: | Heru Herdianto (herdiantoheru-yahoo) → papukaija (papukaija) |
Changed in apt (Ubuntu Natty): | |
assignee: | Heru Herdianto (herdiantoheru-yahoo) → papukaija (papukaija) |
Changed in apt (Debian): | |
assignee: | papukaija (papukaija) → nobody |
Changed in apt (Ubuntu Natty): | |
assignee: | papukaija (papukaija) → nobody |
Changed in apt (Ubuntu): | |
assignee: | papukaija (papukaija) → nobody |
papukaija (papukaija) wrote : | #49 |
@Heru: Please *STOP* changing the bug statuses. Thanks.
@ubuntu-bugcontrol: Please set this bug back to 'Fix committed' as 0.8.13.2ubuntu4 is still in proposed. Thanks in advance.
Changed in apt (Ubuntu Natty): | |
status: | Fix Released → Fix Committed |
Edward Goldstick (ejgoldstick) wrote : | #50 |
Hello,
I just got back to the machine that had this problem and that led me to submit bug #863742...
... so thanks for your pointer to #802061 within 48 hours. It seems to have worked just fine. I wish I had been able to dig it up myself but the process is rather convoluted (and while I'm an 'old' Unix user (fwiw, I remember System III), I am not experimenting with Ubuntu other than as aa definitive low-cost alternative to Windows XP...
I also thought I'd share this with the last person to post on this subject because you seem to have made the fix permanent...
... so thanks for that, too, but I must admit that I'm intrigued by the fact that I still get announcements. I may try to "unsubscribe" from the reports but am more curious by the long tail of issues that people experience.
In any event, keep up the good work. Thanks again.
Edward
First and foremost,
On Jun 26, 2011, at 1:58 PM, William Ranvaud wrote:
> This issue was reported on ubuntuforums:
> http://
>
> The solution was to type on terminal :
>
> sudo rm /var/lib/
> sudo apt-get update
>
> Many people are having this issue, have to manually type this to get it
> fixed.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
On Jun 29, 2011, at 5:26 AM, papukaija wrote:
> @Heru: Please *STOP* changing the bug statuses. Thanks.
>
> @ubuntu-bugcontrol: Please set this bug back to 'Fix committed' as
> 0.8.13.2ubuntu4 is still in proposed. Thanks in advance.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (802061).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return s...
Zarir Syafiqie (zarir93) wrote : | #51 |
for me, just delete the folder and reboot the pc.. try to update again after
finished booting...
Launchpad Janitor (janitor) wrote : | #52 |
This bug was fixed in the package apt - 0.8.13.2ubuntu4
---------------
apt (0.8.13.2ubuntu4) natty-proposed; urgency=low
[ Julian Andres Klode ]
* apt-pkg/
- Reject files known to be invalid (LP: #346386) (Closes: #627642)
[ Michael Vogt ]
* apt-pkg/
- do not reject empty Packages files when checking them for
correctness
-- Brian Murray <email address hidden> Fri, 10 Jun 2011 12:05:03 -0700
Changed in apt (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
typo (gnomeuser8) wrote : | #53 |
I don't get this. I thought debian packages where signed? How could a hotel's wireless inject data into your system? I mean, if the creators of apt did not check this case, what about about other cases? There'll be probably more security gaps, which are yet unknown, because nobody tested the software for security.
Brian Murray (brian-murray) wrote : | #54 |
@typo - Documentation regarding how this can occur appears in the bug's description.
Julian Andres Klode (juliank) wrote : | #55 |
There are no security implications here. A malicious transparent proxy can send any data it want, but it cannot send any signed repository data. So if the proxy were to send malicious package information, the packages would not be marked as trusted and the user would be warned about it. If a proxy is sending invalid files, those files are rejected at some stage in the process. In short, no security problems for APT.
If other programs try to parse APT-internal files themselves, they may have problems, but such use of the files is in no way supported and the contents of /var/lib/apt/lists are implementation-
Steven Avampato (avampsj) wrote : | #56 |
The suggested fix:
> sudo rm /var/lib/
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get upgrade
is not working for me. Is there another solution to get an updated version of apt that doesn't have the problem? Or a list of files in the /var/lib/apt/lists that are causing the bad version of apt to fail that can be deleted?
papukaija (papukaija) wrote : | #57 |
@Steven: Please try to follow the instruction in the test case (part of the bug's description) and then run the update with update-manager but don't forget that the fix is only available to Natty and newer.
tags: | added: metabug |
Steven Avampato (avampsj) wrote : | #58 |
Not sure how to accomplish step 2 in the test case. Also how to get the "proposed package installed" as described after step 5.
papukaija (papukaija) wrote : | #59 |
This bug is fixed in Natty and newever so using the proposed package is not useful. If you have issues with installing the update, you should try to do do sixth step from the test case and try the update again.
Steven Avampato (avampsj) wrote : | #60 |
I was already at Natty when the error was introduced. Step 6 of the test case is essentially the same as step 1 of the suggested fix. Do I need to do a clean install to get a functioning version of apt again?
Manfred Hampl (m-hampl) wrote : | #61 |
@Steven and others:
The package management programs store information about available packages, their versions, and their sources in some files on your computer.
The problem that you encounter is caused by wrong contents in some of these files.
The recently published changes in the apt package prevent that running a package management update command creates new files with wrong contents, but they do not solve the problem if you have already such situation on your system.
To clean up this status please see https:/
Either run:
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
or perform a full package management troubleshooting as described in
https:/
Jeff Hill (johill-lanl) wrote : | #62 |
I seem to be experiencing this issue also but "sudo rm -rf /var/lib/apt/lists" doesn't seem to help (I think maybe it did during the first install but my memory of the magic spells the first time isn't that good at this point). We do have a firewall here that returns configuration instructions for the proxy script. This may go south even during the install because I configured the script as soon as the system came up and have spent the rest of the day trying to get around this issue with apt-get. This is Ubuntu 11.04 (a 2nd install due catastrophic hard drive failure last weekend).
hill@Taz:~$ ls /var/lib/
/var/lib/
hill@Taz:~$ sudo apt-get update
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
..
sudo rm -rf /var/lib/apt/lists
hill@Taz:~$ sudo apt-get update
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
...
hill@Taz:~$ sudo fuser -vvv /var/lib/dpkg/lock
hill@Taz:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
hill@Taz:~$ uname -a
Linux dingy 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux
hill@Taz:~$ sudo rm /var/lib/
hill@Taz:~$ sudo cp -arf /var/lib/dpkg /var/lib/
hill@Taz:~$ sudo cp /var/lib/
hill@Taz:~$ sudo cp /var/lib/
hill@Taz:~$ sudo rm -rf /var/lib/
hill@Taz:~$ sudo rm -rf /var/lib/apt/lists
hill@Taz:~$ sudo rm /var/cache/
hill@Taz:~$ sudo mkdir /var/lib/apt/lists
hill@Taz:~$ sudo mkdir /var/lib/
hill@Taz:~$ LANG=C;sudo apt-get clean
[sudo] password for hill:
hill@Taz:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
hill@Taz:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hill@Taz:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Ign http://
...
Diego Alcántara (diego-faz) wrote : | #63 |
This bug doesn't affect me anymore: the problem -in my case- was that a firewall in my network was filtering packages coming from ubuntu's repos.
Chris Bounds (chrisbounds26) wrote : | #64 |
Is there anything I can do to correct the problem?
--- On Tue, 9/20/11, Diego Alcántara <email address hidden> wrote:
From: Diego Alcántara <email address hidden>
Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
To: <email address hidden>
Date: Tuesday, September 20, 2011, 1:50 PM
This bug doesn't affect me anymore: the problem -in my case- was that a
firewall in my network was filtering packages coming from ubuntu's
repos.
--
You received this bug notification because you are subscribed to a
duplicate bug report (837840).
https:/
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” source package in Natty:
Fix Released
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/
.com_
package lists or status file could not be parsed or opened.'
WORKAROUND:
Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
In the event that one is connected to a network with a proxy server
that returns html pages (like a web page requesting you to login) and
not package list files. Those html files will get downloaded to
/var/
until the problem html pages are removed.
TEST CASE:
1) Ensure /etc/apt/
2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
3) Execute 'sudo apt-get update' in a terminal
4) Observe the following:
'E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.'
5) Try 'apt-cache policy apt' and be sad that it doesn't work
6) run 'sudo rm /var/lib/
With the proposed package installed repeat steps 1 to 3.
4) Observe the following:
''Get:1 http://
Ign http://
E: GPG error: http://
5) Try 'apt-cache policy apt' and be happy that it works
To manage notifications about this bug go to:
https:/
soohyun (ksonk) wrote : | #65 |
Thanks Chris,
I don't know what I did/didn't but it got updated ok but things works little different.
Without knowing much, I still like to log onto Ubuntu. Now my desktop panal goes away each time I boot up. I type the sudo nohup no-panel(something like that), then the panal re-appears. I wish I can have them stay.
Thanks~~Kitty
> Date: Tue, 20 Sep 2011 15:37:55 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
>
> Is there anything I can do to correct the problem?
>
> --- On Tue, 9/20/11, Diego Alcántara <email address hidden> wrote:
>
> From: Diego Alcántara <email address hidden>
> Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
> To: <email address hidden>
> Date: Tuesday, September 20, 2011, 1:50 PM
>
> This bug doesn't affect me anymore: the problem -in my case- was that a
> firewall in my network was filtering packages coming from ubuntu's
> repos.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (837840).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt'...
Hobson Lane (hobs) wrote : | #66 |
I had to do a grep on my LAN gateway/proxy IP or a bit of the URL it uses
for login. That turned up the corrupted entries for me. My local gateway is
10.10.0.1 so:
sudo grep -ri '10.10.' /var/lib/apt/lists
On Sun, Jul 10, 2011 at 3:01 AM, Steven Avampato <email address hidden>wrote:
> The suggested fix:
>
> > sudo rm /var/lib/
> > sudo apt-get clean
> > sudo apt-get update
> > sudo apt-get upgrade
>
> is not working for me. Is there another solution to get an updated
> version of apt that doesn't have the problem? Or a list of files in the
> /var/lib/apt/lists that are causing the bad version of apt to fail that
> can be deleted?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (800438).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList
> /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> signatures were invalid: NODATA 1 NODATA 2'
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> To manage notifications about...
Jiayao Xie (vebud138) wrote : | #67 |
Thanks a lot. The problem has been solved. The instruction provided by https:/
> Date: Tue, 20 Sep 2011 15:37:55 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
>
> Is there anything I can do to correct the problem?
>
> --- On Tue, 9/20/11, Diego Alcántara <email address hidden> wrote:
>
> From: Diego Alcántara <email address hidden>
> Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
> To: <email address hidden>
> Date: Tuesday, September 20, 2011, 1:50 PM
>
> This bug doesn't affect me anymore: the problem -in my case- was that a
> firewall in my network was filtering packages coming from ubuntu's
> repos.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (837840).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
maboiteaspam (maboiteaspam) wrote : | #68 |
In my case i finally changed the source of the repository for the packages and everything gone well right after.
mazurkin (mazurkin) wrote : | #69 |
It seems the problem still exists in Precise
papukaija (papukaija) wrote : | #70 |
This bug is fixed. Please open a new bug if you still have issues with apt. Thanks.
Edward Goldstick (ejgoldstick) wrote : Re: [Bug 346386] [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #71 |
Hello,
I do not understand the origin of either this message or the one that motivated it because I did not send the latter even if my email address is attached to it. I have occasionally received updates and queries about the original bug, so perhaps there is something strange going on somewhere...
Fwiw (and thanks again for your diligence with these problems in the first place...)
Ed (<email address hidden>)
On Jun 1, 2012, at 8:37 AM, papukaija wrote:
> This bug is fixed. Please open a new bug if you still have issues with
> apt. Thanks.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (802061).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> 5) Try 'apt-cache policy apt' and be happy that it works
>
> To manage notifications about this bug go to:
> https:/
mazurkin (mazurkin) wrote : | #72 |
Look to the right. There are aprox. 100 new and opened bugs marked as "duplicate" of this one. I think moderators should stop mark these as duplicates then.
Verónica B. (holisheirune) wrote : | #73 |
Now I have no problems with update.
Changed in apt (Ubuntu): | |
status: | Fix Released → Triaged |
Brian Murray (brian-murray) wrote : | #74 |
The change that fixed this bug was modified in the following merge with Debian:
http://
which states:
* apt-pkg/
- do not check for a "Package" tag in optional index targets
like the translations index
and we can see the code change at:
However it is not clear to me how optional and non-optional targets are defined and I wonder if these are not misdefined somehow.
Gongqin Chen (chenwanggong) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #75 |
On Thursday, June 7, 2012, Brian Murray wrote:
> The change that fixed this bug was modified in the following merge with
> Debian:
>
> http://
> branches/
>
> which states:
>
> * apt-pkg/
> - do not check for a "Package" tag in optional index targets
> like the translations index
>
> and we can see the code change at:
>
> http://
> branches/
> item.cc#
>
> However it is not clear to me how optional and non-optional targets are
> defined and I wonder if these are not misdefined somehow.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (783015).
> https:/
>
> Title:
> [MASTER] Update fails with invalid package files with "Encountered a
> section with no Package: header"
>
> Status in “apt” package in Ubuntu:
> Triaged
> Status in “apt” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) Ensure /etc/apt/
> 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> 3) Execute 'sudo apt-get update' in a terminal
> 4) Observe the following:
> 'E: Encountered a section with no Package: header
> E: Problem with MergeList
> /var/lib/
> E: The package lists or status file could not be parsed or opened.'
> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> 6) run 'sudo rm /var/lib/
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://
> Ign http://
> E: GPG error: http://
> signatures were invalid: NODATA 1 NODATA 2'
> 5) Try 'apt-cache policy apt' and be happy that it wo...
Hans Unland (hans-unland) wrote : | #76 |
Hallo Gongqin,
Many thanks for your appreciated answer. This helped a lot. Problem has
been solved.
Kind regards
Hans
On 07.06.2012 10:51, Gongqin Chen wrote:
> On Thursday, June 7, 2012, Brian Murray wrote:
>
>> The change that fixed this bug was modified in the following merge with
>> Debian:
>>
>> http://
>> branches/
>>
>> which states:
>>
>> * apt-pkg/
>> - do not check for a "Package" tag in optional index targets
>> like the translations index
>>
>> and we can see the code change at:
>>
>> http://
>> branches/
>> item.cc#
>>
>> However it is not clear to me how optional and non-optional targets are
>> defined and I wonder if these are not misdefined somehow.
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (783015).
>> https:/
>>
>> Title:
>> [MASTER] Update fails with invalid package files with "Encountered a
>> section with no Package: header"
>>
>> Status in “apt” package in Ubuntu:
>> Triaged
>> Status in “apt” source package in Natty:
>> Fix Released
>> 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/
>> .com_ubuntu_
>> package lists or status file could not be parsed or opened.'
>>
>> WORKAROUND:
>> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
>> update.
>>
>> In the event that one is connected to a network with a proxy server
>> that returns html pages (like a web page requesting you to login) and
>> not package list files. Those html files will get downloaded to
>> /var/lib/apt/lists/ and prevent someone from using a package manager
>> until the problem html pages are removed.
>>
>> TEST CASE:
>> 1) Ensure /etc/apt/
>> 2) Setup proxy server to block access to archive.ubuntu.com and return
>> something like http://
>> 3) Execute 'sudo apt-get update' in a terminal
>> 4) Observe the following:
>> 'E: Encountered a section with no Package: header
>> E: Problem with MergeList
>> /var/lib/
>> E: The package lists or status file could not be parsed or opened.'
>> 5) Try 'apt-cache policy apt' and be sad that it doesn't work
>> 6) run 'sudo rm /var/lib/
>>
>> With the proposed package installed repeat steps 1 to 3.
>> 4) Observe the following:
>> ''Get:...
Michael Vogt (mvo) wrote : | #77 |
I can reproduce this problem with:
$ bzr branch lp:~mvo/+junk/fault-injecting-proxy
$ cd fault-injecting
$ ./faulty-proxy.py --always-
in a different terminal:
$ sudo http_proxy=http://
W: GPG error: http://
...
Julian Andres Klode (juliank) wrote : | #78 |
"W: GPG error: http://
Michael Vogt (mvo) wrote : | #79 |
Michael Vogt (mvo) wrote : | #80 |
- slightly cleaner alternative, abi risk plus open error no longer captured Edit (3.0 KiB, text/plain)
Michael Vogt (mvo) wrote : | #81 |
Meh, the patch in #79 will need work as the string is a translated string.
Julian Andres Klode (juliank) wrote : | #82 |
Why is this bug being reused for totally distinct things? This bug was about invalid files being copied to the /var/lib/apt/lists, not about something else about InRelease files. This bug should be closed again, and a new bug should be opened for that other stuff, that actually explains what the new problem is about.
Brian Murray (brian-murray) wrote : | #83 |
The reason that we reopened this bug report is that we are seeing duplicates of it reported from precise users, which should have a fixed version of apt installed. Using the tool lp-bug-
./lp-bug-
…
precise: 946692 948744 967411 989262 989270 989293 989602 996030 1001769 1001932 1006103
Of those bug 1006103 has the most details.
I am also able to recreate this bug by performing the following steps:
1) Edit some packages file in /var/lib/apt/lists/ to be missing a Package: line or just remove the whole file
2) Run 'sudo apt-get update'
3) Observe the message 'Encountered a section with no Package: header' … 'Problem with MergeList'
I took the above steps instead of trying to create a proxy server that would block access to the archive. Even if this test is bad it is still worrisome that we are actively receiving duplicates of this bug.
Brian Murray (brian-murray) wrote : | #84 |
When I said remove the whole file I meant remove the contents of the file.
Robert Schroll (rschroll) wrote : | #85 |
I can confirm this bug on a brand-new install of 12.04. The files of /var/lib/apt/lists/ all seem to contain the text about logging in from the proxy server. Clearing out this directory solves the problem.
Changed in apt (Ubuntu Natty): | |
assignee: | nobody → abdullahi (abdupesi) |
Changed in apt (Ubuntu Natty): | |
assignee: | abdullahi (abdupesi) → nobody |
Ravi Kumar (kumarravi-kumar267) wrote : | #86 |
Thanks the workaround helped me. I am running ubuntu 12.04......
tags: | added: rls-q-incoming |
Gustavo Hernandez (ghernand67) wrote : | #87 |
Hello, good afternoon Marc.
Thank you so much for your directions, I appreciate it. Fortunately I resolve the problem about the bug in apt-get, so my laptop is up and running now. Thanks again for your time and consideration. Actions like yours consolidate the essence of Open Access!
Sincerely,
Gustavo
_______
De: Marc Deslauriers <email address hidden>
Para: <email address hidden>
Enviado: Sábado, 11 de agosto, 2012 14:09:12
Asunto: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
** Tags added: rls-q-incoming
--
You received this bug notification because you are subscribed to a
duplicate bug report (1033958).
https:/
Title:
[MASTER] Update fails with invalid package files with "Encountered a
section with no Package: header"
Status in “apt” package in Ubuntu:
Triaged
Status in “apt” source package in Natty:
Fix Released
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/
.com_
package lists or status file could not be parsed or opened.'
WORKAROUND:
Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
In the event that one is connected to a network with a proxy server
that returns html pages (like a web page requesting you to login) and
not package list files. Those html files will get downloaded to
/var/
until the problem html pages are removed.
TEST CASE:
1) Ensure /etc/apt/
2) Setup proxy server to block access to archive.ubuntu.com and return something like http://
3) Execute 'sudo apt-get update' in a terminal
4) Observe the following:
'E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.'
5) Try 'apt-cache policy apt' and be sad that it doesn't work
6) run 'sudo rm /var/lib/
With the proposed package installed repeat steps 1 to 3.
4) Observe the following:
''Get:1 http://
Ign http://
E: GPG error: http://
5) Try 'apt-cache policy apt' and be happy that it works
To manage notifications about this bug go to:
https:/
Vincenzo D'Andrea (vincenzo-dandrea) wrote : | #88 |
I have a 12.04, installed shortly after the release and kept up to date. Yesterday I was connected to a network with a proxy of the kind described in the bug description above and today I saw the error message. The issue was easiily solved removing the files as described in the workaround.
My conclusion would be that the bug is still around...
thanks!
v.
Launchpad Janitor (janitor) wrote : | #89 |
This bug was fixed in the package apt - 0.9.7.5ubuntu2
---------------
apt (0.9.7.5ubuntu2) quantal; urgency=low
Merged from lp:~donkult/apt/experimental:
[ David Kalnischkies ]
* apt-pkg/
- support \n and \r\n line endings in ReadMessages
[ Michael Vogt ]
* lp:~mvo/apt/webserver-simulate-broken-with-fix346386:
- merge fix for LP: #346386
Merged from http://
[ David Kalnischkies ]
* apt-pkg/cdrom.cc:
- copy only configured translation files from a CD-ROM and not all
available translation files preventing new installs with d-i from
being initialized with all translations (Closes: #678227)
- handle Components in the reduction for the source.list as multi-arch CDs
otherwise create duplicated source entries (e.g. "wheezy main main")
* apt-pkg/
- unpack versions only in case a different version from the package
is currently in unpack state to recover from broken system states
(like different file in M-A:same package and other dpkg errors)
and avoid re-unpack otherwise (Closes: #670900)
* debian/control:
- let libapt-pkg break apt < 0.9.4 to ensure that the installed http-
method supports the new redirection-style, thanks to Raphael Geissert
for reporting & testing (Closes: #685192)
* doc/apt_
- use the correct interval (x <= P < y) for pin value documentation as
these are the intervals used by the code (Closes: #685989)
* apt-pkg/
- do not create duplicated flat-archive CD-ROM sources for foreign
architectures on multi-arch CD-ROMs
- do not warn about files which have a record in the Release file, but
are not present on the CD to mirror the behavior of the other methods
and to allow uncompressed indexes to be dropped without scaring users
-- Michael Vogt <email address hidden> Tue, 04 Sep 2012 15:42:09 +0200
Changed in apt (Ubuntu): | |
status: | Triaged → Fix Released |
Scott T Rogers (scott-t-rogers) wrote : | #90 |
Has that been released yet? If so, I call shenanigans as this bug still exists. Case in point: I update my system everyday between 12pm-3pm Eastern Time. Yet, I had to use the workaround for this bug as recently as yesterday (September 5, 2012).
Rod J (rod-jamieson) wrote : | #91 |
This bug is still affecting me in Kubuntu 12.04 (it's happened twice this week). The workaround is fine but why on earth can't the update manager check that it is actually connected with a bona-fide update server before downloading anything?
Scott T Rogers (scott-t-rogers) wrote : | #92 |
Rod J, good question. My system is behind a corporate Barracuda firewall that resets access every day at midnight. At LEAST once a week, sometimes daily, I encounter this bug. If this was truly fixed, would it continue to occur? When I update my system daily?
Tadhg McSherry (tadhg-mcsherry) wrote : | #93 |
Thank you, appreciated.
On 6 September 2012 20:36, Launchpad Bug Tracker
<email address hidden>wrote:
> This bug was fixed in the package apt - 0.9.7.5ubuntu2
>
> ---------------
> apt (0.9.7.5ubuntu2) quantal; urgency=low
>
> Merged from lp:~donkult/apt/experimental:
>
> [ David Kalnischkies ]
> * apt-pkg/
> - support \n and \r\n line endings in ReadMessages
>
> [ Michael Vogt ]
> * lp:~mvo/apt/webserver-simulate-broken-with-fix346386:
> - merge fix for LP: #346386
>
>
> Merged from http://
>
> [ David Kalnischkies ]
> * apt-pkg/cdrom.cc:
> - copy only configured translation files from a CD-ROM and not all
> available translation files preventing new installs with d-i from
> being initialized with all translations (Closes: #678227)
> - handle Components in the reduction for the source.list as multi-arch
> CDs
> otherwise create duplicated source entries (e.g. "wheezy main main")
> * apt-pkg/
> - unpack versions only in case a different version from the package
> is currently in unpack state to recover from broken system states
> (like different file in M-A:same package and other dpkg errors)
> and avoid re-unpack otherwise (Closes: #670900)
> * debian/control:
> - let libapt-pkg break apt < 0.9.4 to ensure that the installed http-
> method supports the new redirection-style, thanks to Raphael Geissert
> for reporting & testing (Closes: #685192)
> * doc/apt_
> - use the correct interval (x <= P < y) for pin value documentation as
> these are the intervals used by the code (Closes: #685989)
> * apt-pkg/
> - do not create duplicated flat-archive CD-ROM sources for foreign
> architectures on multi-arch CD-ROMs
> - do not warn about files which have a record in the Release file, but
> are not present on the CD to mirror the behavior of the other methods
> and to allow uncompressed indexes to be dropped without scaring users
> -- Michael Vogt <email address hidden> Tue, 04 Sep 2012 15:42:09
> +0200
>
> ** Changed in: apt (Ubuntu)
> Status: Triaged => Fix Released
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1000848).
> https:/
>
> 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” source package in Natty:
> Fix Released
> 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/
> .com_ubuntu_
Ursula Junque (ursinha) wrote : | #94 |
I'm using quantal and I can confirm it still happens. (I'd mark the bug as affecting me too, but LP is timing out consistently)
Using apt version 0.9.7.5ubuntu2.
Launchpad Janitor (janitor) wrote : | #95 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in apt (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in apt (Ubuntu Precise): | |
status: | Confirmed → Fix Committed |
importance: | Undecided → High |
Brian Murray (brian-murray) wrote : | #96 |
- dummy-proxy Edit (648 bytes, text/plain)
Attached you'll find dummy-proxy referred to in the test case and from Colin Watson in bug 24061.
description: | updated |
Kayode Odusote (odusote-kayode) wrote : | #97 |
Has this bug been fixed or not and if it is has been fixed is the
update available with Update Manager?
I had the same problem recently whilst doing an update with the Update
Manager of 12.04 LTS and had to resort to the work around to fix it.
In fact, "sudo rm /var/lib/
.../lists/partial directory but I left it and did the "sudo apt-get
update" successfully.
Hope someone can find a permanent solution to this.
Kayode
On 10/10/12, Brian Murray <email address hidden> wrote:
> Attached you'll find dummy-proxy referred to in the test case and from
> Colin Watson in bug 24061.
>
> ** Description changed:
>
> 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/
> .com_ubuntu_
> lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server that
> returns html pages (like a web page requesting you to login) and not
> package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> - 1) Ensure /etc/apt/
> - 2) Setup proxy server to block access to archive.ubuntu.com and return
> something like http://
> - 3) Execute 'sudo apt-get update' in a terminal
> - 4) Observe the following:
> - 'E: Encountered a section with no Package: header
> - E: Problem with MergeList
> /var/lib/
> - E: The package lists or status file could not be parsed or opened.'
> - 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> - 6) run 'sudo rm /var/lib/
> + 1) download the dummy-proxy attachment from this bug report
> + 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> simulates a proxy that is not allowing access to archive.ubuntu.com and
> gives you garbage html instead)
> + 3) Execute 'http://
> + 4) Observe the following error messages in your terminal:
> + W: GPG error: http://
> /var/lib/
> doesn't start with a clearsigned message
> + W: Failed to fetch
> http://
> Hash entry in Release file /var/lib/
> archive.
> + W: Failed to fetch
> gzip:/var/
ric (ricartem) wrote : RE: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #98 |
Hi Kayode.
Pls close case then.
Thank you,
_______
Privileged / Confidential information may be contained in this message. If you are not the intended recipient, you must not copy, distribute or use it for any purpose, nor disclose its contents to any other person. Please notify the sender immediately if you have received this in error.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Kayode Odusote
Sent: Thursday, October 11, 2012 5:11 PM
To: Ricarte Malda Jr
Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
Has this bug been fixed or not and if it is has been fixed is the update available with Update Manager?
I had the same problem recently whilst doing an update with the Update Manager of 12.04 LTS and had to resort to the work around to fix it.
In fact, "sudo rm /var/lib/
Hope someone can find a permanent solution to this.
Kayode
On 10/10/12, Brian Murray <email address hidden> wrote:
> Attached you'll find dummy-proxy referred to in the test case and from
> Colin Watson in bug 24061.
>
> ** Description changed:
>
> 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/
> .com_ubuntu_
> lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server that
> returns html pages (like a web page requesting you to login) and not
> package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> - 1) Ensure /etc/apt/
> - 2) Setup proxy server to block access to archive.ubuntu.com and
> return something like
> http://
> - 3) Execute 'sudo apt-get update' in a terminal
> - 4) Observe the following:
> - 'E: Encountered a section with no Package: header
> - E: Problem with MergeList
> /var/lib/
> md64_Packages
> - E: The package lists or status file could not be parsed or opened.'
> - 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> - 6) run 'sudo rm /var/lib/
> + 1) download the dummy-proxy attac...
Kayode Odusote (odusote-kayode) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #99 |
Dear Ric,
If we close the case now then it would never be fixed and we would be
dependent of the work around permanently.
Kayode
On 10/11/12, ric <email address hidden> wrote:
> Hi Kayode.
>
> Pls close case then.
>
>
> Thank you,
>
>
>
> _______
> Privileged / Confidential information may be contained in this message. If
> you are not the intended recipient, you must not copy, distribute or use it
> for any purpose, nor disclose its contents to any other person. Please
> notify the sender immediately if you have received this in error.
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Kayode Odusote
> Sent: Thursday, October 11, 2012 5:11 PM
> To: Ricarte Malda Jr
> Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package
> files with "Encountered a section with no Package: header"
>
> Has this bug been fixed or not and if it is has been fixed is the update
> available with Update Manager?
>
> I had the same problem recently whilst doing an update with the Update
> Manager of 12.04 LTS and had to resort to the work around to fix it.
>
> In fact, "sudo rm /var/lib/
> .../lists/partial directory but I left it and did the "sudo apt-get
> update" successfully.
>
> Hope someone can find a permanent solution to this.
>
> Kayode
>
>
> On 10/10/12, Brian Murray <email address hidden> wrote:
>> Attached you'll find dummy-proxy referred to in the test case and from
>> Colin Watson in bug 24061.
>>
>> ** Description changed:
>>
>> 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/
>> .com_ubuntu_
>> package
>> lists or status file could not be parsed or opened.'
>>
>> WORKAROUND:
>> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
>> update.
>>
>> In the event that one is connected to a network with a proxy server
>> that
>> returns html pages (like a web page requesting you to login) and not
>> package list files. Those html files will get downloaded to
>> /var/lib/apt/lists/ and prevent someone from using a package manager
>> until the problem html pages are removed.
>>
>> TEST CASE:
>> - 1) Ensure /etc/apt/
>> - 2) Setup proxy server to block access to archive.ubuntu.com and
>> return something like
>> http://
>> - 3) Execute 'sudo apt-get update' in a terminal
>> - 4) Observe the following:
>> - 'E: Encountered a section with no Package: header
>> - E: Problem with MergeList
>> /var/lib/
>> md64_Packages
>> - E: The package lists or status file...
Mazilu Alexandra Cornelia (tigru132) wrote : | #100 |
the bug fixed, you are right about "sudo rm /var/lib/
remove the
.../lists/partial directory but the "sudo apt-get update" worked and now i
don't have any problem.
thank you
On Thu, Oct 11, 2012 at 10:10 AM, Kayode Odusote
<email address hidden>wrote:
> Has this bug been fixed or not and if it is has been fixed is the
> update available with Update Manager?
>
> I had the same problem recently whilst doing an update with the Update
> Manager of 12.04 LTS and had to resort to the work around to fix it.
>
> In fact, "sudo rm /var/lib/
> .../lists/partial directory but I left it and did the "sudo apt-get
> update" successfully.
>
> Hope someone can find a permanent solution to this.
>
> Kayode
>
>
>
> On 10/10/12, Brian Murray <email address hidden> wrote:
> > Attached you'll find dummy-proxy referred to in the test case and from
> > Colin Watson in bug 24061.
> >
> > ** Description changed:
> >
> > 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/
> > .com_ubuntu_
> package
> > lists or status file could not be parsed or opened.'
> >
> > WORKAROUND:
> > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> > update.
> >
> > In the event that one is connected to a network with a proxy server
> that
> > returns html pages (like a web page requesting you to login) and not
> > package list files. Those html files will get downloaded to
> > /var/lib/apt/lists/ and prevent someone from using a package manager
> > until the problem html pages are removed.
> >
> > TEST CASE:
> > - 1) Ensure /etc/apt/
> > - 2) Setup proxy server to block access to archive.ubuntu.com and return
> > something like http://
> > - 3) Execute 'sudo apt-get update' in a terminal
> > - 4) Observe the following:
> > - 'E: Encountered a section with no Package: header
> > - E: Problem with MergeList
> >
> /var/lib/
> > - E: The package lists or status file could not be parsed or opened.'
> > - 5) Try 'apt-cache policy apt' and be sad that it doesn't work
> > - 6) run 'sudo rm /var/lib/
> > + 1) download the dummy-proxy attachment from this bug report
> > + 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> > simulates a proxy that is not allowing access to archive.ubuntu.com and
> > gives you garbage html instead)
> > + 3) Execute 'http://
> > + 4) Observe the following error messages in your terminal:
> > + W: GPG error: http://
> >
> ...
Brian Murray (brian-murray) wrote : | #101 |
This bug report has multiple 'tasks' for the different releases in which it needs to be fixed. We have fixed this in the Quantal release of Ubuntu which will become 12.10. We are also actively working on fixing this in the 12.04 release of Ubuntu. When an updated version of apt is in the -proposed repository for 12.04 there will be a comment made on this bug report and it will contain information about how you can help test the fix so that we can move the package to the -updates repository.
Brian Murray (brian-murray) wrote : Please test proposed package | #102 |
Hello RonParent, or anyone else affected,
Accepted apt into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-
Further information regarding the verification process can be found at https:/
tags: | removed: verification-done |
tags: | added: verification-needed |
Chris Hunt (chranval) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #103 |
Brian
Thanks for this.
When I go to delete the file I don’t have permission.
Why is that, can you help.
Thanks
Chris Hunt
On 10/10/12 22:17, Brian Murray wrote:
> ** Changed in: apt (Ubuntu Precise)
> Status: Confirmed => Fix Committed
>
> ** Changed in: apt (Ubuntu Precise)
> Importance: Undecided => High
>
Manuel Spuhler (mspuhler35) wrote : | #104 |
Hey Chris
You can delete it in the Terminal with root:
"sudo rm /..."
or you can open Nautilus with root:
"sudo nautilus"
an there delete it.
Bye
Manuel Spuhler
Am 12.10.2012 09:25, schrieb Chris Hunt:
> Brian
> Thanks for this.
> When I go to delete the file I don’t have permission.
> Why is that, can you help.
> Thanks
> Chris Hunt
>
>
> On 10/10/12 22:17, Brian Murray wrote:
>> ** Changed in: apt (Ubuntu Precise)
>> Status: Confirmed => Fix Committed
>>
>> ** Changed in: apt (Ubuntu Precise)
>> Importance: Undecided => High
>>
David Parry (d-dry-parry) wrote : | #105 |
sudo before the command then you will
David Parry
On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <email address hidden> wrote:
> Brian
> Thanks for this.
> When I go to delete the file I don’t have permission.
> Why is that, can you help.
> Thanks
> Chris Hunt
>
>
> On 10/10/12 22:17, Brian Murray wrote:
>> ** Changed in: apt (Ubuntu Precise)
>> Status: Confirmed => Fix Committed
>>
>> ** Changed in: apt (Ubuntu Precise)
>> Importance: Undecided => High
>>
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1064994).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Committed
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this simulates a proxy that is not allowing access to archive.ubuntu.com and gives you garbage html instead)
> 3) Execute 'http://
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> W: Failed to fetch http://
> W: Failed to fetch gzip:/var/
> 5) Stop dummy-proxy
> 6) Execute 'sudo apt-get update' in a terminal
> 7) Observe the following error message:
> Reading package lists... Done
> W: GPG error: http://
Les H (les-horrocks) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package fileswith "Encountered a section with no Package: header" | #106 |
Couldn't we ask everyone to stop using the "reply to all" button?
----- Original Message -----
From: "David Parry" <email address hidden>
To: <email address hidden>
Sent: Friday, October 12, 2012 2:00 PM
Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package
fileswith "Encountered a section with no Package: header"
sudo before the command then you will
David Parry
On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <email address hidden>
wrote:
> Brian
> Thanks for this.
> When I go to delete the file I don’t have permission.
> Why is that, can you help.
> Thanks
> Chris Hunt
>
>
> On 10/10/12 22:17, Brian Murray wrote:
>> ** Changed in: apt (Ubuntu Precise)
>> Status: Confirmed => Fix Committed
>>
>> ** Changed in: apt (Ubuntu Precise)
>> Importance: Undecided => High
>>
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1064994).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Committed
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> simulates a proxy that is not allowing access to archive.ubuntu.com and
> gives you garbage html instead)
> 3) Execute 'http://
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> /var/lib/
> doesn't start with a clearsigned message
> W: Failed to fetch
> http://
> Hash entry in Release file /var/lib/
> archive.
> W: Failed to fetch
> gzip:/v...
Kayode Odusote (odusote-kayode) wrote : | #107 |
No CHOICE. Who does one reply to?
On 10/12/12, Les H <email address hidden> wrote:
> Couldn't we ask everyone to stop using the "reply to all" button?
>
> ----- Original Message -----
> From: "David Parry" <email address hidden>
> To: <email address hidden>
> Sent: Friday, October 12, 2012 2:00 PM
> Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package
> fileswith "Encountered a section with no Package: header"
>
>
> sudo before the command then you will
> David Parry
>
>
> On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <email address hidden>
> wrote:
>> Brian
>> Thanks for this.
>> When I go to delete the file I don’t have permission.
>> Why is that, can you help.
>> Thanks
>> Chris Hunt
>>
>>
>> On 10/10/12 22:17, Brian Murray wrote:
>>> ** Changed in: apt (Ubuntu Precise)
>>> Status: Confirmed => Fix Committed
>>>
>>> ** Changed in: apt (Ubuntu Precise)
>>> Importance: Undecided => High
>>>
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1064994).
>> https:/
>>
>> 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” source package in Natty:
>> Fix Released
>> Status in “apt” source package in Precise:
>> Fix Committed
>> 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/
>> .com_ubuntu_
>> package lists or status file could not be parsed or opened.'
>>
>> WORKAROUND:
>> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
>> update.
>>
>> In the event that one is connected to a network with a proxy server
>> that returns html pages (like a web page requesting you to login) and
>> not package list files. Those html files will get downloaded to
>> /var/lib/apt/lists/ and prevent someone from using a package manager
>> until the problem html pages are removed.
>>
>> TEST CASE:
>> 1) download the dummy-proxy attachment from this bug report
>> 2) run dummy-proxy (python dummy-proxy) on a precise system (this
>> simulates a proxy that is not allowing access to archive.ubuntu.com and
>> gives you garbage html instead)
>> 3) Execute 'http://
>> 4) Observe the following error messages in your terminal:
>> W: GPG error: http://
>> /var/lib/
>>
>> doesn't start with a clearsigned message
>> W: Failed to fetch
>> http://
Adam Conrad (adconrad) wrote : Please test proposed package | #108 |
Hello RonParent, or anyone else affected,
Accepted apt into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-
Further information regarding the verification process can be found at https:/
Brian Murray (brian-murray) wrote : | #109 |
Using apt version 0.8.16~
description: | updated |
tags: |
added: verification-done removed: verification-needed |
description: | updated |
Adam Conrad (adconrad) wrote : Update Released | #110 |
The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.
Launchpad Janitor (janitor) wrote : | #111 |
This bug was fixed in the package apt - 0.8.16~
---------------
apt (0.8.16~
* apt-pkg/
- Fix crash if the cache is remapped while writing a Provides version
(LP: #1066445).
apt (0.8.16~
[ David Kalnischkies ]
* apt-pkg/
- do not run into loop on new-pre-
LP: #1050791
* apt-pkg/
- clean up lost atomic cachefiles with 'clean' (Closes: #650513)
LP: #1050779
[ TJ ]
* apt-pkg/
- increase LOGINSIZE/
if the limits are reached (LP: #1065429)
[ Michael Vogt ]
* lp:~mvo/apt/lp346386-precise:
- fail gracefully when a InRelease file is not valid, e.g. behind
paywalls (LP: #346386)
-- Colin Watson <email address hidden> Mon, 15 Oct 2012 05:42:45 +0100
Changed in apt (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
madhani harsh (harshmadhani) wrote : | #114 |
This is not a bug according to sites ranging from Google Safe Browsing to
Online Link Scan.Also manually the page's access is forbidden.
On 21 December 2012 21:10, Derek James <email address hidden> wrote:
> This link contains a Trojan according to Avast - some additional
> security please.
>
> Derek James
> <email address hidden>
> Mobile +44 7808 203859
> Home +44 1253 795979
> Skype derek.r.james
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Tadhg McSherry
> Sent: 20 December 2012 04:43
> To: <email address hidden>
> Subject: [Bug 346386]
>
> http://
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (997684).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> simulates a proxy that is not allowing access to archive.ubuntu.com and
> gives you garbage html instead)
> 2.5) Execute 'sudo -i' in a terminal
> 3) Execute 'http_proxy=http://
> terminal
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> /var/lib/
> doesn't start with a clearsigned message
> W: Failed to fetch
> http://
> Hash entry in Release file /var/lib/
> archive.
> W: Failed to fetch
> gzip:/var/
monomakh (monomakh) wrote : | #115 |
same problem on dist-upgrade from 13.04 to 13.10
fulvio (fulvio-parodi) wrote : Re: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" | #116 |
Many thanks for the help, i'll try to do every step you advice me :-)
2013/10/17 Vladimir Plotnikov <email address hidden>
> same problem on dist-upgrade from 13.04 to 13.10
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1095148).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> simulates a proxy that is not allowing access to archive.ubuntu.com and
> gives you garbage html instead)
> 2.5) Execute 'sudo -i' in a terminal
> 3) Execute 'http_proxy=http://
> terminal
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> /var/lib/
> doesn't start with a clearsigned message
> W: Failed to fetch
> http://
> Hash entry in Release file /var/lib/
> archive.
> W: Failed to fetch
> gzip:/var/
> Encountered a section with no Package: header
> 5) Stop dummy-proxy
> 6) Execute 'sudo apt-get update' in a terminal
> 7) Observe the following error message:
> Reading package lists... Done
> W: GPG error: http://
> signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
> Signing Key <email address hidden>
> 8) Remove the problematic files in /var/lib/apt/lists (sudo rm
> /var/lib/
>
> Install apt from ...
Dany (dany-kaiser-il) wrote : | #117 |
The suggested work around was not correct in my case as there was a directory under the /lists directory named 'partial'. Work around was rmdir /var/lib/
Reyes Elena (elenareyesg) wrote : | #118 |
Merci beaucoup !
Avec votre méthode j'ai réussi à résoudre mon problème et cela est très gratifiant pour quelqu'un comme moi qui ne connais pas grand chose à l'informatique.
Aujourd'hui j'ai réalisé mon 1er. "update" depuis des mois.
Envoyé de mon iPad
Le 30 déc. 2013 à 11:09, Dany <email address hidden> a écrit :
> The suggested work around was not correct in my case as there was a
> directory under the /lists directory named 'partial'. Work around was
> rmdir /var/lib/
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1256126).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this simulates a proxy that is not allowing access to archive.ubuntu.com and gives you garbage html instead)
> 2.5) Execute 'sudo -i' in a terminal
> 3) Execute 'http_proxy=http://
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> W: Failed to fetch http://
> W: Failed to fetch gzip:/var/
> 5) Stop dummy-proxy
> 6) Execute 'sudo apt-get update' in a terminal
> 7) Observe the following error message:
> Reading package lists... Done
>...
fulvio (fulvio-parodi) wrote : | #119 |
non sono in grado di farlo ora; grazie per i consigli e la disponibilità,
spero quanto prima di poter riparare il programma secondo le vostre precise
istruzioni.
Ancora molti ringraziamenti... :-)
2013/10/17 Vladimir Plotnikov <email address hidden>
> same problem on dist-upgrade from 13.04 to 13.10
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1095148).
> https:/
>
> 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” source package in Natty:
> Fix Released
> Status in “apt” source package in Precise:
> Fix Released
> 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/
> .com_ubuntu_
> package lists or status file could not be parsed or opened.'
>
> WORKAROUND:
> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get
> update.
>
> In the event that one is connected to a network with a proxy server
> that returns html pages (like a web page requesting you to login) and
> not package list files. Those html files will get downloaded to
> /var/lib/apt/lists/ and prevent someone from using a package manager
> until the problem html pages are removed.
>
> TEST CASE:
> 1) download the dummy-proxy attachment from this bug report
> 2) run dummy-proxy (python dummy-proxy) on a precise system (this
> simulates a proxy that is not allowing access to archive.ubuntu.com and
> gives you garbage html instead)
> 2.5) Execute 'sudo -i' in a terminal
> 3) Execute 'http_proxy=http://
> terminal
> 4) Observe the following error messages in your terminal:
> W: GPG error: http://
> /var/lib/
> doesn't start with a clearsigned message
> W: Failed to fetch
> http://
> Hash entry in Release file /var/lib/
> archive.
> W: Failed to fetch
> gzip:/var/
> Encountered a section with no Package: header
> 5) Stop dummy-proxy
> 6) Execute 'sudo apt-get update' in a terminal
> 7) Observe the following error message:
> Reading package lists... Done
> W: GPG error: http://
> signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
> Signing Key <ftpmaste...
Ubuntu QA Website (ubuntuqa) wrote : | #120 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
tags: | added: iso-testing |
bijay_ant (bijay-ant) wrote : | #121 |
Similar Issue with me as well. The same problem occured with my regular desktop computer, Then I tried to install fresh ubuntu 14.04 on another computer yet same problem occured
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
Bug confirmed
Thanx in advance
Changed in apt (Ubuntu): | |
assignee: | nobody → Pavel muhlheim (procomp26) |
Changed in apt (Ubuntu): | |
assignee: | Pavel muhlheim (procomp26) → nobody |
I confirm this bug. It started today.
2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
All updates done. Proposed NOT enabled.
It prevents Synaptic and Update-Manager GUIs to run. They shut down upon encountering the error.
From terminal it looks like this:
$ sudo aptitude update apt/lists/ ftp.heanet. ie_pub_ ubuntu_ dists_jaunty- updates_ main_binary- i386_Packages apt/lists/ ftp.heanet. ie_pub_ ubuntu_ dists_jaunty- updates_ main_binary- i386_Packages
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
apt-get returns the same
Update Manager returns more or less the same in the GUI:
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/ apt/lists/ ftp.heanet. ie_pub_ ubuntu_ dists_jaunty- updates_ main_binary- i386_Packages, E:The package lists or status file could not be parsed or opened.'
It is a duplicate of https:/ /bugs.launchpad .net/bugs/ 358012 reported in Synaptic. And it is not repository specific as suggested in some places.
It is an old bug it seems, fixed in 2003, that has come back: bugs.debian. org/cgi- bin/bugreport. cgi?bug= 195301 - where it says:
http://
"This bug was fixed in 0.8.5 with the help of Matt Zimmermann."
Following these instructions works for some (from http:// oclug.on. ca/archives/ linux/2007- February/ 001056. html):
cd /var/lib/dpkg
sudo mv status status-bad
sudo cp status-old status
sudo apt-get update
apt-get upgrade
For others this was also needed:
sudo rm -f /var/lib/dpkg/lock
While for the rest of us nothing seems to work so far!
In other words: CONFIRMED