[Bug 1408495] Re: Ubiquity crashes prior to keyboard configuration in 15.04

jerrylamos jerrylamos at netscape.net
Thu Jan 15 00:47:05 UTC 2015


Permissions on /etc/default/keyboard were:
c------------

while on the default were
-rw-r--r--r

So workaround copying resulted in 
-rw-r--r--
so install completed.

BTW, this is US so this is what keyboard looked like:

ubuntu at ubuntu:~$ cat /etc/default/keyboard
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap.  Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
 
which went on to code 2 and fail.

Your workaround worked.

Maybe the bug is the permissions
-c----------instead of
-rw-r--r--

Having said that, I didn't copy the permissions, could even have been
c----------

Maybe all I had to do was change permissions?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1408495

Title:
  Ubiquity crashes prior to keyboard configuration in 15.04

Status in ubiquity package in Ubuntu:
  Confirmed
Status in ubiquity source package in Vivid:
  Confirmed

Bug description:
  As best as I can tell, if anything other than a US keyboard layout is
  selected from the boot menu, ubi-console-setup will crash prior to the
  keyboard configuration. The dialogue displayed says:

      ubi-console-setup failed with exit code 2. Further information
  maybe found in /var/log/syslog.

  There are the relevant lines from /var/log/syslog:

  Jan  7 23:30:39 ubuntu ubiquity: /var/lib/dpkg/info/keyboard-configuration.config: 34160: .: Can't open /etc/default/keyboard
  Jan  7 23:30:39 ubuntu ubiquity[2323]: log-output -t ubiquity setxkbmap -layout gb -option
  Jan  7 23:30:39 ubuntu ubiquity[2323]: debconffilter_done: ubi-console-setup (current: ubi-console-setup)
  Jan  7 23:30:39 ubuntu ubiquity[2323]: dbfilter_handle_status: ('ubi-console-setup', 2)

  The dialogue has 3 buttons, Quit, Continue Anyway and Try Again. If
  you choose Try Again it is possible to complete the install. If you
  choose Continue Anyway the installer will progress and eventually
  crash completely as which point apport was able to harvest the
  attached logs.

  
  WORKAROUND: After you see the "ubi-console-setup crashed" dialog, open a terminal and do

    sudo rm /etc/default/keyboard
    sudo mv /etc/default/keyboard.pre-ubiquity /etc/default/keyboard

  then click "Continue anyway" in the dialog. This should prevent the
  crash at the end of installation.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: ubiquity 2.21.2
  ProcVersionSignature: Ubuntu 3.18.0-8.9-generic 3.18.1
  Uname: Linux 3.18.0-8-generic x86_64
  ApportVersion: 2.15.1-0ubuntu1
  Architecture: amd64
  CasperVersion: 1.347
  Date: Wed Jan  7 23:36:41 2015
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash -- keyboard-configuration/layoutcode=gb
  LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150107)
  ProcEnviron:
   LANGUAGE=en_GB.UTF-8
   TERM=linux
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1408495/+subscriptions



More information about the foundations-bugs mailing list