[Bug 989396] Re: Package keyboard-configuration post-installation script. Hang on /bin/setupcon --force --save for 10 min then killed

Stuart Longland 989396 at bugs.launchpad.net
Sat Aug 31 02:21:51 UTC 2013


Well, I've been battling this for the past 8 hours.

I'm trying to configure some virtual machines.  My intention is to
provision some real machines for use in an Ceph/OpenStack cluster.
Since it'll probably take a few attempts, I want to automate as much as
possible.

As a test, I am doing the deployment with a stack of VMs running under
libvirtd/kvm on Gentoo.  The actual machines will be headless 99% of the
time (the remaining 1% will be for maintenance), so I couldn't give two
hoots what keyboard layout it picks — we may even be setting up a serial
device server and using serial console in the real deployment.  Sadly, I
don't see a way to skip this.

The set-up is a TFTP dishing out the netboot images and pxelinux
configuration scripts.  HTTP dishing out preseed files; one per host.

I have tried with Ubuntu 13.10, 13.04 and 12.04, all AMD64 architecture.
I have tried specifying the keyboard settings in the pre-seed file, and on the kernel command line, I've also tried leaving it out and answering on the console.  No dice.

Maybe one attempt in 20 works and I get a working installation, but most
of the time, install hangs at the "Configuring keyboard-configuration"
step.  There seems to be no rhyme or reason why it suddenly works, then
doesn't.

The libvirt-manager CPU monitor seems to indicate activity consistent
with a system that's waiting for input.  But what?  Where?  How?  It
doesn't ask.  It doesn't make it clear what it's wanting, or how I'm to
provide it.  It's not a matter of time either; I left VMs installing
earlier this morning about 1AM … 6-7 hours later, I wake up, check on
them, they're stuck at this very point.

What do I do?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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




More information about the foundations-bugs mailing list