** Branch linked: lp:~hloeung/ubuntu/raring/colord/fix-postinst

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord in Ubuntu.
https://bugs.launchpad.net/bugs/1143448

Title:
  colord postinst fails with "27: [: which: unexpected operator"

Status in “colord” package in Ubuntu:
  New

Bug description:
  Hi,

  Just ran a dist-upgrade and noticed that the post-install script for
  colord fails:

  $ sudo apt-get dist-upgrade 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    libcolorhug1
  The following packages will be upgraded:
    colord libcolord1 libgusb2 python-logilab-common
  4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1,143 kB of archives.
  After this operation, 620 kB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Get:1 http://archive.ubuntu.com/ubuntu/ raring/main libgusb2 amd64 
0.1.5-0ubuntu1 [18.5 kB]
  Get:2 http://archive.ubuntu.com/ubuntu/ raring-proposed/main libcolord1 amd64 
0.1.30-0ubuntu2 [85.6 kB]
  Get:3 http://archive.ubuntu.com/ubuntu/ raring-proposed/universe libcolorhug1 
amd64 0.1.30-0ubuntu2 [25.4 kB]
  Get:4 http://archive.ubuntu.com/ubuntu/ raring-proposed/main colord amd64 
0.1.30-0ubuntu2 [264 kB]
  Get:5 http://archive.ubuntu.com/ubuntu/ raring/main python-logilab-common all 
0.58.3-1ubuntu1 [750 kB]
  Fetched 1,143 kB in 12s (92.6 kB/s)                                           
 
  (Reading database ... 192532 files and directories currently installed.)
  Preparing to replace libgusb2 0.1.3-5 (using 
.../libgusb2_0.1.5-0ubuntu1_amd64.deb) ...
  Unpacking replacement libgusb2:amd64 ...
  Preparing to replace libcolord1:amd64 0.1.23-0ubuntu3 (using 
.../libcolord1_0.1.30-0ubuntu2_amd64.deb) ...
  Unpacking replacement libcolord1:amd64 ...
  Selecting previously unselected package libcolorhug1:amd64.
  Unpacking libcolorhug1:amd64 (from 
.../libcolorhug1_0.1.30-0ubuntu2_amd64.deb) ...
  Preparing to replace colord 0.1.23-0ubuntu3 (using 
.../colord_0.1.30-0ubuntu2_amd64.deb) ...
  Unpacking replacement colord ...
  Preparing to replace python-logilab-common 0.58.0-1ubuntu1 (using 
.../python-logilab-common_0.58.3-1ubuntu1_all.deb) ...
  Unpacking replacement python-logilab-common ...
  Processing triggers for libglib2.0-0:amd64 ...
  Processing triggers for man-db ...
  Processing triggers for doc-base ...
  Processing 1 changed doc-base file...
  Registering documents with scrollkeeper...
  Setting up libgusb2:amd64 (0.1.5-0ubuntu1) ...
  Setting up libcolord1:amd64 (0.1.30-0ubuntu2) ...
  Setting up libcolorhug1:amd64 (0.1.30-0ubuntu2) ...
  Setting up colord (0.1.30-0ubuntu2) ...
  Installing new version of config file /etc/colord.conf ...
  Installing new version of config file 
/etc/bash_completion.d/colormgr-completion.bash ...
  /var/lib/dpkg/info/colord.postinst: 27: [: which: unexpected operator
  Setting up python-logilab-common (0.58.3-1ubuntu1) ...
  Processing triggers for libc-bin ...
  ldconfig deferred processing now taking place
  localepurge: Disk space freed in /usr/share/locale: 0 KiB
  localepurge: Disk space freed in /usr/share/man: 0 KiB
  localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
  localepurge: Disk space freed in /usr/share/omf: 0 KiB
  localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

  Total disk space freed by localepurge: 0 KiB

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: colord 0.1.30-0ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-9.18-generic 3.8.1
  Uname: Linux 3.8.0-9-generic x86_64
  ApportVersion: 2.9-0ubuntu2
  Architecture: amd64
  Date: Mon Mar  4 14:55:57 2013
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_AU.UTF-8
   SHELL=/bin/bash
  SourcePackage: colord
  UpgradeStatus: Upgraded to raring on 2012-12-06 (87 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to