My apologies. That did it. I really appreciate your help!You didn't read my answer to you post. This is an answer to blogspot post. Please go back and read your own personalized command which is sudo apt-get remove langford-dkmsI ran this, but I'm still getting errors:
That was it. I don't recall installing this, but I must have last year, and found that this command seems to completely remove it.Code:
sudo rm -rf /etc/modules-load.d/anbox.conf /lib/udev/rules.d/99-anbox.rules /usr/src/anbox-ashmem-1/ /usr/src/anbox-binder-1/ /var/lib/dkms/anbox-*
Code:
belladmin@bellDOTpi5:~ $ sudo apt-get full-upgrade -yReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages were automatically installed and are no longer required: libc++1-16 libc++abi1-16 libunwind-16Use 'sudo apt autoremove' to remove them.The following packages will be upgraded: chromium chromium-common chromium-l10n chromium-sandbox code libliftoff0 piwiz raspberrypi-sys-mods8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.8 not fully installed or removed.Need to get 256 MB of archives.After this operation, 64.5 kB of additional disk space will be used.Get:1 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-l10n all 1:135.0.7049.84-1~deb12u1+rpt1 [18.6 MB]Get:2 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium arm64 1:135.0.7049.84-1~deb12u1+rpt1 [104 MB]Get:3 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-common arm64 1:135.0.7049.84-1~deb12u1+rpt1 [33.4 MB]Get:4 http://archive.raspberrypi.com/debian bookworm/main arm64 chromium-sandbox arm64 1:135.0.7049.84-1~deb12u1+rpt1 [109 kB]Get:5 http://archive.raspberrypi.com/debian bookworm/main arm64 code arm64 1.99.2-1744249215 [100 MB]Get:6 http://archive.raspberrypi.com/debian bookworm/main arm64 libliftoff0 arm64 0.5.0-1.1+rpt3 [19.0 kB]Get:7 http://archive.raspberrypi.com/debian bookworm/main arm64 piwiz arm64 0.89 [200 kB]Get:8 http://archive.raspberrypi.com/debian bookworm/main arm64 raspberrypi-sys-mods arm64 20250410 [21.9 kB]Fetched 256 MB in 2min 33s (1,669 kB/s) apt-listchanges: Reading changelogs...Preconfiguring packages ...(Reading database ... 279650 files and directories currently installed.)Preparing to unpack .../0-chromium-l10n_1%3a135.0.7049.84-1~deb12u1+rpt1_all.deb ...Unpacking chromium-l10n (1:135.0.7049.84-1~deb12u1+rpt1) over (1:135.0.7049.52-1~deb12u1+rpt1) ...Preparing to unpack .../1-chromium_1%3a135.0.7049.84-1~deb12u1+rpt1_arm64.deb ...Unpacking chromium (1:135.0.7049.84-1~deb12u1+rpt1) over (1:135.0.7049.52-1~deb12u1+rpt1) ...Preparing to unpack .../2-chromium-common_1%3a135.0.7049.84-1~deb12u1+rpt1_arm64.deb ...Unpacking chromium-common (1:135.0.7049.84-1~deb12u1+rpt1) over (1:135.0.7049.52-1~deb12u1+rpt1) ...Preparing to unpack .../3-chromium-sandbox_1%3a135.0.7049.84-1~deb12u1+rpt1_arm64.deb ...Unpacking chromium-sandbox (1:135.0.7049.84-1~deb12u1+rpt1) over (1:135.0.7049.52-1~deb12u1+rpt1) ...Preparing to unpack .../4-code_1.99.2-1744249215_arm64.deb ...Unpacking code (1.99.2-1744249215) over (1.99.0-1743631455) ...Preparing to unpack .../5-libliftoff0_0.5.0-1.1+rpt3_arm64.deb ...Unpacking libliftoff0:arm64 (0.5.0-1.1+rpt3) over (0.5.0-1.1+rpt1~bpo12+1) ...Preparing to unpack .../6-piwiz_0.89_arm64.deb ...Unpacking piwiz (0.89) over (0.88) ...Preparing to unpack .../7-raspberrypi-sys-mods_20250410_arm64.deb ...Unpacking raspberrypi-sys-mods (20250410) over (20241202) ...Setting up libliftoff0:arm64 (0.5.0-1.1+rpt3) ...Setting up code (1.99.2-1744249215) ...grep: /etc/apt/sources.list.d/vscode.list: No such file or directorySetting up linux-image-6.12.20+rpt-rpi-2712 (1:6.12.20-1+rpt1~bpo12+1) ...I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.20+rpt-rpi-2712/etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.12.20+rpt-rpi-2712.Sign command: /lib/modules/6.12.20+rpt-rpi-2712/build/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubBuilding module:Cleaning build area...make -j4 KERNELRELEASE=6.12.20+rpt-rpi-2712 -C /lib/modules/6.12.20+rpt-rpi-2712/build M=/var/lib/dkms/langford/0.0.20130108/build...(bad exit status: 2)Error! Bad return status for module build on kernel: 6.12.20+rpt-rpi-2712 (aarch64)Consult /var/lib/dkms/langford/0.0.20130108/build/make.log for more information.Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.12.20+rpt-rpi-2712 failed!run-parts: /etc/kernel/postinst.d/dkms exited with return code 11dpkg: error processing package linux-image-6.12.20+rpt-rpi-2712 (--configure): installed linux-image-6.12.20+rpt-rpi-2712 package post-installation script subprocess returned error exit status 1Setting up raspberrypi-sys-mods (20250410) ...Installing new version of config file /etc/udev/rules.d/99-com.rules ...Setting up chromium-sandbox (1:135.0.7049.84-1~deb12u1+rpt1) ...dpkg: dependency problems prevent configuration of linux-image-rpi-2712: linux-image-rpi-2712 depends on linux-image-6.12.20+rpt-rpi-2712 (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-image-6.12.20+rpt-rpi-2712 is not configured yet.dpkg: error processing package linux-image-rpi-2712 (--configure): dependency problems - leaving unconfiguredSetting up piwiz (0.89) ...Setting up linux-image-6.12.20+rpt-rpi-v8 (1:6.12.20-1+rpt1~bpo12+1) ...I: /initrd.img is now a symlink to boot/initrd.img-6.12.20+rpt-rpi-v8/etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.12.20+rpt-rpi-v8.Sign command: /lib/modules/6.12.20+rpt-rpi-v8/build/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubBuilding module:Cleaning build area...make -j4 KERNELRELEASE=6.12.20+rpt-rpi-v8 -C /lib/modules/6.12.20+rpt-rpi-v8/build M=/var/lib/dkms/langford/0.0.20130108/build...(bad exit status: 2)Error! Bad return status for module build on kernel: 6.12.20+rpt-rpi-v8 (aarch64)Consult /var/lib/dkms/langford/0.0.20130108/build/make.log for more information.Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.12.20+rpt-rpi-v8 failed!run-parts: /etc/kernel/postinst.d/dkms exited with return code 11dpkg: error processing package linux-image-6.12.20+rpt-rpi-v8 (--configure): installed linux-image-6.12.20+rpt-rpi-v8 package post-installation script subprocess returned error exit status 1Setting up chromium-common (1:135.0.7049.84-1~deb12u1+rpt1) ...Setting up chromium (1:135.0.7049.84-1~deb12u1+rpt1) ...dpkg: dependency problems prevent configuration of linux-headers-6.12.20+rpt-rpi-2712: linux-headers-6.12.20+rpt-rpi-2712 depends on linux-image-6.12.20+rpt-rpi-2712 (= 1:6.12.20-1+rpt1~bpo12+1) | linux-image-6.12.20+rpt-rpi-2712-unsigned (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-image-6.12.20+rpt-rpi-2712 is not configured yet. Package linux-image-6.12.20+rpt-rpi-2712-unsigned is not installed.dpkg: error processing package linux-headers-6.12.20+rpt-rpi-2712 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-6.12.20+rpt-rpi-v8: linux-headers-6.12.20+rpt-rpi-v8 depends on linux-image-6.12.20+rpt-rpi-v8 (= 1:6.12.20-1+rpt1~bpo12+1) | linux-image-6.12.20+rpt-rpi-v8-unsigned (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-image-6.12.20+rpt-rpi-v8 is not configured yet. Package linux-image-6.12.20+rpt-rpi-v8-unsigned is not installed.dpkg: error processing package linux-headers-6.12.20+rpt-rpi-v8 (--configure): dependency problems - leaving unconfiguredSetting up chromium-l10n (1:135.0.7049.84-1~deb12u1+rpt1) ...dpkg: dependency problems prevent configuration of linux-headers-rpi-2712: linux-headers-rpi-2712 depends on linux-headers-6.12.20+rpt-rpi-2712 (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-headers-6.12.20+rpt-rpi-2712 is not configured yet.dpkg: error processing package linux-headers-rpi-2712 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-image-rpi-v8: linux-image-rpi-v8 depends on linux-image-6.12.20+rpt-rpi-v8 (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-image-6.12.20+rpt-rpi-v8 is not configured yet.dpkg: error processing package linux-image-rpi-v8 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-rpi-v8: linux-headers-rpi-v8 depends on linux-headers-6.12.20+rpt-rpi-v8 (= 1:6.12.20-1+rpt1~bpo12+1); however: Package linux-headers-6.12.20+rpt-rpi-v8 is not configured yet.dpkg: error processing package linux-headers-rpi-v8 (--configure): dependency problems - leaving unconfiguredProcessing triggers for initramfs-tools (0.142+rpt3+deb12u1) ...update-initramfs: Generating /boot/initrd.img-6.6.74+rpt-rpi-v8'/boot/initrd.img-6.6.74+rpt-rpi-v8' -> '/boot/firmware/initramfs8'update-initramfs: Generating /boot/initrd.img-6.6.74+rpt-rpi-2712'/boot/initrd.img-6.6.74+rpt-rpi-2712' -> '/boot/firmware/initramfs_2712'Processing triggers for hicolor-icon-theme (0.17-2) ...Processing triggers for gnome-menus (3.36.0-1.1) ...Processing triggers for libc-bin (2.36-9+rpt2+deb12u10) ...Processing triggers for man-db (2.11.2-2) ...Processing triggers for shared-mime-info (2.2-1) ...Processing triggers for mailcap (3.70+nmu1) ...Processing triggers for desktop-file-utils (0.26-1) ...Errors were encountered while processing: linux-image-6.12.20+rpt-rpi-2712 linux-image-rpi-2712 linux-image-6.12.20+rpt-rpi-v8 linux-headers-6.12.20+rpt-rpi-2712 linux-headers-6.12.20+rpt-rpi-v8 linux-headers-rpi-2712 linux-image-rpi-v8 linux-headers-rpi-v8E: Sub-process /usr/bin/dpkg returned an error code (1)
More info:Code:
root@bellDOTpi5:/home/belladmin# cat /var/lib/dkms/langford/0.0.20130108/build/make.logDKMS make.log for langford-0.0.20130108 for kernel 6.12.20+rpt-rpi-v8 (aarch64)Thu Apr 10 04:47:58 PM CDT 2025make: Entering directory '/usr/src/linux-headers-6.12.20+rpt-rpi-v8' CC [M] /var/lib/dkms/langford/0.0.20130108/build/langford.oIn file included from /var/lib/dkms/langford/0.0.20130108/build/langford.c:17:/var/lib/dkms/langford/0.0.20130108/build/langford.h:115: warning: "MAX" redefined 115 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | In file included from /usr/src/linux-headers-6.12.20+rpt-common-rpi/include/linux/kernel.h:28, from /var/lib/dkms/langford/0.0.20130108/build/langford.h:10:/usr/src/linux-headers-6.12.20+rpt-common-rpi/include/linux/minmax.h:330: note: this is the location of the previous definition 330 | #define MAX(a,b) __cmp(max,a,b) | /var/lib/dkms/langford/0.0.20130108/build/langford.h:118: warning: "MIN" redefined 118 | #define MIN(a, b) (((a) < (b)) ? (a) : (b)) | /usr/src/linux-headers-6.12.20+rpt-common-rpi/include/linux/minmax.h:329: note: this is the location of the previous definition 329 | #define MIN(a,b) __cmp(min,a,b) | /var/lib/dkms/langford/0.0.20130108/build/langford.c:900:19: error: 'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'? 900 | .llseek = no_llseek | ^~~~~~~~~ | noop_llseekmake[2]: *** [/usr/src/linux-headers-6.12.20+rpt-common-rpi/scripts/Makefile.build:249: /var/lib/dkms/langford/0.0.20130108/build/langford.o] Error 1make[1]: *** [/usr/src/linux-headers-6.12.20+rpt-common-rpi/Makefile:1969: /var/lib/dkms/langford/0.0.20130108/build] Error 2make: *** [/usr/src/linux-headers-6.12.20+rpt-common-rpi/Makefile:236: __sub-make] Error 2make: Leaving directory '/usr/src/linux-headers-6.12.20+rpt-rpi-v8'
Statistics: Posted by technash — Fri Apr 11, 2025 1:00 pm