Closed chayote23 closed 1 year ago
The usage of sudo
is wrong and there is no issue w.r.t wsdd. Please read the output of the commands carefully and take note of the error messages.
I tried again without sudo but observed a similar result:
wget -O- https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key | gpg --dearmour > /usr/share/keyrings/wsdd.gpg
bash: /usr/share/keyrings/wsdd.gpg: Permission denied
--2022-09-21 05:18:37-- https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key
Resolving pkg.ltec.ch (pkg.ltec.ch)... 95.143.48.181
Connecting to pkg.ltec.ch (pkg.ltec.ch)|95.143.48.181|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1686 (1.6K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s in 0s
Cannot write to ‘-’ (Success).
$ sudo wget -O- https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key | gpg --dearmour > /usr/share/keyrings/wsdd.gpg bash: /usr/share/keyrings/wsdd.gpg: Permission denied
The usage of sudo is wrong
I tried again without sudo but observed a similar result:
I didn't say that using sudo is wrong here, I just (wanted to) say the way you use it is wrong. I'm sorry if you got my answer wrong.
Please take a look at the error message and reason about the purpose you actually want to use sudo for. Do you really need to fetch some internet content with root privileges or convert a GPG key in plain text representation to the native format with raised permissions?
While attempting to install wsdd to a Ubuntu 20.04 machine, I was not able to add the wsdd repository to the apt repo list.