[Trisquel-users] "curl: command not found"

jason at bluehome.net jason at bluehome.net
Thu Jul 11 02:34:31 CEST 2019


Because sudo doesn't carry over: In the example command you gave, gpg using  
being run as root but when piped into apt-key, apt-key is running as you and  
not root. The correct way would be to put the sudo after the pipe, resulting  
in:

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -


More information about the Trisquel-users mailing list