apt-key has unannounced dependency on wget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: apt
On Ubuntu 8.04 the apt-key program in the apt package requires wget, but this is not listed in the package dependencies for apt. This occurs when apt-key is run with the (undocumented) "net-update" command, including when /etc/cron.daily/apt is run by cron.
--------
$ sudo /usr/bin/apt-key net-update
/usr/bin/apt-key: 168: wget: not found
--------
The wget command is used on line 65 of apt-key to download a new keyring.
The simplest thing would be to add wget to the dependencies of apt, but this may not be the best solution as it would require wget to be installed on all Ubuntu machines. This solution may not be desirable because local sysadmin policy may not want an unrestricted HTTP client to be installed (eg bastion host).
Possible alternative solutions would be to use apt-get or the http apt method, but I don't know enough about the internals of apt to be sure.
Changed in apt: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in apt-file (Debian): | |
status: | Unknown → Fix Released |
Changed in apt-file (Debian): | |
status: | Fix Released → Unknown |
affects: | apt-file (Debian) → apt (Debian) |
Changed in apt (Debian): | |
status: | Unknown → Fix Released |
Changed in apt (Debian): | |
status: | Fix Released → Unknown |
Changed in apt (Debian): | |
status: | Unknown → Fix Released |
This bug is still present in Lucid. Error message from cron:
/etc/cron. daily/apt:
ERROR: an installed wget is required for a network-based update