Skip to content

Commit a4ba511

Browse files
committed
add check for xone kernel module compilation failure
1 parent d94fe86 commit a4ba511

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,6 +2374,11 @@ Open an issue on Pi-Apps if all else fails, but we will probably tell you the sa
23742374
Run this command to remove anbox kernel modules, then retry the operation.
23752375
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-*")
23762376
error_type="package"
2377+
elif grep -q 'M=/var/lib/dkms/xone.*bad exit status' <(echo "$errors") ;then
2378+
error_caption+=("The xone kernel module no longer compiles on the latest kernel. You need to remove it for the kernel to fully install and for APT to work.
2379+
Run this command to remove the xone kernel module, then retry the operation:
2380+
sudo rm -rf /etc/modules-load.d/xone.conf /etc/udev/rules.d/50-xone.rules /usr/src/xone-*/ /var/lib/dkms/xone-*")
2381+
error_type="package"
23772382
elif grep -q "installed .* post-installation script subprocess returned error exit status" <(echo "$errors") ;then
23782383
error_caption+=("Some other package on your system is causing problems. As a result, dpkg and APT won't work properly.
23792384

0 commit comments

Comments
 (0)