PINE64
Errors were encountered while processing: initramfs-tools - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Errors were encountered while processing: initramfs-tools (/showthread.php?tid=7223)



Errors were encountered while processing: initramfs-tools - MotoTom - 03-03-2019

Hi All,

Last week I upgraded from Ubuntu 16.01 to Ubuntu 18.01 and am now running  4.4.132-1075-rockchip-ayufan-ga83beded8524.

While my core functions are working (SFTP and Samba) I keep getting "Errors were encountered while processing: initramfs-tools" when trying to update. I'm not particularly experienced in reading logs so below is the most recent apt-get upgrade log in the hopes some one can point me to a solution for this error. I suspect that failure to fix this will prevent future image upgrades.

Any help is greatly appreciated.

Many thanks.
Tom

Code:
[email protected]:~$
sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Reading package lists... Done
[email protected]:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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 initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
Warning: root device  does not exist
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory
Using DTB: rk3328-rock64.dtb
Installing /usr/lib/linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb into /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rk3328-rock64.dtb
Taking backup of rk3328-rock64.dtb.
Installing new rk3328-rock64.dtb.
Installing /usr/lib/linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchip/rk3328-rock64.dtb into /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rk3328-rock64.dtb
Taking backup of rk3328-rock64.dtb.
Installing new rk3328-rock64.dtb.
flash-kernel: installing version 4.4.132-1075-rockchip-ayufan-ga83beded8524
Taking backup of Image.
Installing new Image.
find: '/lib/firmware/4.4.132-1075-rockchip-ayufan-ga83beded8524/device-tree/': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 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:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~$