mabam Posted December 9, 2018 Posted December 9, 2018 Hello! In order to compile software on my Banana Pi running Armbian 5.27 Debian 8, I started off uncommenting the "# deb-src" lines in /etc/apt/sources.list and then ran apt-get update and apt-get upgrade. The start screen in the shell would then ask me to reboot as the kernel was updated. But after the reboot there was no AppleTalk anymore to serve my old devices. Compiling a newer Armbian with an up-to-date version of Debian is of no use to me as I run software (A2SERVER) that is incompatible with newer systems. So how can I upgrade my system without loosing AppleTalk (which I configured as a kernel module when compiling two years ago)? EDIT: I had done this on a spare SD-card onto which I have restored the old state from a backup. So I can start over.
mabam Posted December 9, 2018 Author Posted December 9, 2018 Based on https://unix.stackexchange.com/questions/63293/blocking-kernel-updates-with-dpkg, I have performed the following steps: dpkg -l | grep linux-image which returned hi linux-image-sun7i 5.27 armhf Linux kernel, version 3.4.113-sun7i followed by: echo linux-image-sun7i hold | sudo dpkg --set-selections After I continued with upgrading as described in my initial post, the login screen still asked me to restart because the kernel was updated. But this time AppleTalk still worked after restarting. Glad to have found a solution!
Igor Posted December 10, 2018 Posted December 10, 2018 7 hours ago, mabam said: Glad to have found a solution! This is more like a workaround. If some feature is enabled only in your custom kernel and you want to stay with uptodate kernel, adjust upstream config https://github.com/armbian/build/blob/master/config/kernel/linux-sun7i-default.config#L942 to yours this way: https://www.armbian.com/get-involved After updated kernel is out, you can unhold your kernel package.
Recommended Posts