Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2648

Raspberry Pi OS • Re: Updates fail on module build

$
0
0
I didn't give up, but obviously none of the issues I could find so far look like the one I'm facing, for instance https://www.google.fr/search?q=Le+paque ... igur%C3%A9 or https://www.google.com/search?client=fi ... igur%C3%A9, hence none of the solutions could help.
Among them,

Code:

sudo apt install -fysudo apt --fix-broken installsudo dpkg --configure -asudo apt-get install -f
and a few others.
If that can help to help me, here are some diagnosis attempts that I hope will be useful to more skilled people :

Code:

stellarmate@stellarmate:~ $ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"ii  linux-headers-6.6.74+rpt-common-rpi   1:6.6.74-1+rpt1           allii  linux-headers-6.6.74+rpt-rpi-2712     1:6.6.74-1+rpt1           arm64ii  linux-headers-6.6.74+rpt-rpi-v8       1:6.6.74-1+rpt1           arm64ii  linux-image-6.6.74+rpt-rpi-2712       1:6.6.74-1+rpt1           arm64ii  linux-image-6.6.74+rpt-rpi-v8         1:6.6.74-1+rpt1           arm64ii  linux-headers-6.12.20+rpt-common-rpi  1:6.12.20-1+rpt1~bpo12+1  alliF  linux-image-6.12.20+rpt-rpi-2712      1:6.12.20-1+rpt1~bpo12+1  arm64iF  linux-image-6.12.20+rpt-rpi-v8        1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-headers-6.12.20+rpt-rpi-2712    1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-headers-6.12.20+rpt-rpi-v8      1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-headers-rpi-2712                1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-headers-rpi-v8                  1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-image-rpi-2712                  1:6.12.20-1+rpt1~bpo12+1  arm64iU  linux-image-rpi-v8                    1:6.12.20-1+rpt1~bpo12+1  arm64Noyau courant : 6.12.20+rpt-rpi-v8 aarch64stellarmate@stellarmate:~ $
and

Code:

stellarmate@stellarmate:~ $ dpkg -l | grep -v ^iiSouhait=inconnU/Installé/suppRimé/Purgé/H=à  garder| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)||/ Nom                                           Version                                   Architecture Description+++-=============================================-=========================================-============-==============================================================================================rc  chromium                                      1:129.0.6668.89-1~deb12u1+rpt1            arm64        web browserrc  docutils-common                               0.19+dfsg-6                               all          text processing system for reStructuredText - common datarc  kdeconnect                                    22.12.3-1                                 arm64        connect smartphones to your desktop devicesrc  libkf5contacts-data                           5:5.103.0-1                               all          data files for kcontactsrc  libkf5people5:arm64                           5.103.0-1                                 arm64        framework providing unified access to contacts aggregated by personrc  libssl1.1:arm64                               1.1.1w-0~deb11u1+rpt1                     arm64        Secure Sockets Layer toolkit - shared librariesiU  linux-headers-6.12.20+rpt-rpi-2712            1:6.12.20-1+rpt1~bpo12+1                  arm64        Header files for Linux 6.12.20+rpt-rpi-2712iU  linux-headers-6.12.20+rpt-rpi-v8              1:6.12.20-1+rpt1~bpo12+1                  arm64        Header files for Linux 6.12.20+rpt-rpi-v8iU  linux-headers-rpi-2712                        1:6.12.20-1+rpt1~bpo12+1                  arm64        Header files for Linux rpi-2712 configuration (meta-package)iU  linux-headers-rpi-v8                          1:6.12.20-1+rpt1~bpo12+1                  arm64        Header files for Linux rpi-v8 configuration (meta-package)iF  linux-image-6.12.20+rpt-rpi-2712              1:6.12.20-1+rpt1~bpo12+1                  arm64        Linux 6.12 for Raspberry Pi 2712, Raspberry PiiF  linux-image-6.12.20+rpt-rpi-v8                1:6.12.20-1+rpt1~bpo12+1                  arm64        Linux 6.12 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.31+rpt-rpi-2712               1:6.6.31-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.31+rpt-rpi-v8                 1:6.6.31-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.47+rpt-rpi-2712               1:6.6.47-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.47+rpt-rpi-v8                 1:6.6.47-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.51+rpt-rpi-2712               1:6.6.51-1+rpt3                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.51+rpt-rpi-v8                 1:6.6.51-1+rpt3                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.62+rpt-rpi-2712               1:6.6.62-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.62+rpt-rpi-v8                 1:6.6.62-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry PiiU  linux-image-rpi-2712                          1:6.12.20-1+rpt1~bpo12+1                  arm64        Linux for Raspberry Pi 2712 (meta-package)iU  linux-image-rpi-v8                            1:6.12.20-1+rpt1~bpo12+1                  arm64        Linux for Raspberry Pi v8 (meta-package)rc  rpi-chromium-mods                             20240904                                  arm64        Raspberry Pi-specific mods to Chromiumrc  system-config-printer                         1.5.18-1                                  all          graphical interface to configure the printing systemstellarmate@stellarmate:~ $
It seems some packages are in an unknown state, or failed to configure, or even in a bad state, however I couldn't find what to do to fix this, and TBH I'm afraid I might make thigs worse.
Maybe I did miss something useful, but I can't find what. Anyone that could point me towards a starting point ?

TIA,

---------------------------------------------------- Edit -------------------------------------------
I did something really stupid : I renamed the dkms folder under /var/lib

Code:

sudo mv /var/lib/dkms ex-dkms
, then restarted the PI and a

Code:

sudo apt update && sudo apt full-upgrade
later,

Code:

stellarmate@stellarmate:~ $ dpkg -l | grep -v ^iiSouhait=inconnU/Installé/suppRimé/Purgé/H=à garder| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)||/ Nom                                           Version                                   Architecture Description+++-=============================================-=========================================-============-==============================================================================================rc  chromium                                      1:129.0.6668.89-1~deb12u1+rpt1            arm64        web browserrc  docutils-common                               0.19+dfsg-6                               all          text processing system for reStructuredText - common datarc  kdeconnect                                    22.12.3-1                                 arm64        connect smartphones to your desktop devicesrc  libkf5contacts-data                           5:5.103.0-1                               all          data files for kcontactsrc  libkf5people5:arm64                           5.103.0-1                                 arm64        framework providing unified access to contacts aggregated by personrc  libssl1.1:arm64                               1.1.1w-0~deb11u1+rpt1                     arm64        Secure Sockets Layer toolkit - shared librariesrc  linux-image-6.6.31+rpt-rpi-2712               1:6.6.31-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.31+rpt-rpi-v8                 1:6.6.31-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.47+rpt-rpi-2712               1:6.6.47-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.47+rpt-rpi-v8                 1:6.6.47-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.51+rpt-rpi-2712               1:6.6.51-1+rpt3                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.51+rpt-rpi-v8                 1:6.6.51-1+rpt3                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  linux-image-6.6.62+rpt-rpi-2712               1:6.6.62-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi 2712, Raspberry Pirc  linux-image-6.6.62+rpt-rpi-v8                 1:6.6.62-1+rpt1                           arm64        Linux 6.6 for Raspberry Pi v8, Raspberry Pirc  rpi-chromium-mods                             20240904                                  arm64        Raspberry Pi-specific mods to Chromiumrc  system-config-printer                         1.5.18-1                                  all          graphical interface to configure the printing systemstellarmate@stellarmate:~ $ 
So everything is running fine again.

Statistics: Posted by FalCT60 — Tue Apr 22, 2025 10:16 pm



Viewing all articles
Browse latest Browse all 2648

Trending Articles