Score:0

sudo wget returns OpenSSL error when trying to install Wine, meanwhile wget does not work due to permission denied

ss flag

Screenshot of what happened

(base) josaphat@josaphat-GS66-Stealth-10SGS:~$ sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
--2022-10-29 12:46:53--  https://dl.winehq.org/wine-builds/winehq.key
OpenSSL: error:80000002:system library::No such file or directory
OpenSSL: error:10000080:BIO routines::no such file
OpenSSL: error:05880002:x509 certificate routines::system lib
OpenSSL: error:80000002:system library::No such file or directory
OpenSSL: error:10080002:BIO routines::system lib
OpenSSL: error:0A080002:SSL routines::system lib
Disabling SSL due to encountered errors.
(base) josaphat@josaphat-GS66-Stealth-10SGS:~$ wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
/etc/apt/keyrings/winehq-archive.key: Permission denied

Been trying to read similar issues online such as this. However, env | grep proxy returns nothing for me.

Josaphat avatar
ss flag
@Terrance the problem is that now sudo wget returns the same OpenSSL error when i tried to sudo wget any links. Any thoughts on that?
Terrance avatar
id flag
You could be having an issue in the conda environment. See:https://askubuntu.com/questions/1026383/why-does-base-appear-in-front-of-my-terminal-prompt Another thing is, when did you first start seeing the OpenSSL error?
Josaphat avatar
ss flag
@Terrance I haven't been messing around with my conda environment for a while, it has stayed there for months. As for the first time seeing the OpenSSL error, it starts out to appear when I'm trying to manually register a public key to update my wine (I followed [link](https://askubuntu.com/questions/1103320/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-avai) ). I might have edited some things on the apt-key list, but I'm not sure if that is the problem.
Terrance avatar
id flag
I am going to take stabs in the dark, but maybe try reinstalling OpenSSL `sudo apt install --reinstall openssl`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.