Whenever I try to install a new application I get the following error.
v01d@clockworkpi:~ $ sudo apt install -f flatpak
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
flatpak is already the newest version (1.14.10-1~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up clockworkpi-kernel (6.12.32-v8-16k+) …
/var/lib/dpkg/info/clockworkpi-kernel.postinst: 29: linux-update-symlinks: not found
dpkg: error processing package clockworkpi-kernel (–configure):
installed clockworkpi-kernel package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
clockworkpi-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)
v01d@clockworkpi:~ $
v01d@clockworkpi:~ $ sudo apt reinstall clockworkpi-kernel
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for clockworkpi-kernel:arm64
I had same problem and source of that was removing two important packages:
linux-base
initramfs-tools (can be replaced by dracut)
I’m not quite sure how i broke it this way but most probably is i missed some dependency issue while i build my system from Bookworm lite image and experimeted with several desktop enviroments and lot of other things.
Tried clean install on other card and no problem, so it shouldn’t be bug in Rex’s image.