[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-file problem - no output



hi guys,

me again :( together with the problems reported before, there is another one.

i installed apt-file on my i386 etch box. i did apt-file update, however using apt-file search doesn't provide any output (i replaced the address of our institutional debian mirror with xx.xx.xx in the following outputs):

# apt-file -v update
D: got 'deb http://debian.xx.xx.xx/debian/ etch main contrib non-free'
D: kept 'deb http://debian.xx.xx.xx/debian/ etch main contrib non-free'
D: got 'deb http://security.debian.org/ etch/updates main contrib non-free'
D: kept 'deb http://security.debian.org/ etch/updates main contrib non-free'
D: wget -N -P "/var/cache/apt/apt-file" -O "/var/cache/apt/apt-file/debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz_tmp" "http://debian.xx.xx.xx/debian/dists/etch/Contents-i386.gz"; >/dev/null 2>&1 && (mv "/var/cache/apt/apt-file/debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz_tmp" "/var/cache/apt/apt-file/debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz" && chmod 644 "/var/cache/apt/apt-file/debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz")|| (rm -f "/var/cache/apt/apt-file/debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz_tmp"; echo "http://debian.xx.xx.xx/debian/dists/etch/Contents-i386.gz not found") D: wget -N -P "/var/cache/apt/apt-file" -O "/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz_tmp" "http://security.debian.org/dists/etch/updates/Contents-i386.gz"; >/dev/null 2>&1 && (mv "/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz_tmp" "/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz" && chmod 644 "/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz")|| (rm -f "/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz_tmp"; echo "http://security.debian.org/dists/etch/updates/Contents-i386.gz not found")

# apt-file -v search mc
D: got 'deb http://debian.xx.xx.xx/debian/ etch main contrib non-free'
D: kept 'deb http://debian.xx.xx.xx/debian/ etch main contrib non-free'
D: got 'deb http://security.debian.org/ etch/updates main contrib non-free'
D: kept 'deb http://security.debian.org/ etch/updates main contrib non-free'
D: regexp: ^(.*?mc[^\s]*)\s+(\S+)\s*$
D: Search in \/var\/cache\/apt\/apt\-file\/debian\.uochb\.cas\.cz_debian_dists_etch_Contents\-i386\.gz

# ls -la /var/cache/apt/apt-file/
total 12
drwxr-xr-x 2 root root 4096 2006-07-02 11:43 .
drwxr-xr-x 4 root root 4096 2006-07-02 11:35 ..
-rw-r--r-- 1 root root 680 2006-06-27 20:08 debian.xx.xx.xx_debian_dists_etch_Contents-i386.gz

it seems that the problem lies in the apt-file/....Contents-i386.gz file - it's empty (apart from some comments) - how can i regenerate the file / fill it with the necessary data?

i used the same installation cd to install another machine few days ago. also, i use the same mirror there and apt-file works without any problems...

i would be grateful for any hints. with best regards,

--
Lubos
_@_"



Reply to: