0

I can't install updates and start getting the following error on Ubuntu 20.04.4 LTS. It looks like python package issue. How can I solve it?

enter image description here

Sithu
  • 215
  • 1
  • 3
  • 14
  • Are you using third party repositories ? Please run sudo apt updateand sudo apt upgrade and copy/paste the results into your original question. – Soren A Apr 29 '22 at 03:00
  • By the way, 14,04 is EOL and not supported. – Soren A Apr 29 '22 at 03:01
  • @SorenA According to Ubuntu Wiki, 20.04.4 LTS EOL is April 2030. The tag was wrong, my bad. – Sithu Apr 29 '22 at 03:19
  • The 14.04 comment might have been for an other question ... sorry – Soren A Apr 29 '22 at 03:24
  • @Sithu, community support for Ubuntu 20.04 ends in 2025. After that, we won't answer questions about it anymore. After the end of community support, Canonical has committed to provide free security patches until 2030, but they won't answer questions or provide other forms of support for free. – user535733 Apr 29 '22 at 03:51

1 Answers1

0

According to the answer https://askubuntu.com/a/1404848/177906, I resolved the issue as below.

deleted all Python 3.7 packages:

sudo apt --fix-missing purge $(dpkg -l | grep 'python3\.7' | awk '{print $2}')

and installed the same packages again:

sudo apt install libpython3.7-minimal libpython3.7-stdlib python3.7 python3.7-minimal python3.7-venv
Sithu
  • 215
  • 1
  • 3
  • 14