Package: apt-cacher
Version: 1.5.1
Severity: normal

For at least several days I've been getting errors from aptitude and
apt-get about missing packages files; unfortunately testing/main is
one of them.  apt doesn't seem to write the packages into its spots
(/var/lib/apt/lists). testing/non-free is the other missing file;
test/contrib is present.

I find the corresponding packages files in apt-cacher's cache.  bzip2
verifies they are corrupt, and their lengths are shorter than the file
in the original archive.  I can download the latter via lftp; the
result is full length and verifies OK.

My efforts to trigger an update via aptitude update appear partly
successful; the timestamps on the file in apt-cacher's cache change.
But the file remains broken.

Possibly this is related to running out of disk space, though it looks
as if there should be enough.  /var did fill up a few days ago, maybe
around when this started.  Possibly the problem is related to issues
reported in 353152, and since fixed.  Since my updates from main are
not working, it's hard to upgrade (:

Here's some more information that may be helpful:
After apt-get dist-upgrade I get
W: Couldn't stat source package list http://localhost testing/non-free Packages 
(/var/lib/apt/lists/localhost:3142_linux.csua.berkeley.edu_debian_dists_testing_non-free_binary-i386_Packages)
 - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
True, the file isn't there.  Also, testing_main_binary-i386_Packages
isn't there.  aptitude warns of both missing when it starts, and says
W: You may want to update the package lists to correct the missing
files.

apt-cacher seems to have the necessary files under /packages/

When I do aptitude update I get
99% [13 Packages bzip2 12599296] [Waiting for headers]
bzip2: Data integrity error when decompressing.
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Err http://localhost testing/main Packages
  Sub-process bzip2 returned an error code (2)
and at the end it reports
W: Couldn't stat source package list http://localhost testing/main Packages 
(/var/lib/apt/lists/localhost:3142_linux.csua.berkeley.edu_debian_dists_testing_main_binary-i386_Packages)
 - stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost testing/non-free Packages 
(/var/lib/apt/lists/localhost:3142_linux.csua.berkeley.edu_debian_dists_testing_non-free_binary-i386_Packages)
 - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
W: Couldn't stat source package list http://localhost testing/main Packages 
(/var/lib/apt/lists/localhost:3142_linux.csua.berkeley.edu_debian_dists_testing_main_binary-i386_Packages)
 - stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost testing/main Packages 
(/var/lib/apt/lists/localhost:3142_linux.csua.berkeley.edu_debian_dists_testing_main_binary-i386_Packages)
 - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

[EMAIL PROTECTED]:/usr/local/var/mirrors/apt-cacher/packages$ ls -l 
linux.csua.berkeley.edu_debian_dists_testing_main_binary-i386_Packages.bz2
-rw-r--r--  1 www-data www-data 2435536 2006-02-25 21:35 
linux.csua.berkeley.edu_debian_dists_testing_main_binary-i386_Packages.bz2

The file at Berkeley, is 
lftp linux.csua.berkeley.edu:/debian/dists/testing/main/binary-i386> ls
-rw-r--r--    1 103      65534     2850393 Feb 25 20:17 Packages.bz2

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt-cacher depends on:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libwww-perl                   5.803-4    WWW client/server library for Perl
ii  perl                          5.8.7-10   Larry Wall's Practical Extraction 

apt-cacher recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to