Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cubietruck upgrade 5.20

Featured Replies

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

  • Author

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

  • Author

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.