Cannot install the best candidate for the job

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
james84126
OpenVpn Newbie
Posts: 3
Joined: Thu Mar 07, 2024 8:07 am

Cannot install the best candidate for the job

Post by james84126 » Thu Mar 07, 2024 9:38 am

Hello everyone
I encountered the following warning message when installing openvpn-as

Code: Select all

cannot install the best candidate for the job
  - nothing provides python3.11-setuptools needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
  - nothing provides python3.11-cffi needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
  - nothing provides python3.11-cryptography needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
  - nothing provides python3.11-idna needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
  - nothing provides python3.11-lxml needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
  - nothing provides python(abi) = 3.11 needed by openvpn-as-2.13.1_d8cdeb9c-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
I tried using the --nobest parameter and successfully installed openvpn-as-2.12.3
But I don’t know if there will be any problems after installation.
If you want to upgrade to openvpn-as-2.13.1 later
The system is centos 8
Tanks

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

Re: Cannot install the best candidate for the job

Post by openvpn_inc » Thu Mar 07, 2024 7:18 pm

Hello,

There is no official image for CentOS8 or CentOS Stream8, but only for CentOS7

You can verify that by checking our installation guide:
https://as-portal.openvpn.com/instructi ... stallation

Now, if you want to use CentOS8 or CentOS Stream8 to update your OpenVPN Access Server, you can try using the RHEL8 instructions:
https://as-portal.openvpn.com/instructi ... stallation

That should work

Note: This Linux OS (CentOS8 or CentOS Stream8) is not officially supported, however in theory, it's compatible with RHEL Repositories which we do support. This should be compatible but there is no guarantee to function as expected


Best Regards,

DynamoX
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

james84126
OpenVpn Newbie
Posts: 3
Joined: Thu Mar 07, 2024 8:07 am

Re: Cannot install the best candidate for the job

Post by james84126 » Fri Mar 08, 2024 9:16 am

Thanks for reply
Because I want to upgrade to openvpn-as-2.13.1 version
I would like to ask how to install the python3.11 package that I am missing.
Please provide assistance, thank you

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

Re: Cannot install the best candidate for the job

Post by openvpn_inc » Fri Mar 08, 2024 5:10 pm

Hello,

What Linux OS are you using? "CentOS 8" or "CentOS Stream 8"?

You can check that with the below command:

cat /etc/os-release

"CentOS 8" is already EOL so that won't work

"CentOS Stream 8" will work (Just tested now):

[root@centos-s-1vcpu-1gb-nyc1-01 ~]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
PRETTY_NAME="CentOS Stream 8"

[root@centos-s-1vcpu-1gb-nyc1-01 ~]# python3 --version
Python 3.11.7

[root@centos-s-1vcpu-1gb-nyc1-01 ~]# sacli version
2.13.1 (build d8cdeb9c)


And of course, RHEL8 will work as well

If you're using "CentOS 8", make sure to migrate to a supported Linux OS


Best Regards,

DynamoX
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

james84126
OpenVpn Newbie
Posts: 3
Joined: Thu Mar 07, 2024 8:07 am

Re: Cannot install the best candidate for the job

Post by james84126 » Mon Mar 11, 2024 1:51 am

Thank you very much for your reply
The following is my system information and python version
-------

Code: Select all

[root@ech-20240305-gydx-0001 ~]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
-----

Code: Select all

[root@ech-20240305-gydx-0001 bin]# python3 --version
Python 3.6.8
-----
In addition, I have additionally installed python3.11. The path is in /usr/local/bin.

Code: Select all

[root@ech-20240305-gydx-0001 bin]# pwd
/usr/local/bin
[root@ech-20240305-gydx-0001 bin]# python3.11 --version
Python 3.11.0a4
-----

Code: Select all

[root@ech-20240305-gydx-0001 bin]# sacli version
'2.12.3 (build 76774795)

"May I need to provide any additional information?"Thank you.

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

Re: Cannot install the best candidate for the job

Post by openvpn_inc » Mon Mar 11, 2024 2:51 pm

Hello,

You're using "CentOS Linux 8", not "CentOS Stream 8"

"CentOS Linux 8" has been EOL since December 31st, 2021 (No support for this Linux OS)
https://www.centos.org/centos-linux-eol/

Please migrate to a supported Linux OS so you will be able to install the latest OpenVPN Access Server

Best Regards,

DynamoX
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