I messed my ubuntu 18.04LTS after I mistakenly typed
sudo apt-get remove libpython3.6-stdlib
This removed about 980 MB of packages and now many packages are missing from my ubuntu. How can I revert it back?
I messed my ubuntu 18.04LTS after I mistakenly typed
sudo apt-get remove libpython3.6-stdlib
This removed about 980 MB of packages and now many packages are missing from my ubuntu. How can I revert it back?
You may re-install the package by the following commands
sudo apt-get update
sudo apt-get install libpython3.6-stdlib
sudo apt install --reinstall python3 ubuntu-desktop
and see if it works... To get a list of recently removed or purged packages rungrep -E "remove|purge" /var/log/dpkg.log
– Raffa Jun 25 '21 at 17:39apt-cache policy libpython3.6-stdlib
? What is the output ofgrep -r ^deb /etc/apt --include=*.list
andgrep -r '^#.*deb' /etc/apt --include=*.list
? – N0rbert Jun 25 '21 at 18:07