Package: apt-file Version: 2.4.0 Severity: normal *** Please type your report below this line ***
We have a local copy of the Debian archives. Our /etc/apt/sources.list contains: deb ssh://root@myhost/mirrors/mirror/ftp.de.debian.org/debian/ squeeze main contrib This works well with apt-get, but not with apt-file: # apt-file update usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 Can't get ssh://root@myhost/mirrors/mirror/ftp.de.debian.org/debian/dists/squeeze/Contents-i386.gz strace reveals that apt-file calls scp -l root -P 22 "myhost://mirrors/mirror/ftp.de.debian.org/debian/dists/squeeze/Contents-i386.gz" \ "/var/cache/apt/apt-file/myhost_mirrors_mirror_ftp.de.debian.org_debian_dists_squeeze_Contents-i386.gz_tmp" which is wrong since "-l" does not mean login_name in scp (unlike ssh). scp does, however, support "root@myhost:...", which also works with ssh. -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (990, 'stable'), (500, 'testing') Architecture: i386 (i686) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org