hanjo Posted October 21, 2016 Posted October 21, 2016 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
Igor Posted October 21, 2016 Posted October 21, 2016 http://apt.armbian.com/pool/main/l/linux-trusty-root-cubietruck/ We have v5.20 in the repo ... strange. Try this: dpkg -r linux-trusty-root-cubietruck apt-get install linux-trusty-root-cubietruck
hanjo Posted October 21, 2016 Author Posted October 21, 2016 Hi Igor, thanks for your response. Looks like apt does not find the 5.20: hanjo@cubietruck:~$ sudo dpkg -r linux-trusty-root-cubietruck (Reading database ... 113745 files and directories currently installed.) Removing linux-trusty-root-cubietruck (5.16) ... 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 Processing triggers for ureadahead (0.100.0-16) ... hanjo@cubietruck:~$ sudo apt-get install linux-trusty-root-cubietruck Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: linux-trusty-root-cubietruck 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/372 kB of archives. After this operation, 1,024 B of additional disk space will be used. Selecting previously unselected package linux-trusty-root-cubietruck. (Reading database ... 113662 files and directories currently installed.) Preparing to unpack .../linux-trusty-root-cubietruck_5.16_armhf.deb ... Unpacking linux-trusty-root-cubietruck (5.16) ... 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 Processing triggers for ureadahead (0.100.0-16) ... Setting up linux-trusty-root-cubietruck (5.16) ... 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
tkaiser Posted October 21, 2016 Posted October 21, 2016 Can you provide output from 'sudo armbianmonitor -u'?
Igor Posted October 21, 2016 Posted October 21, 2016 No, it's a problem with our repository ... Sorry. Will rebuild it later when local noise (kids) goes down.
hanjo Posted October 23, 2016 Author Posted October 23, 2016 Hi Igor, after yesterday's release of 5.22 the update / upgrade went fine and I'm on 5.22 now. Thanks for looking into this Greetings Hanjo
Recommended Posts