Description:
During an upgrade procedure it might happen that you see this message during apt upgrade:
The following packages have been held/kept back:
openvpn-as
Cause:
If you encounter this message, the Access Server was not upgraded. It is possible the package was put on hold on purpose or it was held back for other reasons by the package manager like a dependency conflict. Our official OpenVPN Access Server deployment images have put the openvpn-as package on hold by default. Our upgrade guide contains more information on this.
Resolution:
The following commands remove the hold on the openvpn-as package, retrieve information on latest available packages, and then upgrade them, and finally put the hold back in place:
sudo su
apt-mark unhold openvpn-as
apt-get update
apt-get upgrade
apt-mark hold openvpn-as
If after doing the above you still see the message that openvpn-as is held back, it may be related to dependencies that need to be updated as well. You may then try these commands next :
sudo su
apt-mark unhold openvpn-as
apt-get --with-new-pkgs upgrade
apt-mark hold openvpn-as
If the upgrade process still did not succeed, then please open a support ticket, and describe what you have tried, and we will assist you further with this issue.
Access Server Resources:
OpenVPN Access Server Documentation
OpenVPN Access Server Resource Center
OpenVPN Access Server Admin Manual
Comments
0 comments
Please sign in to leave a comment.