How to resolve the error "Unable to install or update any libraries ModuleNotFoundError: No module named 'apt_pkg'" on Ubuntu
The issue can be resolved by uninstalling and installing the python3-apt
package
sudo apt remove python3-apt
sudo apt install python3-apt