Skip to content

deb-repo: turn off wget output on keyring download

bauruine requested to merge bauruine/support:deb_repo_no_wget_output into main

The wget output makes it really hard to spot errors with gpg or tee.

[bauruine@host:~]$ wget -O- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null 
tee: /usr/share/keyrings/tor-archive-keyring.gpg: Permission denied
--2021-12-29 19:55:20--  https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc
Resolving deb.torproject.org (deb.torproject.org)... 2a01:4f8:fff0:4f:266:37ff:feae:3bbc, 2a01:4f8:fff0:4f:266:37ff:fe2c:5d19, 2a01:4f9:c010:19eb::1, ...
Connecting to deb.torproject.org (deb.torproject.org)|2a01:4f8:fff0:4f:266:37ff:feae:3bbc|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49890 (49K) [text/plain]
Saving to: ‘STDOUT’

-                                                                    100%[======================================================================================================================================================================>]  48.72K  --.-KB/s    in 0.1s    

2021-12-29 19:55:21 (423 KB/s) - written to stdout [49890/49890]
[bauruine@host:~]$ wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null
tee: /usr/share/keyrings/tor-archive-keyring.gpg: Permission denied

Merge request reports

Loading