"Setting up libxcb-shm0 (1.6-1) ...
dpkg (subprocess): unable to execute installed post-installation script (/var/lib/dpkg/info/libxcb-shm0.postinst): Exec format error"
means that your disk got full at some point during the upgrade, and the postinst script for libxcb-shm0 was empty. You need to manually recover from the error, by cleaning up the disk to free some space, and then by reinstalling libxcb-shm0 ("apt-get install --reinstall libxcb-shm0")
from the logs:
"Setting up libxcb-shm0 (1.6-1) ... dpkg/info/ libxcb- shm0.postinst) : Exec format error"
dpkg (subprocess): unable to execute installed post-installation script (/var/lib/
means that your disk got full at some point during the upgrade, and the postinst script for libxcb-shm0 was empty. You need to manually recover from the error, by cleaning up the disk to free some space, and then by reinstalling libxcb-shm0 ("apt-get install --reinstall libxcb-shm0")