Package: approx
Version: 4.5-1
Severity: important
approx-gc is run from cron and gets into an endless loop burning CPU
time and - more important - IO operations:
# ps www 5030
5030 ? RN 133:10 /usr/sbin/approx-gc --quiet
Runnings strace on the process I can see, that it repeatedly visits the same
directories again and again. I picked a unique file name to verify that, and
that file is roughly visited every 2 seconds:
# strace -t -p 5030 -e stat 2>&1 | grep -F
libpoe-component-jobqueue-perl_0.5500-1_all.deb
10:10:31
stat("/var/cache/approx/debian/pool/main/libp/libpoe-component-jobqueue-perl/libpoe-component-jobqueue-perl_0.5500-1_all.deb",
{st_mode=S_IFREG|0664, st_size=16512, ...}) = 0
10:10:33
stat("/var/cache/approx/debian/pool/main/libp/libpoe-component-jobqueue-perl/libpoe-component-jobqueue-perl_0.5500-1_all.deb",
{st_mode=S_IFREG|0664, st_size=16512, ...}) = 0
10:10:35
stat("/var/cache/approx/debian/pool/main/libp/libpoe-component-jobqueue-perl/libpoe-component-jobqueue-perl_0.5500-1_all.deb",
{st_mode=S_IFREG|0664, st_size=16512, ...}) = 0
10:10:37
stat("/var/cache/approx/debian/pool/main/libp/libpoe-component-jobqueue-perl/libpoe-component-jobqueue-perl_0.5500-1_all.deb",
{st_mode=S_IFREG|0664, st_size=16512, ...}) = 0
The initial repository was created several years ago by copying files
from the DVD and moving the content of /var/cache/apt/archives/ into the
proper position, but it is since maintained by approx. It might still
contains things which apporx normally would not have when the repository
is created by itself.
Nether the less it should get stuck in an endless loop.
Running "approx-update --verbose" also seems to have a problem, since it
doesn't update sid/main/binary-amd64/* any more since February 22nd:
# approx-update --verbose
debian/dists/squeeze/non-free/binary-i386/Packages.gz: invalid
debian/dists/squeeze/non-free/source/Sources.gz: invalid
debian/dists/squeeze/non-free/debian-installer/binary-i386/Packages.gz: valid
debian/dists/squeeze/contrib/binary-i386/Packages.gz: invalid
debian/dists/squeeze/contrib/source/Sources.gz: invalid
debian/dists/squeeze/main/binary-i386/Packages.gz: valid
debian/dists/squeeze/main/source/Sources.gz: valid
debian/dists/squeeze/main/binary-kfreebsd-i386/Packages.gz: valid
debian/dists/squeeze/main/debian-installer/binary-i386/Packages.gz: invalid
debian/dists/squeeze/main/binary-amd64/Packages.gz: invalid
debian/dists/squeeze-updates/main/binary-i386/Packages.gz: valid
debian/dists/squeeze-updates/main/source/Sources.gz: valid
debian/dists/squeeze-updates/main/binary-kfreebsd-i386/Packages.gz: valid
debian/dists/lenny/main/binary-i386/Packages.gz: valid
debian/dists/lenny/main/source/Sources.gz: invalid
debian/dists/lenny/main/binary-amd64/Packages.gz: valid
debian/dists/wheezy/main/binary-amd64/Packages.gz: invalid
debian/dists/experimental/non-free/binary-amd64/Packages.gz: valid
debian/dists/experimental/contrib/binary-amd64/Packages.gz: valid
debian/dists/experimental/main/binary-i386/Packages.gz: invalid
debian/dists/experimental/main/binary-amd64/Packages.gz: valid
debian/dists/sid/non-free/binary-i386/Packages.gz: invalid
debian/dists/sid/non-free/source/Sources.gz: invalid
debian/dists/sid/non-free/binary-amd64/Packages.gz: valid
debian/dists/sid/contrib/binary-i386/Packages.gz: invalid
debian/dists/sid/contrib/source/Sources.gz: valid
debian/dists/sid/contrib/binary-amd64/Packages.gz: invalid
debian/dists/sid/main/binary-i386/Packages.gz: invalid
debian/dists/sid/main/source/Sources.gz: invalid
debian/dists/sid/main/binary-amd64/Packages.gz: valid
This is neither logger or reported by the daily cron job, so errors
updating the list of available packages seems to be silently ignored.
This could be critical for missed security updates.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages approx depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii curl 7.21.3-1 Get a file from an HTTP, HTTPS or
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libpcre3 8.12-2 Perl 5 Compatible Regular Expressi
ii openbsd-inetd [inet-superse 0.20080125-6 The OpenBSD Internet Superserver
ii update-inetd 4.38+nmu1 inetd configuration file updater
approx recommends no packages.
Versions of packages approx suggests:
pn libconfig-model-approx-perl <none> (no description available)
-- Configuration Files:
/etc/approx/approx.conf changed:
debian http://ftp.de.debian.org/debian
univention http://apt.univention.de
$max_redirects 0
-- debconf information:
* approx/port: 9999
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]