Score:0

apt-key add with wget not working

bi flag

I am trying to make an openVpn from How to Install OpenVPN on Ubuntu.

I have 2 unbuntu servers which I connect to them with putty from windows. both servers are ubuntu-20.04-x86_64. after executing apt install ca-certificates wget net-tools gnupg with no problem on both then execute wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - but on one of them the system just hangs without any error(COM1). the wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - executes on other server(COM2) without any problem so the lines works totally fine.

then I do cat wget-log it doesnt show anything.

update

I also tried to get the wget part from COM2 and made a text file with vim with info in wget part with no extension then did cat textfile | apt-key add - this time it messaged OK but later running apt install openvpn-as it errored can't locate openvpn-as

What can I do about it?

muru avatar
us flag
You still need to run `apt-get update` for packages from a newly added repo to become available
Farhang Amaji avatar
bi flag
https://tonyteaches.tech/openvpn-ubuntu/ has `apt update` after that
I sit in a Tesla and translated this thread with Ai:

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.