AIX

 View Only

 DNF update - cannot install both python3.12-3.12.13-1 and python3.12-3.12.12-1 issue

Nedbank Power Systems Support's profile image
Nedbank Power Systems Support posted Wed April 01, 2026 04:46 AM

We have successfully migrated several servers in our landscape to AIX7300-04-00 and 7300-03-01 from AIX7200. We originally ran dnf update successfully, but it appears that since our repository server was upgraded to AIX7300-04-00 that we now get the following error message whenever we run a dnf update on any of the server running AIX7300-0X-XX -

# dnf update
Last metadata expiration check: 0:30:04 ago on Tue Mar 31 13:06:12 2026.
Error:
Problem 1: package python3.12-3.12.13-1.ppc from Local_AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
- cannot install both python3.12-3.12.13-1.ppc from Local_AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
- cannot install the best update candidate for package python3.12-3.12.12-1.ppc
Problem 2: cannot install both python3.12-3.12.13-1.ppc from Local_AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
- package python3.12-devel-3.12.13-1.ppc from Local_AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
- package python3-3.12.13-1.ppc from Local_AIX_Toolbox requires python3.12 = 3.12.13, but none of the providers can be installed
- cannot install the best update candidate for package python3.12-devel-3.12.12-1.ppc
- cannot install the best update candidate for package python3-3.12.12-1.ppc
Problem 3: cannot install both python3.12-3.12.13-1.ppc from Local_AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
- package python3.12-devel-3.12.13-1.ppc from Local_AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
- package python3-3.12.13-1.ppc from Local_AIX_Toolbox requires python3.12 = 3.12.13, but none of the providers can be installed
- package python3-devel-3.12.13-1.ppc from Local_AIX_Toolbox requires python3.12-devel = 3.12.13, but none of the providers can be installed
- package python3-devel-3.12.13-1.ppc from Local_AIX_Toolbox requires python3 = 3.12.13-1, but none of the providers can be installed
- cannot install the best update candidate for package python3-devel-3.12.12-1.ppc
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Check the packages to be installed

# dnf check-update
Last metadata expiration check: 21:24:59 ago on Tue Mar 31 13:06:12 2026.

python3.ppc                                                                 3.12.13-1                                                        Local_AIX_Toolbox
python3-devel.ppc                                                           3.12.13-1                                                        Local_AIX_Toolbox
python3.12.ppc                                                              3.12.13-1                                                        Local_AIX_Toolbox
python3.12-devel.ppc                                                        3.12.13-1                                                        Local_AIX_Toolbox

I have tried dnf reinstall python3.12 which fails with a similar error.
Other packages cans still be updated, this just appears to be an issue with python3.12. Trying to remove it fails because python3.12 is required by dnf.

Has anyone experienced this problem? 

Ayappan P's profile image
Ayappan P

I think your dnf.conf file is missing the below line under the main stanza. 
optional_metadata_types=filelists

The new dnfs by default don't get the filelists metadata. So you need that. 

Nedbank Power Systems Support's profile image
Nedbank Power Systems Support

Hi Ayappan P,

Thanks so much, that worked.

Much appreciated.