[Bug 194436] Re: Encountered a section with no Package: header

2009-06-30 Thread Rascal999
I believe this problem occurs when users gateway returns a html page
instead of the respective package file. If a check on the file to make
sure it's not a html page is done before attempting to use it, the
problem could be avoided, or at least made known to the user.

-- 
Encountered a section with no Package: header
https://bugs.launchpad.net/bugs/194436
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 393826] [NEW] Update manager fails - Encountered a section with no Package: header [Problem and fix]

2009-06-30 Thread Rascal999
Public bug reported:

Binary package hint: update-manager

Some users find themselves unable to update/run the package manager with
one of the following errors:

Encountered a section with no Package: header
E: The package lists or status file could not be parsed or opened.

This can occur when the update manager attempts to download package
lists, but receives a HTML document from their gateway.

If the package manager could determine the format of the package lists,
making sure it's not a HTML file, before trying to parse it, the manager
could rectify or, at least, inform the user that it is unable to
update/download because it is having trouble downloading the package
lists.

In order to resolve this issue, I removed all files under
/var/lib/apt/lists and ran 'sudo apt-get update', perhaps the package
manager could automate this process?

Thanks Ubuntu Team! :)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: update-manager 1:0.111.9
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-13-generic i686

** Affects: update-manager (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
Update manager fails - Encountered a section with no Package: header [Problem 
and fix]
https://bugs.launchpad.net/bugs/393826
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 393826] Re: Update manager fails - Encountered a section with no Package: header [Problem and fix]

2009-06-30 Thread Rascal999

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/28547677/Dependencies.txt

-- 
Update manager fails - Encountered a section with no Package: header [Problem 
and fix]
https://bugs.launchpad.net/bugs/393826
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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