Package: devscripts
Severity: normal
File: /usr/bin/dget

dget currently parses the sources.list and then tries to use curl
to fetch files. curl however, does not support the same protocols
as apt, and hence fails easily - for example, by using the mirror+file://
method; for example, on Ubuntu:

$ dget aptitude
dget: retrieving 
mirror+file:/etc/apt/mirrors.list/pool/main/a/aptitude/aptitude_0.8.10-9ubuntu4_amd64.deb
curl: (1) Protocol "mirror+file" not supported or disabled in libcurl
dget: curl aptitude_0.8.10-9ubuntu4_amd64.deb 
mirror+file:/etc/apt/mirrors.list/pool/main/a/aptitude/aptitude_0.8.10-9ubuntu4_amd64.deb
 failed

Please use  
        /usr/lib/apt/apt-helper download-file $uri $target $hashstring

  where $uri and $target should be obvious and $hashstrinng can be hashes to
  check, suchas MD5Sum:09b9c392dc1f6e914cea287cb6be34b0; or left out.

for downloading instead, this also solves other problems like
proxy settings differing from apt that I saw in the BTS.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Reply via email to