Score:0

Cannot install python3-venv (broken dependencies)

cn flag

I am trying to install python3-venv with sudo apt-get install python3-venv and I get

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.

I don't know why I have the 22.04.2 version of python, I am on the standard 22.04.1 LTS version of Ubuntu.

$ apt policy python3.10
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/dpkg/status
     3.10.6-1~22.04 500
        500 http://ubuntu.mirror.su.se/ubuntu jammy-updates/main amd64 Packages
     3.10.4-3ubuntu0.1 500
        500 http://ubuntu.mirror.su.se/ubuntu jammy-security/main amd64 Packages
     3.10.4-3 500
        500 http://ubuntu.mirror.su.se/ubuntu jammy/main amd64 Packages
Score:0
cn flag

The problem was with the repository. I've changed it to Main and had a bunch of packages updated. And now python3-env is up to date.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.