[Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
soohyun
346386 at bugs.launchpad.net
Wed Sep 21 06:28:50 UTC 2011
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: 346386 at bugs.launchpad.net
> To: ksonk at hotmail.com
> 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 <346386 at bugs.launchpad.net> wrote:
>
> From: Diego Alcántara <346386 at bugs.launchpad.net>
> Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
> To: chrisbounds26 at yahoo.com
> 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://bugs.launchpad.net/bugs/346386
>
> Title:
> [MASTER] Update fails with invalid package files with "Encountered a
> section with no Package: header"
>
> Status in “apt” package in Ubuntu:
> Fix Released
> Status in “apt” 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/apt/lists/us.archive.ubuntu
> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The
> package lists or status file could not be parsed or opened.'
>
> 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/sources.list points to archive.ubuntu.com
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://people.canonical.com/~brian/tmp/not-packages.html
> 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/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_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/apt/lists/*Packages' to clear the error.
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B]
> Ign http://archive.ubuntu.com oneiric InRelease
> E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following 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://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (809075).
> https://bugs.launchpad.net/bugs/346386
>
> Title:
> [MASTER] Update fails with invalid package files with "Encountered a
> section with no Package: header"
>
> Status in “apt” package in Ubuntu:
> Fix Released
> Status in “apt” 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/apt/lists/us.archive.ubuntu
> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The
> package lists or status file could not be parsed or opened.'
>
> 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/sources.list points to archive.ubuntu.com
> 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://people.canonical.com/~brian/tmp/not-packages.html
> 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/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_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/apt/lists/*Packages' to clear the error.
>
> With the proposed package installed repeat steps 1 to 3.
> 4) Observe the following:
> ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B]
> Ign http://archive.ubuntu.com oneiric InRelease
> E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following 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://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/346386
Title:
[MASTER] Update fails with invalid package files with "Encountered a
section with no Package: header"
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” 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/apt/lists/us.archive.ubuntu
.com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The
package lists or status file could not be parsed or opened.'
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/sources.list points to archive.ubuntu.com
2) Setup proxy server to block access to archive.ubuntu.com and return something like http://people.canonical.com/~brian/tmp/not-packages.html
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/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_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/apt/lists/*Packages' to clear the error.
With the proposed package installed repeat steps 1 to 3.
4) Observe the following:
''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B]
Ign http://archive.ubuntu.com oneiric InRelease
E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following 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://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions
More information about the foundations-bugs
mailing list