Dear xmac - I am sorry , I did not realize you were waiting for a fix -
The following worked for me. I am a complete novice but have been able
to sort out all my problems by searching all the forums that google has
given me when I search for my problems.It can take a while finding the
answers but so far I have been lucky. I hope this works for you , I
deleted all the files as stated in Bug #393826 and all went well. after
you have run the update, look in /var/lib/apt/lists and it should have
all the files correctly (automatically) reinstated. Good luck and let me
know if all goes well. I will help as much as I can.



Log in / Register

Launchpad  > Ubuntu > “update-manager” package
 

Overview / Code / Bugs / Blueprints / Translations / Answers


Bug #393826 reported by Rascal999 on 2009-06-30 (Activity log) 

Bug #393826: 
This report is public 
Update manager fails - "Encountered a section with no Package:
header" [Problem and fix] 
Mark as duplicate 
Convert to a question 
 Affects
  Status
Importance
 Assigned
    to
Milestone
  
update-manager (Ubuntu) 
New 
Undecided 
  


You are
not the
bug
assignee
nor the
maintainer
of
update-manager (Ubuntu), and therefore cannot edit this bug's status. 

Affecting:
update-manager (Ubuntu)
Filed
here
 by:
Rascal999
When:
2009-06-30 
Package 

(Choose…) 
Status 
Importance 

Undecided 
Assigned
to 

Nobody

Me


(Choose…) 
Comment on
this
change
(optional) 
 E-mail me
about
changes to
this bug
report 
Also affects project Also affects distribution Nominate for release 
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


Tags: apport-bug i386 
  Ok Cancel 
Add tags 
Update description / tags 

Link a related branch

Link to CVE 
#1 
Rascal999 wrote on 2009-06-30: 
      * Dependencies.txt (4.4 KiB, text/plain; charset="utf-8") 

                  To post a comment you must log in.

What next?
      * Report another bug about update-manager in ubuntu 
      * List open bugs for update-manager in ubuntu 
Subscribe/Unsubscribe
Subscribing...
Subscribe someone else

Subscribers
Rascal999 
Also notified
3n!Gma
Alex
Auro Florentino
CRC
Charlie_Smotherman (porthose)
Conrad J. Sabatier
Cory
DEEPAK JOSHI
Georgios Keramiotis
Hidagawa
Jack Hoke
Jean-Baptiste Lallement
Jesse Jones
Judy
Keith-kb7zpb
Ken Currie
Lannes
Lars Wirzenius
Lauri
Leviathan
Luigie
Luis Alves
Mattia Musiello
Michael Vogt
Mr. MInhaj
PCTeacher012
Paolo Topa
Pertti Uusiluoto
Peter Bullert
Pramod
RY Seshan
Richard Seguin
Richard Thomas
RistoH
Steve Bert
Sylvia LV
Thiago BR
Travis Northrup
Ubuntu Bugs
Vasanth
Vic Parker
Virender Sharma
agriffis
ahepas
alxalx
basilisgabri
blackjack72
commarla
dalought
dave.shar
eoininmoran
fromearth
jamiepr
joop
jsds
lauro taddei
mvermoim
phus...@yahoo.com
pierrot66
proje...@hotmail.com
radiolinux
rauliño
stefano
subairkm
tildar
twager
vanessa
xxx
yzrider261
Bug attachments
      * Dependencies.txt (edit) 
      * Add 
Search
Enter bug ID or keywords:


Show all open bugs


What is Launchpad? | Get help with Launchpad 
© 2004-2009 Canonical Ltd. | Terms of use 





On Mon, 2009-08-24 at 01:14 +0000, xmac wrote:
> the strage thing was that after deleting the 4 files out of 60 files in the 
> directory /var/lib/apt/lists
> they remained 49 !!!
> and now they are again 60 files in that directory !!!
> but, the update manager doesn't work :-(
>

-- 
update-manager: "Could not initialize the package information"
https://bugs.launchpad.net/bugs/410131
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

Reply via email to