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

Bug#853739: apt: cannot download unauthenticated packages but can install -d them



On 31 January 2017 at 14:40, Thorsten Glaser <tg@mirbsd.de> wrote:
> 100|tglase@tglase:/tmp $ apt-get download -y --force-yes elasticsearch
> WARNING: The following packages cannot be authenticated!
>   elasticsearch
> E: Some packages could not be authenticated


--force-yes is deprecated, and enables 3 specific --allow switches
(downgrade,remove-essential,change-held-packages), but
--allow-unauthenticated is not one of them. Well, sort of: If it
prompts interactively, it also accepts --force-yes. For some reason
the download command asks the auth checking code to not prompt the
user, so the only way out is to use --allow-unauthenticated.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

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


Reply to: