Armbian kernel package keeps deleting custom kernels

Recommended Posts




not sure if I'm at the right place here, so please let me know if I'm wrong and where I need to be. Thanks in advance and my apologies...


My problem is that for some time now does Apt keep deleting custom kernels in /boot and the package appears to delete kernels not only with a rough pattern, but with "-f" as well, ignoring any file permissions. I've been watching this for a while now and it has left me at first with unbootable devices until I've noticed the cause. I would very much appreciate it of the Armbian kernel package wouldn't just delete anything that looks remotely like a kernel from /boot with a "rm -f *", but only removes the files that have been part of a previously installed package and leaves all other files in place.


An example:

Preparing to unpack .../38-linux-image-current-sunxi_20.02.11_armhf.deb ...
update-initramfs: Deleting /boot/initrd.img-5.6.3-sven1    <--- There again
Removing obsolete file 5.4.30-sunxi
Removing obsolete file uInitrd-5.6.3-sven1                 <--- Not obsolete but actually a part of the running kernel
Removing obsolete file uInitrd-5.4.30-sunxi
update-initramfs: Deleting /boot/initrd.img-5.4.30-sunxi
Unpacking linux-image-current-sunxi (20.02.11) over (20.02.9) ...


I'd appreciate it if somebody could make this stop.

Edited by Sven

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.