Image update error 4.9.29-5

I received the message to say there was an Image error and that I should report it on the forum. This happened on two of my Raspberry PI2s

Provide logs grab-logs -A or via MyOSMC

Same here, there’s an error with kernel postinst script
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.9.29-5-osmc /boot/vmlinuz-4.9.29-5-osmc
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal-osmc 4.9.29-5-osmc /boot/vmlinuz-4.9.29-5-osmc
run-parts: /etc/kernel/postinst.d/apt-auto-removal-osmc exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/rbp2-image-4.9.29-5-osmc.postinst line 391.
Logs here: https://paste.osmc.tv/olegomikid

This should now be resolved in the following commit:

You might need to wait an hour or so for it to reach your local mirror, but you should then be able to update without any issues. You may want to run:

#!/bin/bash
sudo apt-get update
sudo wget https://raw.githubusercontent.com/osmc/osmc/7d1f77cf0f2cbcf67704a2caa6aaf2a59b9970ab/package/base-files-osmc/files/etc/kernel/postinst.d/apt-auto-removal-osmc -O /etc/kernel/postinst.d/apt-auto-removal-osmc
sudo apt-get dist-upgrade -y
sudo reboot

In the interim

Cheers

Sam