![]() |
TRYING TO INSTALL BRAVE° - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20) +--- Thread: TRYING TO INSTALL BRAVE° (/showthread.php?tid=8715) |
TRYING TO INSTALL BRAVE° - F R G - 03-11-2023 =========================== 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 the Software - Support - Updates section for assistance. ============ Log =========== Obj:1 http://repo.linuxliteos.com/linuxlite fluorite InRelease Obj:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease Obj:3 http://archive.canonical.com/ubuntu jammy InRelease Obj:4 http://packages.microsoft.com/repos/code stable InRelease Des:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Obj:6 https://brave-browser-apt-release.s3.brave.com stable InRelease Obj:7 http://security.ubuntu.com/ubuntu jammy-security InRelease Obj:8 https://deb.opera.com/opera-stable stable InRelease Obj:9 https://deb.nodesource.com/node_18.x jammy InRelease Obj:10 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease Des:11 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB] Traceback (most recent call last): File "/usr/lib/cnf-update-db", line 3, in <module> import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' Descargados 226 kB en 15s (15.2 kB/s) Leyendo lista de paquetes... E: Problem executing scripts APT::Update: ![]() E: Sub-process returned an error code any adivice to solve this issue?! thanks... Re: TRYING TO INSTALL BRAVE° - stevef - 03-14-2023 May be a problem with python loading a module which is very odd. Was the system working and updating ok and then something changed ? Can you explain what happened ? Was it installing Brave ? Re: TRYING TO INSTALL BRAVE° - F R G - 03-14-2023 (03-14-2023, 11:29 AM)stevef link Wrote: May be a problem with python loading a module which is very odd. well what Im looking its that I cant install anything into my device now this error appair when I try to install some files from a packages soo maybe I need to reset my device any advice?? also this is the new error =========================== 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 the Software - Support - Updates section for assistance. ============ Log =========== Obj:1 http://archive.canonical.com/ubuntu jammy InRelease Obj:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease Obj:3 http://repo.linuxliteos.com/linuxlite fluorite InRelease Obj:4 https://deb.nodesource.com/node_18.x jammy InRelease Des:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Obj:6 http://packages.microsoft.com/repos/code stable InRelease Obj:7 https://deb.opera.com/opera-stable stable InRelease Obj:8 https://brave-browser-apt-release.s3.brave.com stable InRelease Des:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Des:10 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB] Obj:11 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy 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' Descargados 336 kB en 2s (202 kB/s) Leyendo lista de paquetes... E: Problem executing scripts APT::Update: ![]() E: Sub-process returned an error code Re: TRYING TO INSTALL BRAVE° - stevef - 03-14-2023 One (or more) of the system files that the update script needs may have been lost. Do you have any system backups made with the 'System Restore Utility' (Timeshift) that were made before the problem started ? If so, this should allow you to restore the system files to the previous working state. Re: TRYING TO INSTALL BRAVE° - trinidad - 03-15-2023 One of the browser updates (likely brave) is using a hook to the wrong version of python. "/usr/lib/cnf-update-db" is a python 3 script. I think jammy uses python 3.10 as default but that may have changed since its first release. Before messing with update-alternatives I would disable the brave ppa and maybe deadsnakes too and try running updates. Again the error is caused by a hook calling for a version of python that is not correctly enabled (linked). Paste "/usr/lib/cnf-update-db" into google and read up on the problem. TC |