wrong dependencies(?) for pipx in Ubuntu 24.04.3 LTS

Bug #2128862 reported by jimav
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pipx (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

$ sudo apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true install pipx

Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) python3-venv:amd64 < none -> 3.12.3-0ubuntu1 @un pumN Ib >
Broken python3-venv:amd64 Depends on python3.12-venv:amd64 < none | 3.12.3-1 @un umH > (>= 3.12.3-0~)
  Considering python3.12-venv:amd64 0 as a solution to python3-venv:amd64 0
    Reinst Failed early because of python3.12:amd64
Broken python3-venv:amd64 Depends on python3:amd64 < 3.12.3-0ubuntu2 @ii mK > (= 3.12.3-0ubuntu1)
  Considering python3:amd64 591 as a solution to python3-venv:amd64 0
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-venv : Depends: python3.12-venv (>= 3.12.3-0~) but it is not going to be installed
                Depends: python3 (= 3.12.3-0ubuntu1) but 3.12.3-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

But THERE ARE NO held packages:

$ dpkg --get-selections | grep hold
<nothing printed>

It kinda looks like python3-venv depends on the wrong python3 package (that is, not the one provided by the repos in Ubuntu 24.04.3 LTS)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: pipx (not installed)
ProcVersionSignature: Ubuntu 6.14.0-28.28~24.04.1-generic 6.14.8
Uname: Linux 6.14.0-28-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 17 14:23:25 2025
SourcePackage: python-pipx
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
jimav (james-avera) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

There seems to be a mismatch in the dependencies requested. However, the packaged installed without issues on my test system so this is confusing. If you take a look at the package information for python3-venv, the version noble shipped with depends on python3 3.12.3-0ubuntu1 [1], but the one in noble-updates need python3 3.12.3-0ubuntu2 [2]. But these should follow each other with matching version numbers.

Could you please run `sudo apt update` to refresh package lists and if the problem persists please post the output of `apt policy python3-venv python3`

[1] https://packages.ubuntu.com/noble/python3-venv
[2] https://packages.ubuntu.com/noble-updates/python3-venv

Changed in python-pipx (Ubuntu):
status: New → Incomplete
tags: added: unmetdeps
Revision history for this message
jimav (james-avera) wrote :

I'm sorry, but I gave up and wiped my root partition and installed 25.04, which fixed the problem for me.

If someone else reports the same problem, I might be able to load a VM from my backups (with a lot of fiddling to get it to boot) and run those tests. Please post here or email me directly if that is needed; it would be a lot of work so don't want to go there unless necessary. Thanks.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for the followup.

I'll leave this bug open in case someone else run across the same issue before it expires. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-pipx (Ubuntu) because there has been no activity for 60 days.]

Changed in python-pipx (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.