Bug 2099967 - dnf problems including cannot install both python3-3.10.5-2.fc37.x86_64 and python3-3.11.0~b3-4.fc37.x86_64
Summary: dnf problems including cannot install both python3-3.10.5-2.fc37.x86_64 and p...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aoife Moloney
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.11
TreeView+ depends on / blocked
 
Reported: 2022-06-22 06:04 UTC by Matt Fagnani
Modified: 2023-05-09 13:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-23 09:02:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2022-06-22 06:04:13 UTC
Description of problem:

I ran sudo dnf upgrade --refresh in the Fedora Rawhide/37 live image Fedora-KDE-Live-x86_64-Rawhide-20220621.n.3.iso downloaded from https://koji.fedoraproject.org/koji/buildinfo?buildID=1990877 dnf problems indicated a conflict between python3-3.10.5-2.fc37.x86_64 and python3-3.11.0~b3-4.fc37.x86_64 which were both installed in the image.

Problem 1: cannot install both python3-3.10.5-2.fc37.x86_64 and python3-3.11.0~b3-4.fc37.x86_64
  - cannot install the best update candidate for package python3.10-3.10.5-3.fc37.x86_64
  - problem with installed package python3-3.11.0~b3-4.fc37.x86_64
 Problem 2: cannot install both python3-libs-3.10.5-2.fc37.x86_64 and python3-libs-3.11.0~b3-4.fc37.x86_64
  - cannot install the best update candidate for package python3.10-libs-3.10.5-3.fc37.x86_64
  - problem with installed package python3-libs-3.11.0~b3-4.fc37.x86_64
 Problem 3: cannot install both python3-tkinter-3.10.5-2.fc37.x86_64 and python3-tkinter-3.11.0~b3-4.fc37.x86_64
  - cannot install the best update candidate for package python3.10-tkinter-3.10.5-3.fc37.x86_64
  - problem with installed package python3-tkinter-3.11.0~b3-4.fc37.x86_64
==============================================================================================================
 Package                       Architecture         Version                       Repository             Size
==============================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 python3                       x86_64               3.10.5-2.fc37                 rawhide                27 k
 python3-libs                  x86_64               3.10.5-2.fc37                 rawhide               7.4 M
 python3-tkinter               x86_64               3.10.5-2.fc37                 rawhide               322 k

Transaction Summary
==============================================================================================================
Skip  3 Packages

Nothing to do.
Complete!

Version-Release number of selected component (if applicable):
python3.10-3.10.5-3.fc37.x86_64
python3-3.11.0~b3-4.fc37.x86_64

How reproducible:
These errors happened 2/2 times.

Steps to Reproduce:
1. Boot Fedora-KDE-Live-x86_64-Rawhide-20220621.n.3.iso
2. Start Konsole in Plasma
3. sudo dnf upgrade --refresh

Actual results:
dnf problems including cannot install both python3-3.10.5-2.fc37.x86_64 and python3-3.11.0~b3-4.fc37.x86_64

Expected results:
No errors would happen

Additional info:

python3-3.11.0~b3-4.fc37.x86_64 appears to be the default python3 version in this image.
sudo dnf repoquery --whatrequires python3.10-libs --installed showed
python3.10-0:3.10.5-3.fc37.x86_64
sudo-python-plugin-0:1.9.8-5.p2.fc36.x86_64

The sudo-1.9.8-7.p2.fc37 rebuild for Python 3.11 failed at https://koji.fedoraproject.org/koji/buildinfo?buildID=1982350 which might explain why sudo-python-plugin-0:1.9.8-5.p2.fc36.x86_64 is in the image and pulled python3.10-libs into it.

Comment 1 Miro Hrončok 2022-06-22 08:31:04 UTC

*** This bug has been marked as a duplicate of bug 2062150 ***

Comment 2 Miro Hrončok 2022-06-22 08:58:00 UTC
Actually, sudo-python-plugin is just a reason you have both Python versions installed.



This problem is caused by the fact that the mirrors for dnf are outdated compared to the image.


So while python3 is 3.11 in the image, it is still 3.10 on your local mirror.


I've downloaded and booted the image:


$ dnf repoquery python3
python3-0:3.10.5-2.fc37.i686
python3-0:3.10.5-2.fc37.x86_64

$ rpm -q python3
python3-3.11.0~b3-4.fc37.x86_64

This will eventually solve itself.

Comment 3 Miro Hrončok 2022-06-23 09:02:01 UTC
I believe this is now fixed, at least on the mirror I get here.


Note You need to log in before you can comment on or make changes to this bug.