No game data are automatically installed

Bug #260119 reported by Arie Skliarouk
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rocksndiamonds (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed rocksndiamonds package of version 3.2.4+dfsg-2
When asked which data files to download, I selected every one of them.

After installation finished, launch of rocksndiamonds yielded following message:
Game data not installed!

usage: #dpkg-reconfigure rocksndiamonds
for install/update game levels

I tried to reconfigure again the games to download and then nothing happened.

Revision history for this message
Gregory Margo (gmargo) wrote :

I confirm this bug.
The problem is caused by a bash-ism in the .postinst file, which fails if /bin/sh is dash.
The following patch fixes the problem:

--- /var/lib/dpkg/info/rocksndiamonds.postinst.00 2008-01-07 15:28:52.000000000 -0800
+++ /var/lib/dpkg/info/rocksndiamonds.postinst 2008-09-12 11:11:53.000000000 -0700
@@ -159,11 +159,11 @@

 if ($ARGV[0] eq 'configure')
 {
- system 'which update-menus &>/dev/null';
+ system 'which update-menus > /dev/null 2>&1';
   if ($? == 0)
   {
     print STDERR "Update menu\n";
- system 'update-menus &> /dev/null';
+ system 'update-menus > /dev/null 2>&1';
   }
 }

Revision history for this message
Iakov Davydov (iakov-davydov) wrote :

I confirm this bug

Revision history for this message
Iakov Davydov (iakov-davydov) wrote :

I confirm that editing rocksndiamonds-3.2.4+dfsg/debian/rocksndiamonds.postinst and rebuilding package fixes the problem.

Changed in rocksndiamonds:
status: New → Confirmed
Revision history for this message
Michael Tänzer (neoatnhng) wrote :

I confirm bug and fix

Revision history for this message
Major Andras (majorandras) wrote :

The bug exists in 3.2.6.0+dfsg-3 in jaunty beta.

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.