Always update linux-libc* with kernel
matech
Status: New User - Welcome
Joined: 12 Jun 2020
Posts: 3
Reply Quote
On this update I got error:
:: Code ::
Start-Date: 2020-06-11  01:24:01
Commandline: apt dist-upgrade
Requested-By: user (1000)
Install: linux-headers-5.6.0-18.1-liquorix-amd64:amd64 (5.6-20ubuntu1~focal, automatic), linux-image-5.6.0-18.1-liquorix-amd64:amd64 (5.6-20ubuntu1~focal, automatic)
Upgrade: intel-microcode:amd64 (3.20200609.0ubuntu0.20.04.1, 3.20200609.0ubuntu0.20.04.2), linux-image-liquorix-amd64:amd64 (5.6-19ubuntu1~focal, 5.6-20ubuntu1~focal), linux-headers-liquorix-amd64:amd64 (5.6-19ubuntu1~focal, 5.6-20ubuntu1~focal)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2020-06-11  01:26:35


Error on command line is like this (this is from older kernel version but same thing):
:: Code ::
Processing triggers for initramfs-tools (0.136ubuntu6) ...
update-initramfs: Generating /boot/initrd.img-5.6.14-xanmod1
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.6.14-xanmod1 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 zfsutils-linux
 zfs-zed
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


Which was fixed with:


:: Code ::
Start-Date: 2020-06-11  20:10:32
Commandline: apt dist-upgrade
Requested-By: user (1000)
Upgrade: google-chrome-unstable:amd64 (85.0.4164.2-1, 85.0.4168.2-1), intel-microcode:amd64 (3.20200609.0ubuntu0.20.04.2, 3.20200609.1), linux-libc-dev:amd64 (5.7.1-xanmod1~git20200607.fb99740-0, 5.7.2-xanmod1~git20200610.4bbca76-0)
End-Date: 2020-06-11  20:11:31

:: Code ::
Start-Date: 2020-06-11  20:09:07
Commandline: apt autoremove
Requested-By: user (1000)
Remove: linux-image-5.6.0-16.1-liquorix-amd64:amd64 (5.6-18ubuntu1~focal), linux-headers-5.6.0-16.1-liquorix-amd64:amd64 (5.6-18ubuntu1~focal)
End-Date: 2020-06-11  20:09:55


So what is giving initramfs-tools error is that linux-libc-dev update is missing when kernel is updated. Please update libc alongside with kernel to prevent errors.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours