glance post-installation script failed, Syntax error: "fi" unexpected

Bug #860652 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance (Ubuntu)
In Progress
Critical
Scott Moser

Bug Description

$ sudo dpkg -i -O /tmp/*.deb
(Reading database ... 124439 files and directories currently installed.)
Preparing to replace glance 2011.3-0ubuntu2 (using .../glance_2011.3-0ubuntu2_all.deb) ...
Unpacking replacement glance ...
Preparing to replace python-glance 2011.3-0ubuntu2 (using .../python-glance_2011.3-0ubuntu2_all.deb) ...
Unpacking replacement python-glance ...
Skipping deselected package python-glance-doc.
Setting up python-glance (2011.3-0ubuntu2) ...
Setting up glance (2011.3-0ubuntu2) ...
/var/lib/dpkg/info/glance.postinst: 9: Syntax error: "fi" unexpected (expecting "then")
dpkg: error processing glance (--install):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for ureadahead ...
Errors were encountered while processing:
 glance
ubuntu@kearney:~/src/nova$ ubuntu-bug glance
/usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py:19: UserWarning: Module paste was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
  import pkg_resources

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: glance 2011.3-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-server 3.0.4
Uname: Linux 3.0.0-11-server x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 27 11:06:24 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: glance
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in glance (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Scott Moser (smoser)
milestone: none → ubuntu-11.10
tags: added: server-o-rs
Revision history for this message
Scott Moser (smoser) wrote :

sorry, this is dupe of bug 857021.

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.