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

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



On Wed, Sep 09, 2009 at 12:07:44AM +0200, Daniel Hahler wrote:
> The apt-key program in the apt package requires wget,
> but this is not listed in the package dependencies for apt.  

> $ 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).
> 
Just adding a 'Recommends: wget' to the apt package should be sufficient,
as it is only needed for apt-key network functionality.

And the next time, please wrap your lines to < 79 chars. In the
current way, it's hard to read an quote something.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpyU_lIP3vnU.pgp
Description: PGP signature


Reply to: