Page 1 of 1

Cannot install openvpnas on Ubuntu 20.04 LTS - missing packages

Posted: Wed Mar 31, 2021 3:20 am
by jamesnb
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

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

Posted: Thu Apr 01, 2021 7:02 pm
by openvpn_inc
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

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

Posted: Sun Apr 11, 2021 6:00 pm
by jamesnb
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!