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.

Can't upgrade linux-image [@NAND is failing]

Featured Replies

Hi,

 

I'm using armbian / Jessie on my cubietruck (installed on NAND):

$ uname -a
Linux cubietruck 3.4.108-sunxi #14 SMP PREEMPT Tue Aug 25 18:13:23 CEST 2015 armv7l GNU/Linux

However, I can't upgrade linux-image package:

$ sudo aptitude upgrade
The following partially installed packages will be configured:
  linux-image-sunxi 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up linux-image-sunxi (4.3) ...
ln: failed to create symbolic link ‘/boot/zImage’: Operation not permitted
cp: error writing ‘/boot/zImage’: No space left on device
cp: failed to extend ‘/boot/zImage’: No space left on device
dpkg: error processing package linux-image-sunxi (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-sunxi
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up linux-image-sunxi (4.3) ...
ln: failed to create symbolic link ‘/boot/zImage’: Operation not permitted
cp: error writing ‘/boot/zImage’: No space left on device
cp: failed to extend ‘/boot/zImage’: No space left on device
dpkg: error processing package linux-image-sunxi (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-sunxi
               

Apparently the /boot partition if full:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.1G  1.3G  5.5G  19% /
devtmpfs       1000M     0 1000M   0% /dev
tmpfs          1000M     0 1000M   0% /dev/shm
tmpfs          1000M   17M  983M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1000M     0 1000M   0% /sys/fs/cgroup
/dev/nand1       16M   16M     0 100% /boot
/dev/sda1       147G   62G   78G  45% /mnt/hdd

Here is what it is in /boot, do I need to remove something?

/boot $ tree .
.
├── bin
│   ├── aw-som-a20.bin
│   ├── bananapi.bin
│   ├── bananapilcd7.bin
│   ├── bananapipro.bin
│   ├── bananapiprolcd7.bin
│   ├── cubieboard2.bin
│   ├── cubieboard.bin
│   ├── cubietruck.bin
│   ├── lamobo-r1.bin
│   ├── lime2.bin
│   ├── lime-a10.bin
│   ├── lime.bin
│   ├── micro.bin
│   ├── orangepi.bin
│   └── pcduino3nano.bin
├── boot.axf
├── boot.ini
├── config-3.4.108-sunxi
├── linux
│   ├── linux.bmp
│   ├── linux.ini
│   └── u-boot.bin
├── magic.bin
├── script.bin
├── System.map-3.4.108-sunxi
├── uEnv.txt
├── uImage
├── vmlinuz-3.4.108-sunxi
└── zImage

Thanks

You just find a bug. Upgrade if system is on NAND will not go automatic even if there is enough free space, I need to fix it.  :( (nand bootloader doesn't recognize zImage kernel type)

 

Workaround:

 

1. Remove zImage, uImage, system.map-3.4.108-sunxi and vmlinuz-3.4.-108-sunxi ... located no /boot  (/dev/nand1)

2. Run this and pick up the correct board / kernel 3.4:

wget -q -O - http://upgrade.armbian.com | bash
  • Author

It worked, thanks a lot!

 

The support and dedication you put into this project is outstanding.

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.