Bug #16521
closedRudder agent 5.x package not compatible with Centos8
Description
Latest Centos8 installed using CentOS-8-x86_64-1905-dvd1.iso.
Ran install script with :
[root@template-packer ~]# curl https://repository.rudder.io/tools/rudder-setup | bash -s setup-agent 5.0 myserver.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29260 100 29260 0 0 621k 0 --:--:-- --:--:-- --:--:-- 621k
Rudder 5.0 Repository 18 kB/s | 38 kB 00:02
Error:
Problem: conflicting requests
- nothing provides /usr/bin/python needed by rudder-agent-1398866025:5.0.15.release-1.EL.8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@template-packer ~]# dnf install python2 python3
Last metadata expiration check: 0:01:29 ago on Fri 10 Jan 2020 03:11:56 PM CET.
Package python2-2.7.15-24.module_el8.0.0+193+7850e68f.x86_64 is already installed.
Package python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@template-packer ~]# cat /etc/centos-release
CentOS Linux release 8.0.1905 (Core)
This is due to /usr/bin/python not being installable anymore through dnf (can install either python2 or python3, and create an alternative instead).
Setting up the alternative doesn't help to install rudder-agent.
Updated by Alexis Mousset almost 5 years ago
Thanks for reporting. As a workaround before the fix, you can use the 6.0 package that should work and is compatible with 5.0 servers.
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Félix DALLIDET almost 5 years ago
This is most likely due to the lib auto-detection done by the rpm packaging which triggers on the python files in the agent.
Backporting our support for python3 scripts to 5.0 should fix the issue.
Updated by Félix DALLIDET almost 5 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET almost 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-agent/pull/287
Updated by Félix DALLIDET almost 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|187e5d2b9e93c143ab8575d037931181f4598d10.
Updated by François ARMAND over 4 years ago
- Fix check changed from To do to Checked
Updated by Alexis Mousset over 4 years ago
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.17 and 6.0.5 which were released today.