Public bug reported:

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.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
apt-key has unannounced dependency on wget
https://bugs.launchpad.net/bugs/325700
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to