package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Bug #353144 reported by stepomaticc
336
This bug affects 73 people
Affects Status Importance Assigned to Milestone
rocksndiamonds (Debian)
Fix Released
Unknown
rocksndiamonds (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Jaunty by Bela Lubkin
Nominated for Karmic by Bela Lubkin
Nominated for Lucid by Bela Lubkin

Bug Description

Binary package hint: rocksndiamonds

when trying to download extra sets

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 2
Package: rocksndiamonds 3.2.6.0+dfsg-3
SourcePackage: rocksndiamonds
Title: package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
stepomaticc (stepomaticc) wrote :
Revision history for this message
bingo1912 (travis-wenks) wrote :

i have i386 and have the same issue

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Fixed in debian, sync requested (bug #357664).

Changed in rocksndiamonds (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Fix released in jaunty

Changed in rocksndiamonds (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
K7AAY (john-bartley) wrote :

using jaunty RC and still fails on i386

Revision history for this message
Bela Lubkin (filbo) wrote :

This is not yet fixed in either karmic (3.2.6.0+dfsg-6) nor lucid (3.2.6.1+dfsg1-5).

It is fixed upstream in Debian 3.2.6.1+dfsg1-6.

The problem is caused by a Bashism in /var/lib/dpkg/info/rocksndiamonds.postinst:

--- rocksndiamonds.postinst.orig 2010-01-27 07:13:13.000000000 -0800
+++ rocksndiamonds.postinst 2010-01-27 07:12:40.000000000 -0800
@@ -214,3 +214,3 @@ if ($ARGV[0] eq 'configure')
 {
- system 'which update-menus &>/dev/null';
+ system 'which update-menus >/dev/null 2>&1';
     if ($? == 0)
@@ -218,3 +218,3 @@ if ($ARGV[0] eq 'configure')
         print STDERR "Update menu\n";
- system 'update-menus &>/dev/null';
+ system 'update-menus >/dev/null 2>&1';
     }

"&>" doesn't work in /bin/sh which is now Dash.

This same issue causes:

1. `dpkg-reconfigure rocksndiamonds` exits with just "Update menus"

2. exits with a big error message about the configure script returning 128

3. appears to work but doesn't actually download level archives

-- all depending on which interface you start it from and what the current
state of the package is on your system.

Changed in rocksndiamonds (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Bela Lubkin (filbo) wrote :

Fix by pulling current Debian release.

Revision history for this message
Bela Lubkin (filbo) wrote :
Revision history for this message
Kapil Dev Mishra (kdm6389) wrote : Re: [Bug 353144] Re: package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess post-installation script returned error exit status 2

thanks

On 1/27/10, Bela Lubkin <email address hidden> wrote:
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558005
>
> --
> package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess
> post-installation script returned error exit status 2
> https://bugs.launchpad.net/bugs/353144
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “rocksndiamonds” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: rocksndiamonds
>
> when trying to download extra sets
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit status
> 2
> Package: rocksndiamonds 3.2.6.0+dfsg-3
> SourcePackage: rocksndiamonds
> Title: package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade:
> subprocess post-installation script returned error exit status 2
> Uname: Linux 2.6.28-11-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/rocksndiamonds/+bug/353144/+subscribe
>

Changed in rocksndiamonds (Ubuntu):
status: Confirmed → Triaged
Changed in rocksndiamonds (Debian):
status: Unknown → Fix Released
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

A retest with the actual stable version Ubuntu 12.04 Precise has shown that this bug is fixed there.

I close this ticket as fixed released.

Please upgrade your systems to the latest stable release, because Ubuntu 9.x has already reached End Of Live:

https://help.ubuntu.com/community/UpgradeNotes

Changed in rocksndiamonds (Ubuntu):
status: Triaged → 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.