Package: approx Version: 5.5-1 Severity: important
-- System Information: Debian Release: 8.3 Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_HK.UTF-8, LC_CTYPE=en_HK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages approx depends on: ii adduser 3.113+nmu3 ii bzip2 1.0.6-7+b3 ii curl 7.38.0-4+deb8u5 ii debconf [debconf-2.0] 1.5.56 ii libc6 2.19-18+deb8u6 ii libpcre3 2:8.35-3.3+deb8u2 ii openbsd-inetd [inet-superserver] 0.20140418-2 ii rsyslog [system-log-daemon] 8.4.2-1+deb8u2 ii update-inetd 4.43 ii xz-utils 5.1.1alpha+20120614-2+b3 approx recommends no packages. Versions of packages approx suggests: pn libconfig-model-approx-perl <none> -- Configuration Files: /etc/approx/approx.conf changed: debian http://ftp.pl.debian.org/debian <http://ftp.pl.debian.org/debian> -- debconf information: * approx/port: 80 -- /etc/apt/sources.list deb http://approx:80/debian <http://approx/debian> packages -- issue description * approx cannot fetch packages from approx cache, returns404 Bad request * approx would connect to remote repository * no crontab added for approx -- Steps: 1. install approx and configure approx as above information; and add approx source to /etc/apt/sources.list as above 2. execute approx-import on server ================== # approx-import /var/cache/apt/archives/*.deb approx_5.5-1_amd64.deb: imported to debian//packages//approx_5.5-1_amd64.deb augeas-lenses_1.2.0-0.2+deb8u1_all.deb: imported to debian//packages//archives/augeas-lenses_1.2.0-0.2+deb8u1_all.deb autoconf_2.69-8_all.deb: imported to debian//packages//autoconf_2.69-8_all.deb automake_1%3a1.14.1-4+deb8u1_all.deb: imported to ...... ================== 3. execute "apt-get update" # apt-get update ================== Ign http://127.0.0.1:80 <http://127.0.0.1/> jessie InRelease Ign http://127.0.0.1:80 <http://127.0.0.1/> jessie Release.gpg Ign http://127.0.0.1:80 <http://127.0.0.1/> jessie Release Err http://127.0.0.1:80 <http://127.0.0.1/> jessie/packages amd64 Packages 400 Bad Request Ign http://127.0.0.1:80 <http://127.0.0.1/> jessie/packages Translation-en_HK Ign http://127.0.0.1:80 <http://127.0.0.1/> jessie/packages Translation-en W: Failed to fetch http://127.0.0.1:80/debian/dists/jessie/packages/binary-amd64/Packages <http://127.0.0.1/debian/dists/jessie/packages/binary-amd64/Packages> 400 Bad Request E: Some index files failed to download. They have been ignored, or old ones used instead. ================== 4. cannot find crontab for apporx ================== # crontab -l | grep approx | wc -l 0 ==================