Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repository support for Ubuntu 22.04 Jammy Jellyfish #113

Closed
julian-alarcon opened this issue Mar 10, 2022 · 31 comments
Closed

Add repository support for Ubuntu 22.04 Jammy Jellyfish #113

julian-alarcon opened this issue Mar 10, 2022 · 31 comments

Comments

@julian-alarcon
Copy link

There is currently no repository file for Ubuntu 22.04.
Using the official installation documentation located here I got the error 404 Not Found

wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-$DISTRO.list                                                                                                                                                          
--2022-03-10 16:26:51--  https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-.list                                                                                                                                                                                                                                  
Resolving swupdate.openvpn.net (swupdate.openvpn.net)... 104.18.109.96, 104.18.110.96                                                                                                                                                                                                                                          
Connecting to swupdate.openvpn.net (swupdate.openvpn.net)|104.18.109.96|:443... connected.                                                                                                                                                                                                                                     
HTTP request sent, awaiting response... 404 Not Found                                                                                                                                                                                                                                                                          
2022-03-10 16:26:52 ERROR 404: Not Found.             
@julian-alarcon
Copy link
Author

julian-alarcon commented Mar 10, 2022

I got an error trying to install the openvpn3 client using the Ubuntu 21.10 repository

$ sudo apt install openvpn3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 openvpn3 : Depends: libjsoncpp24 (>= 1.9.4) but it is not installable
            Depends: libtinyxml2-8 (>= 8.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Those missing dependencies have newer versions in Ubuntu 22.04.

I was able to install openvpn3 downloading and installing the packages from Ubuntu Impish (this is not a recommended way to do package installation):
https://packages.ubuntu.com/impish/libjsoncpp24
https://packages.ubuntu.com/impish/libtinyxml2-8
https://packages.ubuntu.com/impish-updates/libssl1.1

After setting that, defining a new device and downloading the Profile from OpenVPN Cloud I was able to connect!

@dsommers
Copy link
Member

We will do a proper build for newer Ubuntu releases once they are released. We do not provide any builds on Ubuntu pre-releases.

It is required a bit more than just adding a new repository. As you already spotted, using the 21.10 build will not work, due to dependencies has been updated as well. When dependencies are upgraded to a new base release, OpenVPN 3 Linux needs to be recompiled with those dependencies.

@schwabe
Copy link
Contributor

schwabe commented Mar 11, 2022

Compile openvpn3-linux from source if you need it now on Ubuntu 22.04

@julian-alarcon
Copy link
Author

Soo.. Ubuntu 22.04 is now a public and stable release https://ubuntu.com/blog/ubuntu-22-04-lts-released also, it's marked as a LTS (Long Time Support).

@Sinnv2710
Copy link

Soo.. Ubuntu 22.04 is now a public and stable release https://ubuntu.com/blog/ubuntu-22-04-lts-released also, it's marked as a LTS (Long Time Support).

Hopefully, Openvpn3-Linux will have release on 22.04 ASAP

@dsommers
Copy link
Member

@julian-alarcon @Sinnv2710 If you need it urgently, I recommend you to pull down the source code from git (git clone https://github.com/OpenVPN/openvpn3-linux.git), install needed dependencies as described in the README.md file and then follow the build instructions.

If you find any issues on Ubuntu 22.04 LTS, please let us know so we can fix those as soon as possible; report issues in new issue tickets or related tickets (not this ticket - as this is about pre-built packages for 22.04 LTS, not issues running/building on that distribution).

@julian-alarcon
Copy link
Author

Don't worry about me @dsommers :) . I have it working since a long time.
I created this ticket thinking on the people that is struggling with this from my close circle.

@Sinnv2710
Copy link

Hi @julian-alarcon, how you can install openvpn3 on ubuntu 22? I tried build from the source code but not working

@julian-alarcon
Copy link
Author

You can find how I did it here #113 (comment). Not the recommended way, but this way keep using .deb files from a recognized source. Just wait for the new version with support of Ubuntu 22.04.

@Sinnv2710
Copy link

I can install it follow by your comment.
thank you very much.

@AP-TGR
Copy link

AP-TGR commented Apr 25, 2022

@dsommers Is there any estimated time when we will get the support for Ubuntu 22.04?

@bagpussnz
Copy link

waiting for openvpn to get back to me for an eta of 22.04 repo

@cron2
Copy link

cron2 commented Apr 26, 2022 via email

@dsommers
Copy link
Member

JFTR: We do not give an ETA for the time being.

We are looking at how we will shuffle things to provide Ubuntu 22.04 builds. The current v17_beta release does not build out-of-the-box on that distro and will require additional changes. Those changes are already in the pipe for v18_beta, but this release is still not ready for a release due to a required refactoring to solve some outstanding bugs.

If you have an urgent need to get OpenVPN 3 Linux on Ubuntu 22.04, please do a build from the latest git master for now; you will get most of what the v18_beta changes will bring - but not the larger on-going refactoring for the release. And please report back with any issues found. Instructions can be found here: #113 (comment)

@bagpussnz
Copy link

bagpussnz commented Apr 30, 2022 via email

@dsommers
Copy link
Member

dsommers commented May 3, 2022

We have now pushed out a special v17_beta build for Ubuntu 22.04 only. If you would be willing to test it out, I'd appreciate that!

Please use this repository file: https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list

@bagpussnz
Copy link

bagpussnz commented May 4, 2022 via email

@tajnosc
Copy link

tajnosc commented May 4, 2022

@dsommers there is a problem with that repository file

$ sudo apt update
Hit:1 http://mt.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://mt.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://swupdate.openvpn.net/community/openvpn3/repos jammy InRelease
Hit:5 http://mt.archive.ubuntu.com/ubuntu jammy-backports InRelease

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://swupdate.openvpn.net/community/openvpn3/repos jammy InRelease' doesn't support architecture 'i386'

@dsommers
Copy link
Member

dsommers commented May 4, 2022

@tajnosc Have you really installed a Ubuntu 22.04 32bit Intel (i386) release on a system in 2022?

OpenVPN 3 Linux does currently not target 32 bit systems at all. Support for 32 bit OSes is not something we have high up on our todo lists.

@schwabe
Copy link
Contributor

schwabe commented May 4, 2022

@tajnosc 32 bit i386 is not a supported distribution from our side. If you ended up with multiarch try forcing amd64 only by using

deb  [arch=amd64] https://swupdate.openvpn.net/community/openvpn3/repos jammy main

@tajnosc
Copy link

tajnosc commented May 4, 2022

Oh, yes sorry. Forcing amd64 removed that warning.

@julian-alarcon
Copy link
Author

julian-alarcon commented May 4, 2022

I confirm! using this repo:

deb [arch=amd64] https://swupdate.openvpn.net/community/openvpn3/repos jammy main

Works flawlessly! I was able to remove the external .deb packages installed before and now it's using the normal Jammy packages!

Thank you

@wa1one
Copy link

wa1one commented May 30, 2022

The repository 'https://swupdate.openvpn.net/community/openvpn3/repos jammy InRelease' is not signed.

@MahadevMG
Copy link

MahadevMG commented Jun 2, 2022

I am able to install openvpn3 on ubuntu 22.04 and i can use it without any issue.
This may not be a proper way but this worked for me.

Step 1: Checked is there any openvpn-repo-pkg-keyring.gpg file under /etc/apt/trusted.gpg.d/ ( I removed this file)
Step 2: Checked is there any openvpn3.list under /etc/apt/sources.list.d/ ( i removed this too - i had these files because i tried couple of ways to install)

Step 3: sudo apt update
Step 4: sudo apt install apt-transport-https
Step 5: sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
Step 6: sudo apt-key add openvpn-repo-pkg-key.pub
Step 7: sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-$DISTRO.list

I changed $DISTRO to jammy
ie : sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list

Step 8: sudo apt update
Step 9: sudo apt install openvpn3

I followed this link: OpenVpn

@bagpussnz
Copy link

bagpussnz commented Oct 11, 2022 via email

@wa1one
Copy link

wa1one commented Oct 19, 2022

The repository 'https://swupdate.openvpn.net/community/openvpn3/repos jammy InRelease' is not signed.

@SquirtleSquadLeader
Copy link

The repository 'https://swupdate.openvpn.net/community/openvpn3/repos jammy InRelease' is not signed.

@wa1one I am new to VPNs. Does it not being signed imply that it is not safe? Sorry for my ignorance... Just trying to make an informed decision if I should proceed with that repo. Thank you!

@dsommers
Copy link
Member

dsommers commented Nov 21, 2022

@SquirtleSquadLeader It should be signed now.

Most likely it was some hickup when pushing out the repositories earlier this year. AFAICT, the InRelease files are now signed.

@ShreeBaburajan
Copy link

Followed all steps in

@MahadevMG posted code:

I am able to install openvpn3 on ubuntu 22.04 and i can use it without any issue.
This may not be a proper way but this worked for me.

Step 1: Checked is there any openvpn-repo-pkg-keyring.gpg file under /etc/apt/trusted.gpg.d/ ( I removed this file)
Step 2: Checked is there any openvpn3.list under /etc/apt/sources.list.d/ ( i removed this too - i had these files because i tried couple of ways to install)

Step 3: sudo apt update
Step 4: sudo apt install apt-transport-https
Step 5: sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
Step 6: sudo apt-key add openvpn-repo-pkg-key.pub
Step 7: sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-$DISTRO.list

I changed $DISTRO to jammy
ie : sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list

Step 8: sudo apt update

But after step 8 do the oresle I kept getting errors
In Softwares % Updates, under the "Ubuntu Software', check all boxes in Downloadable from Internet, then follow step 9

Step 9: sudo apt install openvpn3

Thanks @MahadevMG

@riyadh9292
Copy link

@ShreeBaburajan thnx... That saves me.

@belem2050
Copy link

sudo apt install openvpn3

Thank you a lot!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests