I have used the next workaround in Lucid -> Lucid setup: If you already have the following process in process list: /bin/sh /bin/setupcon --force --save kill it from the host
or, -on the target- before installing console-setup package, install 'kbd', then On the target: cd /bin/ mv fgconsole fgconsole.bak cat > fgconsole.new << EOF > #!/bin/bash > > echo "intentional error" >&2 > exit 1 > EOF chmod +x fgconsole.new ln -s fgconsole.new fgconsole this will make any invocation of /bin/fgconsole to fail, which will cause the postinstall script of console-setup to invoke 'setupcon' with '--save-only' parameter instead of '--save --force' now install 'console-setup' apt-get install console-setup This will continue the post script if you have killed 'setupcon' previously. After the installation, restore /bin/fgconsole. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/413415 Title: console-setup hangs under chroot debootstrap with a console login on ttyX To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/413415/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
