On Sat, Sep 24, 2022 at 10:45:10 -0500, Bo Berglund wrote:
> So now I have travelled to the location and am ready to do the upgrade.
> 
> 
> I would like to know the best way to get *away* from the build.openvpn.net
> repository to the ubuntu 18 repository in preparation for doing the release
> upgrade.
> 
> Do I do the following?
> ----
> sudo apt remove openvpn
> or
> sudo apt purge openvpn
> 
> Then remove the files /etc/apt/sources.list.d/openvpn*
> 
> Followed by 
> sudo apt install openvpn
> -----
> 
> Or is the better way to:
> 
> ----
> Leave things as they are and do the release upgrade and then check if openvpn
> was migrated or not in the migrated server.
> 
> If not then just install it using apt without any separate openvpn 
> repositories?
> 
> If it is working still but on 2.4.7 then try to move back to the ubuntu
> repositories somehow.
> ----

It seems unlikely that you should need to _purge_ the package, though if
you have your .ovpn/OpenVPN-config files backed up elsewhere then it
doesn't doesn't really matter.  (But if you chose the first option, a
simple "remove" should be fine.)


Since you aren't using the VPN link during the upgrade, I don't think it
will make much difference which of those two approaches you take. 

Note that apt/dpkg consider the version string "2.4.7-1ubuntu2.20.04.4"
(i.e. the Ubuntu package in Focal) to be lower than "2.4.7-xenial0", so
I'm pretty sure if you follow the second option you will indeed need to
manually force your system to switch to the Ubuntu version of the
package after you complete the release upgrade.

(That's where you would use either "apt install openvpn/focal" or "apt
install openvpn=2.4.7-1ubuntu2.20.04.4" to override the default
package-version-selection algorithm and force the switch.)

It's not a bad idea to disable the build.openvpn.net repositories in
your /etc/apt/sources.list files yourself, but I believe the
release-upgrade process will do that for you in any case....


                                                        Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239


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

Reply via email to