cmake fails to check for the existence of a directory before trying to rmdir in postinst

Bug #730365 reported by Micah Gersten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: cmake

Trying to reinstall cmake after natty upgrade removed it.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: cmake 2.8.3-3ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
AptOrdering:
 libxmlrpc-core-c3-0: Install
 cmake: Install
 libxmlrpc-core-c3-0: Configure
 cmake: Configure
Architecture: amd64
Date: Sun Mar 6 18:39:35 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: cmake
Title: package cmake 2.8.3-3ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-03-06 (0 days ago)

Related branches

Revision history for this message
Micah Gersten (micahg) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

I'm attaching a patch that checks for the cmake doc dir before trying to remove it.

Changed in cmake (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :
Micah Gersten (micahg)
summary: - package cmake 2.8.3-3ubuntu2 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ cmake fails to check for the existence of a directory before trying to
+ rmdir in postinst
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cmake - 2.8.3-3ubuntu6

---------------
cmake (2.8.3-3ubuntu6) natty; urgency=low

  * fix LP: #730365 - Check for cmake doc directory before running rmdir
    - update debian/cmake.postinst
 -- Micah Gersten <email address hidden> Sun, 20 Mar 2011 23:25:33 -0500

Changed in cmake (Ubuntu):
status: Confirmed → Fix Released
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.