Package: apt-file
Version: 2.0.7
Severity: normal

apt-file should give an error message and not fail silently if no
direct http-connection is available, e.g. if a proxy is required.

Also it should read the proxy settings from apt.conf as already
requested in bug 350716.


# apt-file --verbose update
D: got 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
D: kept 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
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: curl -I 
"http://mirror.switch.ch/ftp/mirror/debian/dists/etch/Contents-i386.gz"; 2>&1 | 
grep '^HTTP.*404' > /dev/null || (curl -z 
"/var/cache/apt/apt-file/mirror.switch.ch_ftp_mirror_debian_dists_etch_Contents-i386.gz"
 -R -o 
"/var/cache/apt/apt-file/mirror.switch.ch_ftp_mirror_debian_dists_etch_Contents-i386.gz"
  "http://mirror.switch.ch/ftp/mirror/debian/dists/etch/Contents-i386.gz"; 
>/dev/null 2>&1 && chmod 644 
"/var/cache/apt/apt-file/mirror.switch.ch_ftp_mirror_debian_dists_etch_Contents-i386.gz")
D: curl -I "http://security.debian.org/dists/etch/updates/Contents-i386.gz"; 
2>&1 | grep '^HTTP.*404' > /dev/null || (curl -z 
"/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz"
 -R -o 
"/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz"
  "http://security.debian.org/dists/etch/updates/Contents-i386.gz"; >/dev/null 
2>&1 && chmod 644 
"/var/cache/apt/apt-file/security.debian.org_dists_etch_updates_Contents-i386.gz")
# apt-file --verbose list bash
D: got 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
D: kept 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
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: ^(\S+)\s+(\S*/bash.*)$
# apt-file --verbose search bash
D: got 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
D: kept 'deb http://mirror.switch.ch/ftp/mirror/debian/ etch main non-free 
contrib'
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: ^(.*?bash[^\s]*)\s+(\S+)\s*$


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH (charmap=ISO-8859-1)

Versions of packages apt-file depends on:
ii  curl                          7.15.1-1   Get a file from an HTTP, HTTPS, FT
ii  gzip                          1.3.5-12   The GNU compression utility
ii  libapt-pkg-perl               0.1.18+b1  Perl interface to libapt-pkg
ii  libconfigfile-perl            1.2.1      Parses simple configuration files
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 
ii  wget                          1.10.2-1   retrieves files from the web

apt-file 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