The problem resides in virtual machines with some kind of broken consoles (or not correctly handled ones).
I narrowed down the problem to the the following command that is run on setupcon: setfont -C /dev/tty1 /etc/console-setup/Lat15-VGA16.psf.gz -m /etc /console-setup/cached_ISO-8859-1.acm.gz This is the command that locks up. It seems that "setupcon" detects tty devices wrong and tries to use invalid tty devices passing them to setfont which in turn is not able to correctly handle the situation. To be more specific, this "setfont" process locks up in a "write" systemcall. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to console-setup in Ubuntu. https://bugs.launchpad.net/bugs/989396 Title: Package keyboard-configuration post-installation script. Hang on /bin/setupcon --force --save for 10 min then killed Status in console-setup package in Ubuntu: Confirmed Bug description: I am was in update bunch of packages today on ubuntu 12.04 beta2. While update keyboard-configuration package i get a window which ask how i would like to switch keyboard layout. I choose one an click OK. Than window closed and process hangs for about 30 min. Than i kill it. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: keyboard-configuration 1.70ubuntu5 ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12 Uname: Linux 3.2.0-20-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu6 Architecture: amd64 Date: Fri Apr 27 11:37:05 2012 DuplicateSignature: Setting up keyboard-configuration (1.70ubuntu5) ... Terminated dpkg: error processing keyboard-configuration (--configure): subprocess installed post-installation script returned error exit status 143 ErrorMessage: subprocess installed post-installation script returned error exit status 143 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328) PackageArchitecture: all SourcePackage: console-setup Title: package keyboard-configuration 1.70ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 143 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/989396/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp