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

Re: Retrieving source package from repository without touching sources.list?

Sounds like you are looking for chdist:

pabs@chianamo ~ $ chdist create foo http://ftp.debian.org/debian/
unstable main contrib non-free
Run chdist apt-get foo update
And enjoy.
pabs@chianamo ~ $ chdist apt-get foo update
Get:1 http://ftp.debian.org unstable InRelease [228 kB]
Get:2 http://ftp.debian.org unstable/main Sources [6,466 kB]
Get:3 http://ftp.debian.org unstable/contrib Sources [53.0 kB]
Get:4 http://ftp.debian.org unstable/non-free Sources [101 kB]
Get:5 http://ftp.debian.org unstable/main amd64 Packages [6,246 kB]
Get:6 http://ftp.debian.org unstable/contrib amd64 Packages [45.2 kB]
Get:7 http://ftp.debian.org unstable/non-free amd64 Packages [86.2 kB]
Get:8 http://ftp.debian.org unstable/contrib Translation-en [36.9 kB]
Get:9 http://ftp.debian.org unstable/main Translation-en [4,109 kB]
Get:10 http://ftp.debian.org unstable/non-free Translation-en [71.4
Fetched 17.4 MB in 1min 7s (260 kB/s)
Reading package lists... Done
pabs@chianamo ~ $ chdist apt-get foo source hello
Reading package lists... Done
Building dependency tree... Done
Need to get 705 kB of source archives.
Get:1 http://ftp.debian.org/debian/ unstable/main hello 2.8-2 (dsc) [1,287 B]
Get:2 http://ftp.debian.org/debian/ unstable/main hello 2.8-2 (tar) [697 kB]
Get:3 http://ftp.debian.org/debian/ unstable/main hello 2.8-2 (diff)
[6,540 B]
Fetched 705 kB in 9s (74.2 kB/s)
dpkg-source: info: extracting hello in hello-2.8
dpkg-source: info: unpacking hello_2.8.orig.tar.gz
dpkg-source: info: unpacking hello_2.8-2.debian.tar.gz



Reply to: