Update from within Linux not working

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Joseph99N
OpenVpn Newbie
Posts: 5
Joined: Sat Nov 04, 2017 6:26 pm

Update from within Linux not working

Post by Joseph99N » Fri Aug 25, 2023 6:41 pm

I just discovered that my regular updates (AWS EC2 Ubuntu instance; updating with sudo apt) have not been working. When I go into Access Server administration, the version shown is an older release.

Why might this be happening, and what can I do about it? (Some time ago, when I tried repeatedly to wget from what OpenVPN said to be a repository, the file wasn't found.)

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Update from within Linux not working

Post by openvpn_inc » Fri Aug 25, 2023 8:58 pm

Hello Joseph99N,

Some more information would be helpful. The older instances on AWS were Ubuntu 18 which doesn't get updates anymore. The newer instances are Ubuntu 22. It sounds like you're on Ubuntu 18. Perhaps it's time to migrate to Ubuntu 22.

Kind regards,
Johan
Image 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

Joseph99N
OpenVpn Newbie
Posts: 5
Joined: Sat Nov 04, 2017 6:26 pm

Re: Update from within Linux not working

Post by Joseph99N » Fri Aug 25, 2023 10:23 pm

It's on 22.04.x (can't remember the last dot subversion).

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Update from within Linux not working

Post by openvpn_inc » Sat Aug 26, 2023 10:42 am

Hi Joseph99N,

If the concern is why you are still running AS version 2.11.3, you can just update it to the latest version 2.12.0 by following the below guide:
https://openvpn.net/vpn-server-resource ... r-updated/

Else, feel free to clarify.

Regards,
.\kionci
Image 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

Joseph99N
OpenVpn Newbie
Posts: 5
Joined: Sat Nov 04, 2017 6:26 pm

Re: Update from within Linux not working

Post by Joseph99N » Sat Aug 26, 2023 5:50 pm

I'm on Ubuntu 20.04.02, not 22.4.x. My error.

In any event, I've had failures with trying to update with apt, use the installation instructions, or just install from the repo location. Here are my results from this morning's attempts. You can see I tried a few different approaches. Any insight into what I'm doing incorrectly would be greatly appreciated.

https://1drv.ms/b/s!Ar3Tu2r4iHU7gcF4r6i ... w?e=fraCCF

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Update from within Linux not working

Post by openvpn_inc » Tue Aug 29, 2023 5:53 am

Hello Joseph99N,

"Temporary failure resolving" means your DNS settings are broken. Therefore it cannot resolve addresses like as-repository.openvpn.net to their actual IP address, therefore it cannot reach that server, therefore it cannot download new version software from it.

Please look into repairing your broken DNS configuration so that resolving domain names works again.

Kind regards,
Johan
Image 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

Post Reply