Cannot install openvpnas on Ubuntu 20.04 LTS - missing packages

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
jamesnb
OpenVPN User
Posts: 29
Joined: Tue Sep 22, 2015 3:01 am

Cannot install openvpnas on Ubuntu 20.04 LTS - missing packages

Post by jamesnb » Wed Mar 31, 2021 3:20 am

Hello everyone,
I am newbie here.
I was able to run the autoscript to install OpenVPN AS on Ubuntu v18.04. It had worked very well without any issues until now.
Recently, we change our machines and this time, I would like to install Ubuntu version 20.04 onto those machines. So we started from the scratch to install brand new instance of Ubuntu Server 20.04
However, when I try to install OpenVPN AS using the pre-made script (from openvpn website), it throws an error that some packages were missing from the repository or not compatible yet with Ubuntu v. 20.04
Do you have any similar problem and if so, how did you fix it?
Thank you very much

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Cannot install openvpnas on Ubuntu 20.04 LTS - missing packages

Post by openvpn_inc » Thu Apr 01, 2021 7:02 pm

Hi There,

Are you using the below command for ubuntu 20, which can be find here: https://openvpn.net/vpn-software-packages/.

Code: Select all

apt update && apt -y install ca-certificates wget net-tools gnupg

wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -

echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list

apt update && apt -y install openvpn-as
jamesnb wrote:
Wed Mar 31, 2021 3:20 am
Hello everyone,
I am newbie here.
I was able to run the autoscript to install OpenVPN AS on Ubuntu v18.04. It had worked very well without any issues until now.
Recently, we change our machines and this time, I would like to install Ubuntu version 20.04 onto those machines. So we started from the scratch to install brand new instance of Ubuntu Server 20.04
However, when I try to install OpenVPN AS using the pre-made script (from openvpn website), it throws an error that some packages were missing from the repository or not compatible yet with Ubuntu v. 20.04
Do you have any similar problem and if so, how did you fix it?
Thank you very much
Also, can you provide me the commands you are using to install Access Server for ubntu20, in which you're having some issues installing?
I hope, you are not using the same command/script you used for ubuntu18 to install Access Server on ubuntu20 because it is not the same. Thank you!

Regards,
Crowley
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

jamesnb
OpenVPN User
Posts: 29
Joined: Tue Sep 22, 2015 3:01 am

Re: Cannot install openvpnas on Ubuntu 20.04 LTS - missing packages

Post by jamesnb » Sun Apr 11, 2021 6:00 pm

openvpn_inc wrote:
Thu Apr 01, 2021 7:02 pm
Hi There,

Are you using the below command for ubuntu 20, which can be find here: https://openvpn.net/vpn-software-packages/.

Code: Select all

apt update && apt -y install ca-certificates wget net-tools gnupg

wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -

echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list

apt update && apt -y install openvpn-as
Also, can you provide me the commands you are using to install Access Server for ubntu20, in which you're having some issues installing?
I hope, you are not using the same command/script you used for ubuntu18 to install Access Server on ubuntu20 because it is not the same. Thank you!

Regards,
Crowley
Hi Crowley,
Thank you very much for your scripts. It is now fully working!

Post Reply