🔍 See Original Answer on Ask Ubuntu 🔗
A problem when Installing the Nvidia, Cuda on Ubuntu 16.04, and with upgrading the Ubuntu
January 20, 2021
November 24, 2022
Copy to clipboard: false
The first thing I would do is getting
apt working again as detailed here:
To summarize the answer:
Visit http://packages.ubuntu.com, and download the
apt packages, then install those packages using dpkg. It may take a few iterations, as dpkg complains about other missing dependencies that you must download and install in the correct order.
Generally, most users who have broken or missing Python find it faster and easier to simply backup their data and do a clean-install.