uConsole error on apt updates

Not sure what went wrong, I’m relatively new to uConsole. I tried updating the OS and I keep getting this error:

>Setting up clockworkpi-kernel (6.6.73-v8-16k+) …
>/etc/kernel/postinst.d/dkms:
>dkms: running auto installation service for kernel 6.6.73-v8-16k+.
>Sign command: /lib/modules/6.6.73-v8-16k+/build/scripts/sign-file
>Binary /lib/modules/6.6.73-v8-16k+/build/scripts/sign-file not found, modules won’t be signed
>
>Building module:
>Cleaning build area…
>make -j4 KERNELRELEASE=6.6.73-v8-16k+ -C /lib/modules/6.6.73-v8-16k+/build M=/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build…(bad exit status: 2)
>Error! Bad return status for module build on kernel: 6.6.73-v8-16k+ (aarch64)
>Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/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.6.73-v8-16k+ failed!
>run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
>dpkg: error processing package clockworkpi-kernel (–configure):
> installed clockworkpi-kernel package post-installation script subprocess returned error exit status 1
>Errors were encountered while processing:
> clockworkpi-kernel
>E: Sub-process /usr/bin/dpkg returned an error code (1)

What am I doing wrong here?

DKMS trouble… Can you identify the affected module (xtrx)? Is it something bundled with the image? You may have to uninstall the module package first, then try updating again. But be sure that it doesn’t break something.

I don’t run Debian myself. (But I would if I get my hands on the CM5.)

I’m starting to glean that this is a general problem when updating, and that’s why there are so many custom images. I’m going to ignore the problem, migrate to a different image, and not update it. Problem avoided, if not solved. Thank you for your help, though, I really appreciate it - and Debian runs great on CM4, so I can only imagine it’ll be great on CM5.

1 Like

that is an experienced linux user! my deep respects to you!

1 Like