postinstall script for Oneiric has syntax error

Bug #857631 reported by David Kranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Low
Unassigned
glance (Ubuntu)
Fix Released
Undecided
Adam Gandelman

Bug Description

Just did 'apt-get install glance' after installing diablo and finding no glance user had been created:

Reading package lists... Done
Building dependency tree
Reading state information... Done
glance 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]? y
Setting up glance (2011.3-0ubuntu1) ...
/var/lib/dpkg/info/glance.postinst: 9: Syntax error: "fi" unexpected (expecting "then")
dpkg: error processing glance (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 glance
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Jay Pipes (jaypipes) wrote :

Hey Chuck, not sure if you already addressed this, but if you could take a look at it, that would be appreciated.

Thanks!
-jay

Changed in glance:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Chuck Short (zulcss)
milestone: none → essex-1
Revision history for this message
Dave Walker (davewalker) wrote :

This was resolved with:

glance (2011.3-0ubuntu2) oneiric; urgency=low

  * debian/glance.{postinst,postrm}: Fix syntax error, /dev/null redirect
    typos. Only remove user/group in .postrm if they exist. (LP: #857021)

 -- Adam Gandelman <email address hidden> Thu, 22 Sep 2011 21:03:26 -0700

Thanks.

Changed in glance:
status: Confirmed → Fix Released
Changed in glance (Ubuntu):
status: New → Fix Released
assignee: nobody → Adam Gandelman (gandelman-a)
Thierry Carrez (ttx)
Changed in glance:
status: Fix Released → Invalid
milestone: essex-1 → none
assignee: Chuck Short (zulcss) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.