On Sun, 3 Jul 2022 20:41:47 -0400, Nathan Stratton Treadway <natha...@ontko.com>
wrote:

>On Sun, Jul 03, 2022 at 21:55:13 +0200, Bo Berglund wrote:
>> I have looked at the directory /etc/apt/sources.list.d and found a file there
>> named openvpn-aptrepo.list
>> It contains this single line:
>> # deb http://build.openvpn.net/debian/openvpn/stable bionic main # disabled 
>> on
>> upgrade to bionic
>> 
>
>Yes, for what it's worth it looks like you probably followed the
>instructions found at
>
>  
> https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos#DebianUbuntu:UsingOpenVPNaptrepositories
>
>back when you first installed OpenVPN.

Yes, now that I found the left-over file I remember that the process was along
these lines...
Seems like the distro upgrade orphaned openvpn but left it in place as-is.


>> Is there a good description on *exactly how* to make openvpn part of apt 
>> updates
>> again on an Ubuntu 18.04 LTS and an Ubuntu 20.04 LTS server?
>
>This was covered a bit in the other thread, but I think you have two
>options at this point:
>
>  * if you want to switch to using the standard openvpn packages
>    provided by Ubuntu itself (which it seems like would probably be
>    fine for your purposes), then you just need to manually force the
>    installation of the current Ubuntu package (with something along the
>    lines of "apt install openvpn/focal" or "apt install
>    openvpn=2.4.7-1ubuntu2.20.04.4").
>
>    Once you switch to a stock-Ubuntu package version, then later
>    package releases will be assigned higher version nubmers and will be
>    automatically upgraded-to in the usual way.

I think that this is the way I should go since my usage is not advanced in any
real way, I just have external access to the local network in both places and
also using a second service Internet access via VPN for geo-location switching.

And I recently expanded usage so that my two personal LAN:s (home and summer
cottage) are connected together via OpenVPN bidirectionally.

If I understand it you are saying that by using the apt command to install the
current version for focal the existing openvpn would be replaced by the one in
the Ubuntu distro repository and the act of installing it that way would also
put it in the group of packages that will be automatically upgraded come the
next distribution upgrade?


>  * If you want to keep using the OpenVPN-project provided packages,
>    then you will want edit that openvpn-aptrepo.list file to re-enable
>    the line and update the "bionic" name to your current release.  With
>    that re-enabled, you should see a new OpenVPN-project package
>    version, which apt will upgrade to from your current version.  
>
>    (But note that if you take this route, you will need to rememeber to
>    repeat the process each time you upgrade to a new version of Ubuntu
>    [since the upgrade process will disable the deb line in the
>    openvpn-aptrepo.list again].)

No, I don't want to force the deviation from Ubuntu standard package handling
for the obvious reasons you outline!
Better to reset to the built-in handling in Ubuntu.

I also have a number of RaspberryPi units with openvpn acting as remote access
handler and on those I believe I have only used apt to install.

But RPi distribution upgrades are not really available anyway so there is no
such issue. I cannot get to a new distro without rebuilding systems from scratch
(a new operating system image)....

Thanks for your valuable advice!!!! :-)


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to