Score:0

Problem with installation of OpenVPN on Ubuntu

ae flag

I'm trying to install openVPN on Ubuntu, but I'm facing difficulties.

  • I confirm that the system is up to date: apt update && apt upgrade
  • Install the necessary packages: apt install ca-certificates wget net-tools gnupg
  • I add the local repository for installation: wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | sudo apt-key add -
  • Run the following command: echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list

But this command gives me the following error: bash: /etc/apt/sources.list.d/openvpn-as-repo.list: Permission denied

And when executing the command for installation: apt install openvpn-as It gives me the following: E: Unable to find package openvpn-as

I'm trying to solve it, but I can't find solutions. can anybody help me?

Thanks in advance.

Score:0
us flag

You have to use sudo to edit files in /etc/apt. Try your last step again with sudo prepended to the command and enter your password when prompted.

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.