Install latest version kernel

Hi good day

I Following the steps in this https://wiki.radxa.com/Rockpi4/radxa-apt#Introduction
I have ubuntu 18 04 server and i have problem installing latest kernel

sudo apt install linux-base
is good but

sudo apt install linux-4.4-latest

Preparing to unpack …/linux-image-4.4.154-95-rockchip-gd2ab1f26e1b3_4.4.154-95-rockchip_all.deb …
Unpacking linux-image-4.4.154-95-rockchip-gd2ab1f26e1b3 (4.4.154-95-rockchip) …
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.154-95-rockchip-gd2ab1f26e1b3_4.4.154-95-rockchip_all.deb (–unpack):
unable to make backup link of ‘./boot/System.map-4.4.154-95-rockchip-gd2ab1f26e1b3’ before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Kernel configuration : earlyprintk console=ttyFIQ0,1500000n8 rw init=/sbin/init rootfstype=ext4 rootwait root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE

Creating new extlinux.conf…
Installing new extlinux.conf…
Selecting previously unselected package linux-firmware-image-4.4.154-95-rockchip-gd2ab1f26e1b3.
Preparing to unpack …/linux-firmware-image-4.4.154-95-rockchip-gd2ab1f26e1b3_4.4.154-95-rockchip_all.deb …
Unpacking linux-firmware-image-4.4.154-95-rockchip-gd2ab1f26e1b3 (4.4.154-95-rockchip) …
Selecting previously unselected package linux-headers-4.4.154-95-rockchip-gd2ab1f26e1b3.
Preparing to unpack …/linux-headers-4.4.154-95-rockchip-gd2ab1f26e1b3_4.4.154-95-rockchip_all.deb …
Unpacking linux-headers-4.4.154-95-rockchip-gd2ab1f26e1b3 (4.4.154-95-rockchip) …
Selecting previously unselected package linux-4.4-latest.
Preparing to unpack …/linux-4.4-latest_4.4.154-95-rockchip_all.deb …
Unpacking linux-4.4-latest (4.4.154-95-rockchip) …
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.154-95-rockchip-gd2ab1f26e1b3_4.4.154-95-rockchip_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have problems install latest kernel i dont know how fix this, thanks for any help

Use Armbian. It doesn’t have any troubles with upgrading and its overall in far better state. You can even try kernel 5.4.y and go back.
https://www.armbian.com/rock-pi-4/

@jack @Stephen
Guys, do you really advice to go for Armbian than your original issue of Ubuntu?
What are the pros and cons?

Is Radxa working on next updates for Ubuntu, if yes - when would be some updates?

IMHO that possiblyty with fat type FS on the boot partition, fat dosn’t work with file permissons.
All other will bee ok.
Armbian have same errors with fat type boot partition:

Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
ln: failed to create hard link '/boot/initrd.img-5.4.19-rockchip64.dpkg-bak' => '/boot/initrd.img-5.4.19-rockchip64': Operation not permitted

I have multiboot and may switch to someone any time, now more time using ubuntu with mate desktop. May be sometime I liked armbian desktop :slight_smile:

1 Like

If could, try this system image, https://dl.radxa.com/rockpi/images/ubuntu/rockpi4b-ubuntu-bionic-minimal-20190104_2101-gpt.img.gz, whose kernel verison of 4.4.154-95, and have a look at this guide, https://wiki.radxa.com/Rockpi4/Ubuntu.

Currently we will update the Kernel.

I have no motives to invest my time to change your mind. :wink: Try. Dig in. Do some investigation.

Major Armbian update is less then 24h away.

Official Armbian does not have FAT partition nor such troubles.

Are you sure, that there is enough space in /boot?

Also, check last three messages there

Thanks, igorp, you are surely noticeable.

As I remember you are mostly shouting “this is the best!” or “this sucks!” but you never give any arguments, so you are making clear rhetoric here.

I was working with Armbian some time ago on Raspberry and I put it in trash bin because of general problems with few general things, where on forum there were much agonizing and no one was able to fix the problems.

I have the same problem on FAT /boot/ partition:

Przetwarzanie wyzwalaczy pakietu initramfs-tools (0.130ubuntu3.9)...
ln: failed to create hard link '/boot/initrd.img-4.4.154-95-rockchip-gd2ab1f26e1b3.dpkg-bak' => '/boot/initrd.img-4.4.154-95-rockchip-gd2ab1f26e1b3': Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.4.154-95-rockchip-gd2ab1f26e1b3
cryptsetup: WARNING: could not determine root device from /etc/fstab

However /etc/fstab has proper entry for /.

Arguments are waste of time when dealing with a believer or a persons which skips reading. But anyway, here you go:
https://docs.armbian.com/Quick_facts/

That is not possible since Armbian never ever supported any Raspberry Pi:

Official Armbian has no FAT partition.

1 Like

Sorry, that was Banana Pi, not Rasp.
Good for Armbian that has no FAT partition, however Ubuntu for Rock Pi still does.
And as always - cons for Armbian ignored.

@Stephen could we have updated kernel (5.1 >) ubuntu image? server is fine. (Not interested in Armbian based release)

This is the latest one with kernel 5.10.131.

https://github.com/radxa/debos-radxa/releases/download/20220717-1356/rockpi-4b-ubuntu-focal-server-arm64-20220717-1551-gpt.img.xz

Thank you for the reply Stephen. Will this work for the 4C?

I have 4A+ and it has no uboot. why dont you flash a uboot while producing.