[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] python3-condor-23.7.0-0.724340.el8.x86_64 RPM problem



Hello Stuart,

We recently added new code for cmake to determine the actual Python in use on the system and use that. For the Enterprise Linux distros (CentOS Stream, Alma, Rocky), fresh installs of HTCondor work for both EL8 and EL9. Upgrade installs work for EL9. As you have noticed, upgrade installs for EL8 fail. This is likely a defect in dnf.

We will have to resolve this before the code freeze.

...Tim

On 4/4/24 19:38, Anderson, Stuart B. wrote:
[root@condor-f4 ~]# cat /etc/redhat-release
Rocky Linux release 8.9 (Green Obsidian)

[root@condor-f4 ~]# dnf install python3-condor-23.7.0-0.724340.el8.x86_64
Last metadata expiration check: 1:48:07 ago on Thu 04 Apr 2024 03:39:43 PM PDT.
Error:   Problem: conflicting requests
   - nothing provides /bin/python3 needed by python3-condor-23.7.0-0.724340.el8.x86_64 from htcondor-23.x-daily
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

which is a bit strange since,

[root@condor-f4 ~]# rpm -qf /bin/python3
python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64
python3.11-3.11.5-1.el8_9.x86_64
python39-3.9.18-1.module+el8.9.0+1581+c29ce980.x86_64

however, dnf provides /bin/python3 only returns matches for /usr/bin and not /bin,

[root@condor-f4 ~]# dnf provides /bin/python3
Last metadata expiration check: 1:52:15 ago on Thu 04 Apr 2024 03:39:43 PM PDT.
python3.11-3.11.5-1.el8_9.i686 : Version 3.11 of the Python interpreter
Repo        : powertools
Matched from:
Filename    : /usr/bin/python3

python3.11-3.11.5-1.el8_9.x86_64 : Version 3.11 of the Python interpreter
Repo        : @System
Matched from:
Filename    : /usr/bin/python3

python3.11-3.11.5-1.el8_9.x86_64 : Version 3.11 of the Python interpreter
Repo        : appstream
Matched from:
Filename    : /usr/bin/python3

python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 : Interpreter of the Python programming language
Repo        : @System
Matched from:
Filename    : /usr/bin/python3

python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 : Interpreter of the Python programming language
Repo        : appstream
Matched from:
Filename    : /usr/bin/python3

python38-3.8.17-2.module+el8.9.0+1418+f0d66789.x86_64 : Interpreter of the Python programming language
Repo        : appstream
Matched from:
Filename    : /usr/bin/python3

python39-3.9.18-1.module+el8.9.0+1581+c29ce980.x86_64 : Version 3.9 of the Python interpreter
Repo        : @System
Matched from:
Filename    : /usr/bin/python3

python39-3.9.18-1.module+el8.9.0+1581+c29ce980.x86_64 : Version 3.9 of the Python interpreter
Repo        : appstream
Matched from:
Filename    : /usr/bin/python3


Presumably there is some package ownership/dependency confusion over the symbolic link tree,

[root@condor-f4 ~]# ls -l /bin/python3
lrwxrwxrwx. 1 root root 25 Jun  1  2022 /bin/python3 -> /etc/alternatives/python3
[root@condor-f4 ~]# ls -l /usr/bin/python3
lrwxrwxrwx. 1 root root 25 Jun  1  2022 /usr/bin/python3 -> /etc/alternatives/python3
[root@condor-f4 ~]# ls -l /etc/alternatives/python3
lrwxrwxrwx. 1 root root 18 Jun  1  2022 /etc/alternatives/python3 -> /usr/bin/python3.6
[root@condor-f4 ~]# ls -l /usr/bin/python3.6
lrwxrwxrwx. 1 root root 31 Nov  9  2021 /usr/bin/python3.6 -> /usr/libexec/platform-python3.6
[root@condor-f4 ~]# ls -l /usr/libexec/platform-python3.6
-rwxr-xr-x 2 root root 11872 Jan 15 15:11 /usr/libexec/platform-python3.6


Note, this system does have a previous 23.7.0 build installed,

[root@condor-f4 ~]# rpm -q python3-condor
python3-condor-23.7.0-0.722311.el8.x86_64

Thanks.

â
Stuart Anderson
sba@xxxxxxxxxxx




_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

--
Tim Theisen (he, him, his)
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736