Business solution to host your own OpenVPN server with web management interface and bundled clients.
-
MirkoD2
- OpenVpn Newbie
- Posts: 1
- Joined: Thu May 06, 2021 12:12 pm
Post
by MirkoD2 » 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.
Just openvpn works normally, but I would like to use the web GUI
.
Thanks in advance
Mirko
-
openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Post
by openvpn_inc » Thu May 06, 2021 9:25 pm
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.
Just openvpn works normally, but I would like to use the web GUI
.
Thanks in advance
Mirko
Regards,
Crowley
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
-
toxemic
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Mar 23, 2022 4:55 am
Post
by toxemic » Wed Mar 23, 2022 5:19 am
It's worth noting that although I am technically running Ubuntu 18.04.6 LTS and followed the instructions to the letter, I STILL had the same issue as the OP.
Although i think i know why that is, I have upgraded this system multiple times without reinstalling using Ubuntu's "upgrade" python script. I've had this server running for so many years now i couldn't even guess which version i started with. But eventually I upgraded to 16.04, then i upgraded to 18.04 a couple years ago now... But for some reason I still needed the older style of entry for apt's sources list.
Anyway, i thought it might be worth noting for others who come across this that if you have upgraded Ubuntu via their graphical upgrade tool or the python script as i have you might still need to use the instructions for version 16.04.
PS And it might be worth noting this in your instructions somewhere IMO.