Sunday, June 29, 2025

Unable to install python3.11-venv on debian bookworm


I was getting some errors when I tried installing python3.11-venv on debian bookworm.
____________________________________________

Err:1 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u5

404 Not Found [IP: 2a04:4e42:25::644 80]

E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python3.11/python3.11-venv_3.11.2-6%2bdeb12u5_amd64.deb 404 Not Found [IP: 2a04:4e42:25::644 80]



E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

___________________________

How did I resolve the issue?

Edit your sources.list following this example on Debian wiki by adding this line:deb http://security.debian.org/debian-security bookworm-security main


Then run:sudo apt update && sudo apt dist-upgrade sudo apt install -y python3.11-venv

_________________

No comments: