[Bug 353144] Re: package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Bela Lubkin
filbo_launchpad at armory.com
Wed Jan 27 15:16:49 UTC 2010
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
--
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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list