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

Re: Bug#115953: apt-get -d install <package> doesn't work as documented



On Thu, 18 Oct 2001, János Holányi wrote:

> Please pay attention also to 'not unpacked', if you still feel this issue is
> perfect as it is now... Also 'package files __are__ (...) __retrieved__'
> It still smells fishy for me...

You are reading way too much into that statement. The tailing sentance
rassures the reader that their system will not be altered, but it doesn't
have anything that says it makes the commands it modifies do more than
they otherwise would.
 
> Please let me know how can I retrieve a set of dependency-conflict-free deb
> files from the official debian archive - using 'standard' and existing Debian
> tools -, without having to copy&paste the output of apt-get -d install <foo1>

wakko{root}/tmp/jnk#:> empty
wakko{root}/tmp/jnk#mkdir partial   
apt-get -d -o dir::state::status=./empty -o dir::cache::archives=./ install nano
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libc6 libncurses5
The following NEW packages will be installed:
  libc6 libncurses5 nano
0 packages upgraded, 3 newly installed, 0 to remove and 0  not upgraded.
Need to get 3770kB of archives. After unpacking 13.9MB will be used.
Do you want to continue? [Y/n]
Get:1 http://gluck.debian.org woody/main libc6 2.2.4-3 [3363kB]
Get:2 http://gluck.debian.org woody/main libncurses5 5.2.20010318-3 [226kB]
Get:3 http://gluck.debian.org woody/main nano 1.0.5-1 [181kB]
Fetched 3770kB in 1m41s (37.3kB/s)
Download complete and in download only mode
wakko{root}/tmp/jnk#ls
empty                                lock
libc6_2.2.4-3_i386.deb               nano_1.0.5-1_i386.deb
libncurses5_5.2.20010318-3_i386.deb  partial/

It can even run as non-root if you want.

Jason



Reply to: