Cannot install python3-venv (broken dependence)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python3-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
When running `sudo apt-get install python3-venv`
I get an error
The following packages have unmet dependencies:
python3.10-venv : Depends: python3.10 (= 3.10.6-1~22.04) but 3.10.6-1~22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
The output of `apt policy python3.10` is below. My OS is Ubuntu 22.04.1 LTS.
python3.10:
Installed: 3.10.6-1~22.04.2
Candidate: 3.10.6-1~22.04.2
Version table:
*** 3.10.6-1~22.04.2 100
100 /var/lib/
3.10.6-1~22.04 500
500 http://
3.
500 http://
3.10.4-3 500
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-venv (not installed)
ProcVersionSign
Uname: Linux 5.15.0-56-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Jan 22 13:13:33 2023
InstallationDate: Installed on 2022-11-26 (56 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: python3-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

I've changed to the Main ubuntu repository and the problem is gone. The bug can be closed.