[SRU] package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9

Bug #755641 reported by Fons van der Weijden
154
This bug affects 18 people
Affects Status Importance Assigned to Milestone
sandboxgamemaker (Ubuntu)
Fix Released
Low
Unassigned
Natty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sandboxgamemaker

Package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9 in Ubuntu 11.04 beta.

Re-opening for the SRU:
This bug prevents installation of the package and can leave a user's system in an unconfigured state.

Has been fixed in 2.6.1-6, and fixed in Oneiric

For a patch see linked attached branch.

TEST CASE:
1) $ sudo apt-get sandboxgamemaker
2) choose to install default content from the web from debconf
3) during download, ^C to cancel the download
4) after done, try reinstalling sandboxgamamker or do dpkg --configure -a. Both will crash like this bug

Should be clean patch. Already in use in unstable.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: sandboxgamemaker 2.6.1+dfsg-3
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat Apr 9 18:16:16 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 9
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: sandboxgamemaker
Title: package sandboxgamemaker 2.6.1+dfsg-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9
UpgradeStatus: Upgraded to natty on 2011-04-09 (0 days ago)

Related branches

Revision history for this message
Fons van der Weijden (acjw58) wrote :
Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 755641] Re: package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9

Thanks for the report - I can't reproduce this:

Setting up sandboxgamemaker (2.6.1+dfsg-3) ...
--2011-04-09 13:55:05--
http://sandboxgamemaker.com/sandbox/PlatinumArtsSandbox2.6.1Multiplatform.zip
Resolving sandboxgamemaker.com... 69.163.252.177
Connecting to sandboxgamemaker.com|69.163.252.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 300469867 (287M) [application/zip]
Saving to: `PlatinumArtsSandbox2.6.1Multiplatform.zip'

100%[======================================>] 300,469,867 540K/s in 9m 25s

2011-04-09 14:04:31 (520 KB/s) -
`PlatinumArtsSandbox2.6.1Multiplatform.zip' saved
[300469867/300469867]

Cleaned old data
Unizipped data, copying to /usr/share/sandboxgamemaker

And it properly installed on my natty system.

Could you try removing it and reinstalling it? or dpkg --configure?

Revision history for this message
Scott Howard (showard314) wrote : Re: package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 9

This bug is popping up a lot, but I haven't been able to reproduce it in order to debug it. Perhaps the file is getting corrupted during download? I've seen that error before with other .zip files, and is usually fixed by just downloading the file again.

Could you try removing it and reinstalling it? or dpkg --configure?

Sandbox Game Maker's license doesn't allow us to easily distribute the content in Ubuntu, so we have to download the content from their servers.

Thanks.

Changed in sandboxgamemaker (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Howard (showard314) wrote :

Thanks to everyone who reported this bug - I think I've found where the problem is. If something interrupts the download of the content from sandboxgamemaker.com, and then installation is restarted, Ubuntu will try to unzip and install the partially downloaded file instead of the full file.

The fix is currently migrating through Debian and Ubuntu Oneiric. Once fixed there I'll turn this into an SRU for natty.

for now here's a workaround:

$ sudo rm -r /var/cache/sandboxgamemaker

You should be able to run "dpkg --configure -a" or install sandboxgamemaker

Changed in sandboxgamemaker (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sandboxgamemaker - 2.6.1+dfsg-6

---------------
sandboxgamemaker (2.6.1+dfsg-6) unstable; urgency=low

  * debian/postinst fixed to clean out partially downloaded files in
    case of an aborted install (LP: #755641)
 -- Ubuntu Archive Auto-Sync <email address hidden> Wed, 18 May 2011 09:05:08 +0000

Changed in sandboxgamemaker (Ubuntu):
status: Triaged → Fix Released
summary: - package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade:
+ [SRU] package sandboxgamemaker 2.6.1 dfsg-3 failed to install/upgrade:
subprocess installed post-installation script returned error exit status
9
Revision history for this message
Scott Howard (showard314) wrote :

Re-opening for the SRU:
This bug prevents installation of the package and can leave a user's system in an unconfigured state.

Has been fixed in 2.6.1-6, and fixed in Oneiric

For a patch see linked attached branch.

TEST CASE:
1) $ sudo apt-get sandboxgamemaker
2) choose to install default content from the web from debconf
3) during download, ^C to cancel the download
4) after done, try reinstalling sandboxgamamker or do dpkg --configure -a. Both will crash like this bug

Should be clean patch. Already in use in unstable.

Changed in sandboxgamemaker (Ubuntu):
status: Fix Released → New
description: updated
Evan Broder (broder)
Changed in sandboxgamemaker (Ubuntu):
status: New → Fix Released
Revision history for this message
Bhavani Shankar (bhavi) wrote :

uploaded to -proposed. waiting for approval in queue

regards

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted sandboxgamemaker into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in sandboxgamemaker (Ubuntu Natty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Scott Howard (showard314) wrote :

Tested the -proposed package on a -release system and it works.

I started the install, killed the download, rebooted the computer, ran "dpkg --configure -a" and the download picked up where it left off and then properly installed the content.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Scott, thanks for verifying.

We usually ask that somebody who wasn't the author of the bug fix verify as well. If this sits too long though, I think your verification should suffice.

Revision history for this message
Martin Pitt (pitti) wrote :

As you used the package from -proposed, let's count that as verification. Thanks for testing!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sandboxgamemaker - 2.6.1+dfsg-3ubuntu0.1

---------------
sandboxgamemaker (2.6.1+dfsg-3ubuntu0.1) natty-proposed; urgency=low

  * Properly installs data in case of corrupted/incomplete download
    (LP: #755641) debian/postinst
 -- Scott Howard <email address hidden> Thu, 26 May 2011 13:11:35 -0400

Changed in sandboxgamemaker (Ubuntu Natty):
status: Fix Committed → 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.