Page 1 of 1

Can't install openvpn-as

Posted: Thu May 06, 2021 12:18 pm
by MirkoD2
Hello from Italy,
I was trying to install openvpn-as in my Ubuntu machine (VPS), but I encountered these errors:

Code: Select all

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openvpn-as : Depends: libffi7 (>= 3.3~20180313) but it is not installable
              Depends: python-netaddr but it is not installable
E: Unable to correct problems, you have held broken packages.
Image

Just openvpn works normally, but I would like to use the web GUI :P .

Thanks in advance
Mirko

Re: Can't install openvpn-as

Posted: Thu May 06, 2021 9:25 pm
by openvpn_inc
Hi There,

Which Ubuntu version you are using for this Access Server installation?
Can you confirm, then select and use the correct installation method and AS repository below.

Ubuntu 20:

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
Ubuntu 18:

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 bionic main">/etc/apt/sources.list.d/openvpn-as-repo.list

apt update && apt -y install openvpn-as
Ubuntu 16:

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 [arch=amd64] http://as-repository.openvpn.net/as/debian xenial main">/etc/apt/sources.list.d/openvpn-as-repo.list

apt update && apt -y install openvpn-as
MirkoD2 wrote:
Thu May 06, 2021 12:18 pm
Hello from Italy,
I was trying to install openvpn-as in my Ubuntu machine (VPS), but I encountered these errors:

Code: Select all

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openvpn-as : Depends: libffi7 (>= 3.3~20180313) but it is not installable
              Depends: python-netaddr but it is not installable
E: Unable to correct problems, you have held broken packages.
Image

Just openvpn works normally, but I would like to use the web GUI :P .

Thanks in advance
Mirko
Regards,
Crowley