initramfs issue with latest apt update - Printable Version

+- PINE64 (
+-- Forum: PINE A64(+) (
+--- Forum: Linux on Pine A64(+) (
+---- Forum: Ubuntu (
+---- Thread: initramfs issue with latest apt update (/showthread.php?tid=7926)

initramfs issue with latest apt update - timxjr1300 - 09-02-2019

I've been running my rock64 for some time and this morning I did a routine update which partially failed...

Hit:1 bionic InRelease
Hit:2 bionic-security InRelease                               
Hit:3 bionic InRelease                           
Hit:4 bionic-updates InRelease                                                              
Hit:5 bionic InRelease                                                            
Hit:6 bionic InRelease                                         
Ign:7 sarge InRelease                                                           
Get:8  InRelease [1343 B]                                                     
Hit:9 sarge Release                                           
Fetched 1343 B in 3s (492 B/s)                                                   
Reading package lists... Done
Building dependency tree       
/usr/sbin/mkinitramfs: 12: export: �USYBOXDIR: bad variable name
update-initramfs: failed for /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524 with 2.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Advice on how to fix this would be welcome