Software - Support > Updates

SOLVED : Update returned some errors

<< < (2/2)

noweare:
I think I might have something wrong with my python package.
I don't understand  what you mean by saying that it worked for you so it should
work for me.

firenice03:
@noweare
 
Give it another go..
Mine all passed - perhaps something temporary





--- Code: ---
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libpython3.8 libpython3.8-dev libpython3.8-minimal libpython3.8-stdlib
  python3.8 python3.8-dev python3.8-minimal
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 4,096 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-minimal amd64 3.8.10-0ubuntu1~20.04.4 [717 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-minimal amd64 3.8.10-0ubuntu1~20.04.4 [1,899 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-stdlib amd64 3.8.10-0ubuntu1~20.04.4 [1,675 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8 amd64 3.8.10-0ubuntu1~20.04.4 [387 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8 amd64 3.8.10-0ubuntu1~20.04.4 [1,625 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu1~20.04.4 [3,952 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu1~20.04.4 [514 kB]
Fetched 10.8 MB in 10s (1,072 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
....
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../libpython3.8-minimal_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking libpython3.8-minimal:amd64 (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up libpython3.8-minimal:amd64 (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
...
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../python3.8-minimal_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking python3.8-minimal (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up python3.8-minimal (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
....
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../libpython3.8-stdlib_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking libpython3.8-stdlib:amd64 (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up libpython3.8-stdlib:amd64 (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
...
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../python3.8_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking python3.8 (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up python3.8 (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
...
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../libpython3.8_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
....
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../libpython3.8-dev_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.4) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
...
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 356889 files and directories currently installed.)
Preparing to unpack .../python3.8-dev_3.8.10-0ubuntu1~20.04.4_amd64.deb ...
Unpacking python3.8-dev (3.8.10-0ubuntu1~20.04.4) over (3.8.10-0ubuntu1~20.04.2) ...
Setting up python3.8-dev (3.8.10-0ubuntu1~20.04.4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

--- End code ---

noweare:
Hello,
I am getting an error during updating.
If any of you all could shed some light on it
that would be great.
Thanks
Joe


===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Hit:5 http://repo.linuxliteos.com/linuxlite emerald InRelease
Hit:6 http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu focal InRelease
Hit:7 http://ppa.launchpad.net/mosquitto-dev/mosquitto-ppa/ubuntu focal InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:11 http://packages.microsoft.com/repos/code stable InRelease
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 8, in <module>
    from CommandNotFound.db.creator import DbCreator
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 12, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists...
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

Navigation

[0] Message Index

[*] Previous page

Go to full version