LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'apt_pkg'
#1
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!

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
Reply


Messages In This Thread
No module named 'apt_pkg' - by starnekit - 01-01-2024, 02:21 PM
Re: No module named 'apt_pkg' - by stevef - 01-02-2024, 05:49 AM
Re: No module named 'apt_pkg' - by starnekit - 01-02-2024, 05:59 PM
Re: No module named 'apt_pkg' - by stevef - 01-02-2024, 06:25 PM
Re: No module named 'apt_pkg' - by starnekit - 01-02-2024, 11:06 PM
Re: No module named 'apt_pkg' - by starnekit - 01-02-2024, 11:57 PM
Re: No module named 'apt_pkg' - by stevef - 01-03-2024, 08:25 AM
Re: No module named 'apt_pkg' - by starnekit - 01-03-2024, 01:57 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)