Comment 5 for bug 308466

Revision history for this message
kardan (kardan+) wrote :

Greetings,

during upgrade from oneiric to precise

Description: Ubuntu 12.04.2 LTS
Release: 12.0

for

Package: keyboard-configuration
Version: 1.70ubuntu5

keyboard-configuration:
  Installiert: 1.70ubuntu5
  Installationskandidat: 1.70ubuntu5
  Versionstabelle:
 *** 1.70ubuntu5 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

/var/lib/dpkg/info/keyboard-configuration.postinst
hangs on

setupcon --force --save

around

elif keyboard_present; then
    if [ "$DISPLAY" ] && which setxkbmap >/dev/null; then
        setxkbmap -option '' -model "$model" "$layout" "$variant"
"$options" || true # setting the font corrupts X
        if type setupcon >/dev/null 2>&1; then
            setupcon --save-only
            setupcon --force -k
            cat >&2 <<EOF
Your console font configuration will be updated the next time your
system boots. If you want to update it now, run 'setupcon' from a
virtual console. EOF
        fi
    else
        if type setupcon >/dev/null 2>&1; then
            setupcon --force --save # here
        fi
    fi
fi

Running
 setupcon -v --force --save
alone hangs as well without any output.

All the best,
kardan