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

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Sat Oct 13 10:27:46 UTC 2012


Public bug reported:

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)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oem-config qa-manual-testing quantal ubiquity-2.12.11

** Package changed: grub-installer (Ubuntu) => ubiquity (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer 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 “ubiquity” package in Ubuntu:
  New

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/ubiquity/+bug/1066256/+subscriptions




More information about the foundations-bugs mailing list