XU4 kernel upgrade problem

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

XU4 kernel upgrade problem

Post by johnvick »

Any idea why this is happening? Last couple of kernel upgrades have been fine.

Code: Select all

root@Odroid:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following package was automatically installed and is no longer required:
  linux-image-4.9.60+
Use 'apt-get autoremove' to remove it.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-4.9.61+ (4.9.61-20171118-XU3) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.9.61+ /boot/vmlinuz-4.9.61+
run-parts: executing /etc/kernel/postinst.d/copy_dtb 4.9.61+ /boot/vmlinuz-4.9.61+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.9.61+ /boot/vmlinuz-4.9.61+
update-initramfs: Generating /boot/initrd.img-4.9.61+
Image Name:   uInitrd
Created:      Sun Nov 19 18:25:07 2017
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    6492418 Bytes = 6340.25 kB = 6.19 MB
Load Address: 00000000
Entry Point:  00000000

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.9.61+ with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.9.61+.postinst line 391.
dpkg: error processing package linux-image-4.9.61+ (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-4.9-armhf-odroid-xu3:
 linux-image-4.9-armhf-odroid-xu3 depends on linux-image-4.9.61+; however:
  Package linux-image-4.9.61+ is not configured yet.

dpkg: error processing package linux-image-4.9-armhf-odroid-xu3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.9.61+
 linux-image-4.9-armhf-odroid-xu3
E: Sub-process /usr/bin/dpkg returned an error code (1)

I note the gzip error but I have plenty of room on the system unless it is referring to the ramdisk?

John
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: XU4 kernel upgrade problem

Post by Fourdee »

Code: Select all

update-initramfs: Generating /boot/initrd.img-4.9.61+
Image Name:   uInitrd
Created:      Sun Nov 19 18:25:07 2017
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    6492418 Bytes = 6340.25 kB = 6.19 MB
Load Address: 00000000
Entry Point:  00000000

gzip: stdout: No space left on device
Indicates /boot partition is out of freespace, check with

Code: Select all

df -h | grep boot
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: XU4 kernel upgrade problem

Post by johnvick »

Thanks Fourdee nailed it as usual.

The newer 4.9 kernels have vastly improved 1080p video streaming Emby.

John
Post Reply