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

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



[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