Today I tried updating my Odroid C2 to image 5.22 posted on Oct 22, 2016. And I got the following error during apt-get upgrade:
Setting up linux-u-boot-odroidc2-default (5.22) ...
/var/lib/dpkg/info/linux-u-boot-odroidc2-default.postinst: line 5: conditional binary operator expected
/var/lib/dpkg/info/linux-u-boot-odroidc2-default.postinst: line 5: syntax error near `function'
/var/lib/dpkg/info/linux-u-boot-odroidc2-default.postinst: line 5: `[[ == function ]] && setup_write_uboot_platform'
I peaked at the code in /var/lib/dpkg/info/linux-u-boot-odroidc2-default.postinst contains
[odroid c2] Setting up linux-u-boot-odroidc2-default (5.22) fails
in Amlogic meson
Posted
Greetings all.
Today I tried updating my Odroid C2 to image 5.22 posted on Oct 22, 2016. And I got the following error during apt-get upgrade:
I peaked at the code in /var/lib/dpkg/info/linux-u-boot-odroidc2-default.postinst contains
Which appears broken, so I updated it to:
And the upgrade succeeded. Dunno where else to post this information. Hope it helps someone