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

Bug#545754: apt-key has unannounced dependency on wget



Package: apt
Version: 0.7.21ubuntu1
Severity: normal

Forwarding bug report from: https://launchpad.net/bugs/325700

-----------------------------------
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.
-----------------------------------



Reply to: