No game data are automatically installed
Bug #260119 reported by
Arie Skliarouk
This bug report is a duplicate of:
Bug #353144: package rocksndiamonds 3.2.6.0+dfsg-3 failed to install/upgrade: subprocess post-installation script returned error exit status 2.
Edit
Remove
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.
Changed in rocksndiamonds: | |
status: | New → Confirmed |
To post a comment you must log in.
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 dpkg/info/ rocksndiamonds. postinst 2008-09-12 11:11:53.000000000 -0700
+++ /var/lib/
@@ -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';
}
}