[clue-tech] apt-get --download
Jason S. Friedman
jason at powerpull.net
Sun May 18 21:45:20 MDT 2008
Jason S. Friedman wrote:
>>> I expected my use of the "--download[-only]" switch would have
>>> prevented the installation of these packages. Or, at least that's
>>> how I read the man pages. Anyone with a different opinion?
>>
>> Were they already installed? Perhaps --download only works for
>> install (and source). If so you could probably file a bug against the
>> man page, but see what Google says first.
>>
> There seems to be a difference between "--download" and
> "--download-only", as odd as that sounds. I'll keep experimenting.
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
root at love $ apt-get upgrade --download-only --assume-yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
openssh-client openssh-server ssl-cert
The following packages will be upgraded:
libssl0.9.8 openssl ssh ssh-askpass-gnome
4 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 3787kB of archives.
After unpacking 4096B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com gutsy-updates/main libssl0.9.8
0.9.8e-5ubuntu3.2 [2825kB]
Get:2 http://us.archive.ubuntu.com gutsy-updates/main openssl
0.9.8e-5ubuntu3.2 [872kB]
Get:3 http://us.archive.ubuntu.com gutsy-updates/main ssh
1:4.6p1-5ubuntu0.5 [1094B]
Get:4 http://us.archive.ubuntu.com gutsy-updates/main ssh-askpass-gnome
1:4.6p1-5ubuntu0.5 [88.5kB]
Fetched 3787kB in 26s (144kB/s)
Download complete and in download only mode
root at love $ apt-get upgrade --download-only --assume-yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
openssh-client openssh-server ssl-cert
The following packages will be upgraded:
libssl0.9.8 openssl ssh ssh-askpass-gnome
4 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/3787kB of archives.
After unpacking 4096B of additional disk space will be used.
Download complete and in download only mode
root at love $ apt-get upgrade --download --assume-yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
openssh-client openssh-server ssl-cert
The following packages will be upgraded:
libssl0.9.8 openssl ssh ssh-askpass-gnome
4 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/3787kB of archives.
After unpacking 4096B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 95869 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8e-5ubuntu3.1 (using
.../libssl0.9.8_0.9.8e-5ubuntu3.2_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace openssl 0.9.8e-5ubuntu3.1 (using
.../openssl_0.9.8e-5ubuntu3.2_i386.deb) ...
Unpacking replacement openssl ...
Preparing to replace ssh 1:4.6p1-5ubuntu0.2 (using
.../ssh_1%3a4.6p1-5ubuntu0.5_all.deb) ...
Unpacking replacement ssh ...
Preparing to replace ssh-askpass-gnome 1:4.6p1-5ubuntu0.2 (using
.../ssh-askpass-gnome_1%3a4.6p1-5ubuntu0.5_i386.deb) ...
Unpacking replacement ssh-askpass-gnome ...
Setting up libssl0.9.8 (0.9.8e-5ubuntu3.2) ...
Setting up openssl (0.9.8e-5ubuntu3.2) ...
Setting up ssh (1:4.6p1-5ubuntu0.5) ...
Setting up ssh-askpass-gnome (1:4.6p1-5ubuntu0.5) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
How does one file a bug against apt-get? In my opinion it's not a
man-page issue because I expect the GNU-style option --download to be
equivalent to --download-only, except in the case of an ambiguity, in
which case the program should stop with a complaint about usage.
More information about the clue-tech
mailing list