Trying to do an upgrade on an Ubuntu machine I inherited from someone, and it hangs whenever it has to configure console-setup. Any ideas why?
Probably the best thing to do is to find out what command it's running. You can do this by editing the post-install script. Edit /var/lib/dpkg/info/console-setup.post-inst and add
as the second line, just after the
and you should be able to see what command it is running. This should give you a better clue what to fix.
If you can not work out how to fix it, you can place
on the second line of the post-install script, run the dpkg command again and the package will install without doing the configure stage, which may leave your system broken, so only do this if you know what you're doing.