Re: Corrupted security update package files

2011-12-04 Thread Florian Weimer
* Bill Wohler:

 When updating lenny this morning (yes, upgrading is on my todo list), I
 got the following error:

 E: Problem with MergeList 
 /var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
 E: The package lists or status file could not be parsed or opened.
 E: Couldn't rebuild package cache

The security archive underwent maintenance this weekend.  This issue
has been addressed.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ty5g8ri3@mid.deneb.enyo.de



Re: Corrupted security update package files

2011-12-04 Thread Bob Proulx
Bob Proulx wrote:
 It will need to be fixed in the security archive.  I am sure a fix
 will come through quickly.

Everything is working okay this morning.  The problem in the security
archive has been fixed.  If you had commented out or removed the
security repository for this problem then you should undo that and
reconnect with the security archive.  There is at least one new
security release available this morning.

Bob


signature.asc
Description: Digital signature


Re: Corrupted security update package files

2011-12-04 Thread Bill Wohler
Florian Weimer f...@deneb.enyo.de writes:

 * Bill Wohler:

 When updating lenny this morning (yes, upgrading is on my todo list), I
 got the following error:

 E: Problem with MergeList 
 /var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
 E: The package lists or status file could not be parsed or opened.
 E: Couldn't rebuild package cache

 The security archive underwent maintenance this weekend.  This issue
 has been addressed.

Confirmed, thanks!

-- 
Bill Wohler woh...@newt.com aka bill.woh...@nasa.gov
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxb8vxhw@olgas.newt.com



Corrupted security update package files

2011-12-03 Thread Bill Wohler
When updating lenny this morning (yes, upgrading is on my todo list), I
got the following error:

E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache

Looking on the mailing list, it appears to be a problem with squeeze as
well. I tried clearing the files in /var/lib/apt/lists. I still got a
zero-sized Packages file:

-rw-r--r-- 1 root root92374 Dec  3 09:43 
security.debian.org_dists_lenny_updates_Release
-rw-r--r-- 1 root root  836 Dec  3 09:43 
security.debian.org_dists_lenny_updates_Release.gpg
-rw-r--r-- 1 root root0 Dec  3 09:37 
security.debian.org_dists_lenny_updates_contrib_binary-i386_Packages
-rw-r--r-- 1 root root0 Dec  3 09:37 
security.debian.org_dists_lenny_updates_contrib_source_Sources
-rw-r--r-- 1 root root  1870959 Dec  3 09:37 
security.debian.org_dists_lenny_updates_main_binary-i386_Packages
-rw-r--r-- 1 root root   480423 Dec  3 09:36 
security.debian.org_dists_lenny_updates_main_source_Sources
-rw-r--r-- 1 root root0 Dec  3 09:37 
security.debian.org_dists_lenny_updates_non-free_binary-i386_Packages
-rw-r--r-- 1 root root0 Dec  3 09:37 
security.debian.org_dists_lenny_updates_non-free_source_Sources

Is there an ETA on when these files will be fixed?

-- 
Bill Wohler woh...@newt.com aka bill.woh...@nasa.gov
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/22963.1322951...@olgas.newt.com



Re: Corrupted security update package files

2011-12-03 Thread Bill Wohler
Bill Wohler woh...@olgas.newt.com wrote:

 I still got a
 zero-sized Packages file:

Those are for contrib and non-free, which might be expected. The error
was in the main distribution, which does have mostly valid looking
content, but which is still generating the aforementioned error.

 -rw-r--r-- 1 root root  1870959 Dec  3 09:37 
 security.debian.org_dists_lenny_updates_main_binary-i386_Packages

-- 
Bill Wohler woh...@newt.com aka bill.woh...@nasa.gov
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/23544.1322953...@olgas.newt.com



Re: Corrupted security update package files

2011-12-03 Thread Chris Bannister
On Sat, Dec 03, 2011 at 03:01:05PM -0800, Bill Wohler wrote:
 Bill Wohler woh...@olgas.newt.com wrote:
 
  I still got a
  zero-sized Packages file:
 
 Those are for contrib and non-free, which might be expected. The error
 was in the main distribution, which does have mostly valid looking
 content, but which is still generating the aforementioned error.
 
  -rw-r--r-- 1 root root  1870959 Dec  3 09:37 
  security.debian.org_dists_lenny_updates_main_binary-i386_Packages

I noticed it as well. I commented out the entry:

deb http://security.debian.org/ lenny/updates main contrib

in my /etc/apt/sources.list file, in the meantime.
As this is not a production machine, I'll wait a day or so and try
again.

The fix is possibly easy enough if you knew which entry had the corrupt
package header.


