zakora Posted September 22, 2015 Share Posted September 22, 2015 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 Link to comment Share on other sites More sharing options...
Igor Posted September 22, 2015 Share Posted September 22, 2015 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 Link to comment Share on other sites More sharing options...
zakora Posted September 23, 2015 Author Share Posted September 23, 2015 It worked, thanks a lot! The support and dedication you put into this project is outstanding. 2 Link to comment Share on other sites More sharing options...
Recommended Posts