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