Hello! I've tried to update several times with "sudo apt update", but anytime I have the same error with apt_pkg
Does anyone knows what the problem it could be?
For extra info - I installed some freshly versions of Python, maybe it broke the update system?
Thank you very much!
Does anyone knows what the problem it could be?
For extra info - I installed some freshly versions of Python, maybe it broke the update system?
Thank you very much!
Code:
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.freecinema2022.gq/forums/ and paste the log below into the Software - Support - Updates section for assistance.
============ Log ===========
Сущ:1 https://repo.steampowered.com/steam stable InRelease
Сущ:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Сущ:3 http://packages.microsoft.com/repos/code stable InRelease
Сущ:4 http://archive.canonical.com/ubuntu jammy InRelease
Сущ:5 https://dl.google.com/linux/chrome/deb stable InRelease
Сущ:6 http://repo.linuxliteos.com/linuxlite fluorite InRelease
Сущ:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Сущ:8 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Сущ:9 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Сущ:10 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 3, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Чтение списков пакетов…
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code