Hi,
couple of month ago I installed Armbian on my Cubietruck. I didn't really use it much, but today I decided to start using it, and obviously the right way to do so is to update to the latest version. So when I started, I had this version on my Cubietruck:
ARMBIAN Ubuntu 14.04.4 LTS 3.4.112-sun7i
I followed Igor's instructions at http://docs.armbian.com/User-Guide_Getting-Started/#how-to-update :
apt-get update apt-get upgrade apt-get install -f apt-get upgrade apt-get autoremove -y
However, I received the following error message after the first instance of "upgrade":
... Setting up linux-firmware-image-sun7i (5.20) ... Setting up linux-headers-sun7i (5.20) ... Compiling headers - please wait ... Setting up linux-image-sun7i (5.20) ... update-initramfs: Generating /boot/initrd.img-3.4.112-sun7i Image Name: Linux kernel Created: Fri Oct 21 10:50:31 2016 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5605960 Bytes = 5474.57 kB = 5.35 MB Load Address: 40008000 Entry Point: 40008000 Setting up linux-libc-dev:armhf (3.13.0-100.147) ... Setting up linux-trusty-root-cubietruck (5.16) ... Setting up vlan (1.9-3ubuntu10.1) ... Installing new version of config file /etc/network/if-pre-up.d/vlan ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... Processing triggers for initramfs-tools (0.103ubuntu4.4) ... ln: failed to create hard link ‘/boot/initrd.img-3.4.112-sun7i.dpkg-bak’ => ‘/boot/initrd.img-3.4.112-sun7i’: Operation not permitted update-initramfs: Generating /boot/initrd.img-3.4.112-sun7i
I decided to run the remaining three commands anyway, but there was nothing to do for them.
After a reboot and another update & upgrade (which did not change anything), I checked the version. Now I was on
ARMBIAN Ubuntu 14.04.5 LTS 3.4.112-sun7i
I had expected a 16.something version, but maybe I'm getting something wrong here. More importantly however, the system still reports to be running Armbian 5.16, instead of 5.20:
hanjo@cubietruck:~$ cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=cubietruck BOARD_NAME="Cubietruck" VERSION=5.16 LINUXFAMILY=sun7i BRANCH=default ARCH=arm
and there also seems to be some mismatch on the installed packages:
hanjo@cubietruck:~$ dpkg -l | egrep "armbian| linux-" ii linux-firmware-image-sun7i 5.20 armhf Linux kernel firmware, version 3.4.112-sun7i ii linux-headers-sun7i 5.20 armhf Linux kernel headers for 3.4.112-sun7i on armhf ii linux-image-sun7i 5.20 armhf Linux kernel, version 3.4.112-sun7i ii linux-libc-dev:armhf 3.13.0-100.147 armhf Linux Kernel Headers for development ii linux-trusty-root-cubietruck 5.16 armhf Armbian tweaks for trusty on cubietruck (default branch)
Any clue what could be causing this?
Thanks a lot
Greetings
Hanjo