-- 
Religion is excellent stuff for keeping common people quiet.
   -- Napoleon Bonaparte


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111204032502.GA3789@fischer



Re: Corrupted security update package files

2011-12-03 Thread Trevor Vandale
I am receiving the following error:

sudo aptitude update

...
Fetched 548kB in 1s (498kB/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Current status: 0 new [-19].
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

/var/lib/apt/lists$ ls -l
total 4828
-rw-r- 1 root root   0 2011-12-03 21:54 lock
drwxr-xr-x 2 root root4096 2011-12-03 22:03 partial
-rw-r--r-- 1 root root 1870959 2011-12-03 12:37
security.debian.org_debian-security_dists_lenny_updates_main_binary-i386_Packages
-rw-r--r-- 1 root root  480423 2011-12-03 12:36
security.debian.org_debian-security_dists_lenny_updates_main_source_Sources
-rw-r--r-- 1 root root   92374 2011-12-03 12:43
security.debian.org_debian-security_dists_lenny_updates_Release
-rw-r--r-- 1 root root 836 2011-12-03 12:43
security.debian.org_debian-security_dists_lenny_updates_Release.gpg
-rw-r--r-- 1 root root 1870959 2011-12-03 12:37
security.debian.org_dists_lenny_updates_main_binary-i386_Packages
-rw-r--r-- 1 root root  480423 2011-12-03 12:36
security.debian.org_dists_lenny_updates_main_source_Sources
-rw-r--r-- 1 root root   92374 2011-12-03 12:43
security.debian.org_dists_lenny_updates_Release
-rw-r--r-- 1 root root 836 2011-12-03 12:43
security.debian.org_dists_lenny_updates_Release.gpg
-rw-r--r-- 1 root root   0 2011-12-03 22:03
updates.vmd.citrix.com_XenServer_5.6.100_debian_dists_lenny_main_binary-i386_Packages
-rw-r--r-- 1 root root   0 2011-12-03 22:03
updates.vmd.citrix.com_XenServer_5.6.100_debian_dists_lenny_main_source_Sources
-rw-r--r-- 1 root root2239 2011-12-03 22:03
updates.vmd.citrix.com_XenServer_5.6.100_debian_dists_lenny_Release
-rw-r--r-- 1 root root 197 2011-12-03 22:03
updates.vmd.citrix.com_XenServer_5.6.100_debian_dists_lenny_Release.gpg


I have tried:

sudo rm /var/lib/apt/lists/* -vf
aptitude update

AND

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-RENAMED
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo apt-get update  sudo apt-get upgrade

AND

reduced my sources.list file to:

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

But am still receiving the same error.

Please help.

-skywalker


Re: Corrupted security update package files

2011-12-03 Thread Stan Hoeppner
On 12/3/2011 9:13 PM, Trevor Vandale wrote:

 /var/lib/apt/lists$ ls -l
 -rw-r- 1 root root   0 2011-12-03 21:54 lock

What's the significance of this lock file?

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4edaf941.5070...@hardwarefreak.com



Re: Corrupted security update package files

2011-12-03 Thread Bob Proulx
Stan Hoeppner wrote:
 Trevor Vandale wrote:
  /var/lib/apt/lists$ ls -l
  -rw-r- 1 root root   0 2011-12-03 21:54 lock
 
 What's the significance of this lock file?

That zero sized file is normal.  It is used by apt to semaphore itself
so that it doesn't run twice at the same time and corrupt the internal
state.  Have you ever notice apt complain that the database is locked?
There are several lock files here and there in the apt database.

Bob


signature.asc
Description: Digital signature


Re: Corrupted security update package files

2011-12-03 Thread Bob Proulx
Bill Wohler wrote:
 When updating lenny this morning (yes, upgrading is on my todo list), I
 got the following error:
 
 E: Problem with MergeList 
 /var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
 E: The package lists or status file could not be parsed or opened.
 E: Couldn't rebuild package cache

The problem is the upstream security.debian.org archive's
/dists/lenny/updates/main/binary-i386/Packages file.  It is
corrupted.  It contains the following in the middle of the file.  I
include ... to signify several lines.  The rest is verbatim.

  Package: sndfile-programs
  ...
  SHA256: 18f3af14bda44dc71bd16474d78856b249d7392e2fa8bd93a548f3cdd689b947

  None

  None

  None

  Package: libthai-data
  ...

In the upstream file between those two package file paragraphs are
three corrupted package paragraphs.  None of those None lines should
be there.  It will need to be fixed in the security archive.  I am
sure a fix will come through quickly.

Bob


signature.asc
Description: Digital signature