Solution:
$ sudo delgroup scanner
$ sudo apt-get install colord

Details:
I'm seeing the same problem after upgrading  to 12.04.  There is no helpful 
output from the post install script (/var/lib/dpkg/info/colord.postinst) even 
if you run it manually.  Taking a look inside, the first command is:

addgroup --quiet --system scanner

which fails with no output (thanks to --quiet).  Running without --quiet
gives:

$ sudo addgroup --system scanner
addgroup: The group `scanner' already exists and is not a system group. Exiting.

So there's the problem: the group is already there but is not a system
group.  Taking a look at the group I see:

$ grep scanner /etc/group
scanner:x:1001:colord

Indeed it is not a system group, and it only seems to be used by colord.
So I took the liberty of removing it:

$ sudo delgroup scanner
Removing group `scanner' ...
Done.

Then reinstalling colord:

$ sudo apt-get install colord
Reading package lists... Done
Building dependency tree       
Reading state information... Done
colord is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Setting up colord (0.1.16-2) ...
$

And viola, the problem is solved.

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

Title:
  package colord 0.1.16-2 failed to install/upgrade: ErrorMessage:
  subprocess installed post-installation script returned error exit
  status 1

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to