HelmSecure / armbian-images

GNU General Public License v2.0
31 stars 6 forks source link

Initial apt upgrade of kernel will fail and needs to be run again #1

Open dsigurds opened 1 year ago

krioso commented 1 year ago

I've tried updating the kernel from the older 4.4....no go so far.

GPGoforth commented 1 year ago

Same here, have not been able to get the kernel to update.

krioso commented 1 year ago

Yeah...4.4 has some limitations....

dsigurds commented 1 year ago

The kernel for now will need to be updated from our repository. The image that was posted puts a higher priority on it than the Armbian repos. We don't have any kernel updates from what was contained in the initial image yet. When we do have an update available you will need to run apt upgrade twice for it to work. That's what this issue was indicating.

krioso commented 1 year ago

OK, thanks. I purchased a couple of the spare Helms you had advertised, but I need them to run Docker and I don't think the older image will work properly for my need. Not urgent, but hope we can figure out a way to upgrade and then upgrade ongoing.

Happy New Year!

ivahos commented 1 year ago

OK, thanks. I purchased a couple of the spare Helms you had advertised, but I need them to run Docker and I don't think the older image will work properly for my need. Not urgent, but hope we can figure out a way to upgrade and then upgrade ongoing.

Happy New Year!

I was able to get docker to install and run by following these steps: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-run-docker

Before following these steps, you will need to do the following: edit /boot/armbianEnv.txt to add this line: extraargs=systemd.unified_cgroup_hierarchy=0

then run: mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr then reboot.

This allowed docker run hello-world to work.

krioso commented 1 year ago

Thanks so much for posting that - will give it a try. The cgroup thing was the issue as I recall.

Even so - the 4.4 kernel went EOL Feb 2022.

https://9to5linux.com/linux-kernel-4-4-lts-reaches-end-of-life-after-six-years-of-support

l3nticular commented 1 year ago

Thanks, this fixed it for me as well. What's weird is that armbianEnv.txt already had systemd.unified_cgroup_hierarchy=0 just not with extraargs=.

krioso commented 1 year ago

Is there a reason why the 4.4 kernel is being used? Is there or will there be a way to use a newer kernel? The 4.4. kernel is past end of life.

What selections need to be made with armbian-build to get a working build? I've tried variations without success.

https://github.com/HelmSecure/armbian-build