Comment 6 for bug 353144

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.