misleading text when using --download-only with apt-get
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I added a 3rd party repository to sources.list and tried to download gaim 2.0 from it. I specified --download-only so that the packages would be downloaded but not installed.
Before starting the download, apt-get asks:
WARNING: The following packages cannot be authenticated!
gaim-
Install these packages without verification [y/N]?
I don't want them installed - I already specified --download-only, so I answer no to this "install these packages?" question, at which point apt-get aborts without even downloading the packages, with this message:
E: Some packages could not be authenticated
I would suggest that the wording of the question should be changed to "Download these packages without verification [y/N]?" in the case that -d or --download-only has been specified.
Here's a complete log:
$ sudo apt-get --download-only install gaim
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
gaim-data gaim-guifications libsilc-1.0-2
The following NEW packages will be installed:
libsilc-1.0-2
The following packages will be upgraded:
gaim gaim-data gaim-guifications
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 5493kB/5896kB of archives.
After unpacking 3073kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
gaim-guifications gaim gaim-data
Install these packages without verification [y/N]? n
E: Some packages could not be authenticated
$
I say I must agree.