I just got the same issue: update && upgrade on Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1070-aws x86_64)
Setting up keyboard-configuration (1.108ubuntu15.4) ... /usr/local/bin/setupcon: 806: /usr/local/bin/setupcon: /usr/local/bin/ckbcomp: not found dpkg: error processing package keyboard-configuration (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of console-setup-linux: console-setup-linux depends on keyboard-configuration (= 1.108ubuntu15.4); however: Package keyboard-configuration is not configured yet. dpkg: error processing package console-setup-linux (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of console-setup: console-setup depends on console-setup-linux; however: Package console-setup-linux is not configured yet. console-setup depends on keyboard-configuration (= 1.108ubuntu15.4); however: Package keyboard-configuration is not configured yet. dpkg: error processing package console-setup (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: keyboard-configuration console-setup-linux console-setup E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782870 Title: package keyboard-configuration 1.108ubuntu15.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1782870/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs