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

2014-01-03 Thread fulvio
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 346...@bugs.launchpad.net

 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://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” 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/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) 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://localhost:8080 apt-get update' in same
 terminal
   4) Observe the following error messages in your terminal:
   W: GPG error: http://archive.ubuntu.com precise InRelease: File
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease
 doesn't  start with a clearsigned message
   W: Failed to fetch
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  No
 Hash entry in Release file /var/lib/apt/lists/partial/
  archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
   W: Failed to fetch
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
 Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The following
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
Signing Key ftpmas...@ubuntu.com
   8) Remove the problematic files in /var/lib/apt/lists (sudo rm
 /var/lib/apt/lists/*)

   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://localhost:8080 apt-get update' in same
 terminal
   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://archive.ubuntu.com/ubuntu/dists/precise/Release
   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

 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2014-01-01 Thread Reyes Elena
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 dany.kaiser...@gmail.com 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/apt/lists/partial and then run apt-get update.
 
 -- 
 You received this bug notification because you are subscribed to a
 duplicate bug report (1256126).
 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” 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/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) 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://localhost:8080 apt-get update' in same terminal
  4) Observe the following error messages in your terminal:
  W: GPG error: http://archive.ubuntu.com precise InRelease: File 
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease 
 doesn't  start with a clearsigned message
  W: Failed to fetch 
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  No Hash 
 entry in Release file /var/lib/apt/lists/partial/
 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
  W: Failed to fetch 
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
  Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The following 
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic 
  Signing Key ftpmas...@ubuntu.com
  8) Remove the problematic files in /var/lib/apt/lists (sudo rm 
 /var/lib/apt/lists/*)
 
  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://localhost:8080 apt-get update' in same terminal
  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://archive.ubuntu.com/ubuntu/dists/precise/Release
  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
 
 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2013-10-20 Thread fulvio
Many thanks for the help, i'll try to do every step you advice me :-)


2013/10/17 Vladimir Plotnikov 346...@bugs.launchpad.net

 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://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” 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/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) 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://localhost:8080 apt-get update' in same
 terminal
   4) Observe the following error messages in your terminal:
   W: GPG error: http://archive.ubuntu.com precise InRelease: File
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease
 doesn't  start with a clearsigned message
   W: Failed to fetch
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  No
 Hash entry in Release file /var/lib/apt/lists/partial/
  archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
   W: Failed to fetch
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
 Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The following
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
Signing Key ftpmas...@ubuntu.com
   8) Remove the problematic files in /var/lib/apt/lists (sudo rm
 /var/lib/apt/lists/*)

   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://localhost:8080 apt-get update' in same
 terminal
   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://archive.ubuntu.com/ubuntu/dists/precise/Release
   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

 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-10-12 Thread 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


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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-10-12 Thread Manuel Spuhler
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


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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-10-12 Thread David Parry
sudo before the command then you will
David Parry


On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt 346...@bugs.launchpad.net 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://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” 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/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) 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://localhost:8080 sudo apt-get update' in a terminal
   4) Observe the following error messages in your terminal:
   W: GPG error: http://archive.ubuntu.com precise InRelease: File 
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease 
 doesn't  start with a clearsigned message
   W: Failed to fetch 
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  No Hash 
 entry in Release file /var/lib/apt/lists/partial/
 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
   W: Failed to fetch 
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
  Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The following 
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic 
  Signing Key ftpmas...@ubuntu.com
   8) Remove the problematic files in /var/lib/apt/lists (sudo rm 
 /var/lib/apt/lists/*)

   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)
   2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal
   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://archive.ubuntu.com/ubuntu/dists/precise/Release
   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

 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-10-11 Thread Kayode Odusote
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/apt/lists/* did not remove the
.../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 br...@ubuntu.com 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/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.
 + 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://localhost:8080 sudo apt-get update' in a terminal
 + 4) Observe the following error messages in your terminal:
 + W: GPG error: http://archive.ubuntu.com precise InRelease: File
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease
 doesn't  start with a clearsigned message
 + W: Failed to fetch
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  No
 Hash entry in Release file /var/lib/apt/lists/partial/
 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
 + W: Failed to fetch
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
 Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The following
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
   Signing Key ftpmas...@ubuntu.com
 + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm
 /var/lib/apt/lists/*)

 - 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
 + 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)
 + 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal
 + 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://archive.ubuntu.com/ubuntu/dists/precise/Release
 + 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

 ** Attachment added: dummy-proxy

 

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

2012-10-11 Thread ric
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: boun...@canonical.com [mailto:boun...@canonical.com] 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/apt/lists/* did not remove the
.../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 br...@ubuntu.com 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/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-a
 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/apt/lists/*Packages' to clear the error.
 + 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://localhost:8080 sudo apt-get update' in a terminal
 + 4) Observe the following error messages in your terminal:
 + W: GPG error: http://archive.ubuntu.com precise InRelease: File
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR
 elease doesn't  start with a clearsigned message
 + W: Failed to fetch
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index  
 No Hash entry in Release file /var/lib/apt/lists/partial/ 
 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
 + W: Failed to fetch
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
 Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The 
 + following
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
   Signing Key ftpmas...@ubuntu.com
 + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm
 /var/lib/apt/lists/*)

 - 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
 + 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 

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

2012-10-11 Thread Kayode Odusote
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 ricar...@sim.edu.sg 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: boun...@canonical.com [mailto:boun...@canonical.com] 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/apt/lists/* did not remove the
 .../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 br...@ubuntu.com 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/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-a
 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/apt/lists/*Packages' to clear the error.
 + 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://localhost:8080 sudo apt-get update' in a terminal
 + 4) Observe the following error messages in your terminal:
 + W: GPG error: http://archive.ubuntu.com precise InRelease: File
 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR
 elease doesn't  start with a clearsigned message
 + W: Failed to fetch
 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index
 No Hash entry in Release file /var/lib/apt/lists/partial/
 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
 + W: Failed to fetch
 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources
 Encountered a section with noPackage: 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://archive.ubuntu.com precise Release: The
 + following
 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
   Signing Key ftpmas...@ubuntu.com
 + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm
 /var/lib/apt/lists/*)

 - 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
 + Install apt 

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

2012-09-11 Thread Tadhg McSherry
Thank you, appreciated.

On 6 September 2012 20:36, Launchpad Bug Tracker
346...@bugs.launchpad.netwrote:

 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/contrib/strutl.cc:
 - 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://bzr.debian.org/bzr/apt/apt/debian-sid:

   [ 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/packagemanager.cc:
 - 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_preferences.5.xml:
 - use the correct interval (x = P  y) for pin value documentation as
   these are the intervals used by the code (Closes: #685989)
   * apt-pkg/indexcopy.cc:
 - 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 michael.v...@ubuntu.com   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://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



-- 
Tadhg McSherry,
Westbury,
Newtown,
Bonnettstown,
Co. Kilkenny

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

2012-08-13 Thread Gustavo Hernandez
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 marc.deslauri...@canonical.com
Para: ghernan...@yahoo.com.mx 
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://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:
  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/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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-06-08 Thread Hans Unland
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://bazaar.launchpad.net/~ubuntu-
 branches/ubuntu/precise/apt/precise/revision/1.5.24

 which states:

 * apt-pkg/acquire-item.{cc,h}:
   - do not check for a Package tag in optional index targets
 like the translations index

 and we can see the code change at:

 http://bazaar.launchpad.net/~ubuntu-
 branches/ubuntu/precise/apt/precise/revision/1.5.24/apt-pkg/acquire-
 item.cc#apt-pkg/acquire-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://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:
   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/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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-06-07 Thread Gongqin Chen
On Thursday, June 7, 2012, Brian Murray wrote:

 The change that fixed this bug was modified in the following merge with
 Debian:

 http://bazaar.launchpad.net/~ubuntu-
 branches/ubuntu/precise/apt/precise/revision/1.5.24

 which states:

 * apt-pkg/acquire-item.{cc,h}:
  - do not check for a Package tag in optional index targets
like the translations index

 and we can see the code change at:

 http://bazaar.launchpad.net/~ubuntu-
 branches/ubuntu/precise/apt/precise/revision/1.5.24/apt-pkg/acquire-
 item.cc#apt-pkg/acquire-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://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:
  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/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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-09-22 Thread Jiayao Xie
Thanks a lot. The problem has been solved. The instruction provided by 
https://bugs.launchpad.net/bugs/346386 can solve the problem.


 


 Date: Tue, 20 Sep 2011 15:37:55 +
 From: 346...@bugs.launchpad.net
 To: vebud...@hotmail.com
 Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package 
 fileswith 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 346...@bugs.launchpad.net wrote:
 
 From: Diego Alcántara 346...@bugs.launchpad.net
 Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files 
 with Encountered a section with no Package: header
 To: chrisbound...@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 (826842).
 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 

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

2011-09-21 Thread soohyun
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 +
 From: 346...@bugs.launchpad.net
 To: ks...@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 346...@bugs.launchpad.net wrote:
 
 From: Diego Alcántara 346...@bugs.launchpad.net
 Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files 
 with Encountered a section with no Package: header
 To: chrisbound...@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 

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

2011-09-21 Thread Hobson Lane
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
avam...@hotmail.comwrote:

 The suggested fix:

  sudo rm /var/lib/apt/lists/* -vf
  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://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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-09-20 Thread Chris Bounds
Is there anything I can do to correct the problem?

--- On Tue, 9/20/11, Diego Alcántara 346...@bugs.launchpad.net wrote:

From: Diego Alcántara 346...@bugs.launchpad.net
Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files with 
Encountered a section with no Package: header
To: chrisbound...@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 a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-07-04 Thread Zarir Syafiqie
for me, just delete the folder and reboot the pc.. try to update again after
finished booting...

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-29 Thread Edward Goldstick
*** This bug is a duplicate of bug 346386 ***
https://bugs.launchpad.net/bugs/346386

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://ubuntuforums.org/showthread.php?t=863742
 
 The solution was to type on terminal :
 
 sudo rm /var/lib/apt/lists/* -vf
 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://bugs.launchpad.net/bugs/802061

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://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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/802061

Title:
  update-manager fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/802061/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-28 Thread PMPope
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 346...@bugs.launchpad.net wrote:
 'E:Encountered a section with no Package: header, E:Problem with MergeList
/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages,
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://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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-27 Thread Hobson Lane
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
steve.langa...@canonical.com 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/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.'
 +  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

 ** Tags added: verification-done
 ** Tags removed: verification-needed

 --
 You received this bug notification because you are subscribed to a
 duplicate bug report (800438).
 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 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 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 

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

2011-06-24 Thread Tyler Kasper
Go ahead and take me off of this email list. Because honestly I just don't
give a shit anymore.

On Jun 24, 2011 11:12 AM, Martin Pitt martin.p...@ubuntu.com wrote:

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://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!


** Changed in: apt (Ubuntu Natty)
  Status: In Progress = Fix Committed

** Tags added: verification-needed


-- 
You received this bug notification because you are subscribed to a
duplicate bug report (741716...
 Fix Committed

Status in “apt” package in Debian:
Unknown

Bug description:
Binary package hint: adept-updater
...

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-17 Thread Hideki Tawarayama
I fixed this bug.
Thank you.


(2011年06月17日 02:51), Dalison Rocha wrote:
 Obrigado!(Thank you!)

 2011/6/14 Med Idriss Taki346...@bugs.launchpad.net

 Thank you all of you
 I had this bug too on Ubuntu 11.04.
 Now it is fixed with this:

 sudo rm /var/lib/apt/lists/* -vf
 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://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:
   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/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

   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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-16 Thread Dalison Rocha
Obrigado!(Thank you!)

2011/6/14 Med Idriss Taki 346...@bugs.launchpad.net

 Thank you all of you
 I had this bug too on Ubuntu 11.04.
 Now it is fixed with this:

  sudo rm /var/lib/apt/lists/* -vf
  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://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:
  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/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

  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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-16 Thread Dalison Rocha
Obrigado!(Thank you!)

2011/6/14 jim carlson 346...@bugs.launchpad.net

 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 +
  From: 346...@bugs.launchpad.net
  To: carxf...@hotmail.com
  Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package
 fileswith 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/apt/lists/* -vf
   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://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:
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/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
 
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 (796740).
 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:
  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/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 

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

2011-06-16 Thread Dalison Rocha
Obrigado!(Thank you!)

2011/6/14 Brian Murray br...@ubuntu.com

 Attached is a debdiff suitable for SRU to Natty.

 ** Patch added: apt_0.8.13.2ubuntu4.debdiff

 https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/2169144/+files/apt_0.8.13.2ubuntu4.debdiff

 --
 You received this bug notification because you are subscribed to a
 duplicate bug report (796740).
 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:
  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/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

  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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-16 Thread PMPope
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://creativecommons.org/licenses/by-nc-sa/3.0/
Works by PMPope 2011

by PMPope, Philip M.
Popehttp://creativecommons.org/choose/www.edgedata.blogspot.com

is licensed under a
http://creativecommons.org/licenses/by-nc-sa/3.0/

Creative Commons Attribution-NonCommercial-ShareAlike
http://creativecommons.org/licenses/by-nc-sa/3.0/

3.0 Unported License http://creativecommons.org/licenses/by-nc-
sa/3.0/.

*704-726-2780*

*2011*
Signature powered by
http://www.wisestamp.com/email-install?utm_source=extensionutm_medium=emailutm_campaign=footer
WiseStamphttp://www.wisestamp.com/email-install?utm_source=extensionutm_medium=emailutm_campaign=footer


On Thu, Jun 9, 2011 at 9:19 PM, Xillix 346...@bugs.launchpad.net
wrote:

 I had this issue and fixed it by the following. Make sure you are
 authenticated before running the rm.

 sudo rm /var/lib/apt/lists/* -vf
 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://bugs.launchpad.net/bugs/346386

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

 Status in “apt” package in Ubuntu:
  Fix Released
 Status in “apt” package in Debian:
  Unknown

 Bug description:
  Binary package hint: adept-updater

  Pertinent data printed when attempting to run Updater as follows:

  An unresolvable problem occurred while initializing the package
  information.

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

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

  Ubuntu 8.10

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

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

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


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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-14 Thread jim carlson
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 +
 From: 346...@bugs.launchpad.net
 To: carxf...@hotmail.com
 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/apt/lists/* -vf
  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://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:
   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/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
 
   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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/346386

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-09 Thread S Venkata Srikanth
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 br...@ubuntu.com
To: svsrikanth2...@yahoo.com
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://bugs.launchpad.net/bugs/346386

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

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” package in Debian:
  Unknown

Bug description:
  Binary package hint: adept-updater

  Pertinent data printed when attempting to run Updater as follows:

  An unresolvable problem occurred while initializing the package
  information.

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

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

  Ubuntu 8.10

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

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

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscribe

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-09 Thread Teddy
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/apt/lists/* -vf
 sudo apt-get clean
 sudo apt-get update
 sudo apt-get upgrade


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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-01 Thread Anne Chalmers
Many thanks for feedback much appreciated

On Thu, May 26, 2011 at 3:03 PM, Jean-Baptiste Lallement 
jean-bapti...@ubuntu.com 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://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:
  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/apt/lists/us.archive.ubuntu
  .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The
  package lists or status file could not be parsed or opened.'

  Ubuntu 8.10

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

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

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscribe



-- 
love and peace x

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs