[Bug 1066256] Re: /usr/lib/ubiquity/user-setup/user-setup-apply: ligne 165 : [: 5 : unary operator expected

Launchpad Bug Tracker 1066256 at bugs.launchpad.net
Mon Oct 15 09:51:12 UTC 2012


This bug was fixed in the package user-setup - 1.46ubuntu2

---------------
user-setup (1.46ubuntu2) quantal; urgency=low

  * Fix syntax error in user-setup-apply if $ROOT is unset (LP: #1066256).
 -- Colin Watson <cjwatson at ubuntu.com>   Mon, 15 Oct 2012 10:37:57 +0100

** Changed in: user-setup (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  /usr/lib/ubiquity/user-setup/user-setup-apply: ligne 165 : [: 5 :
  unary operator expected

Status in “user-setup” package in Ubuntu:
  Fix Released

Bug description:
  Quantal Desktop 20121012.3

  From syslog after an OEM installation
  Oct 13 10:58:07 oem-VirtualBox ubiquity: stat:
  Oct 13 10:58:07 oem-VirtualBox ubiquity: impossible d'évaluer «»
  Oct 13 10:58:07 oem-VirtualBox ubiquity: : Aucun fichier ou dossier de ce type
  Oct 13 10:58:07 oem-VirtualBox ubiquity:
  Oct 13 10:58:07 oem-VirtualBox ubiquity: /usr/lib/ubiquity/user-setup/user-setup-apply: ligne 165 : [: 5 : opérateur unaire attendu
  Oct 13 10:58:07 oem-VirtualBox ubiquity: INFO: Setting up swap: [/dev/sda1]

  165:            if [ $(stat -c %d "$ROOT/dev") -eq $(stat -c %d
  "$ROOT") ]; then

  Should probably be
  if [ $(stat -c %d "$ROOT/dev") -eq $(stat -c %d "$ROOT/") ]; then

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Sat Oct 13 12:22:18 2012
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash --  apt-setup/restricted=false apt-setup/multiverse=false oem-config/enable=true
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121012.3)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/user-setup/+bug/1066256/+subscriptions




More information about the foundations-bugs mailing list