Bug#601859: wesnoth-1.9: Bad error handling in postinst script
Hi, * PJ Weisberg pjweisb...@gmail.com [2010-11-23 06:06:37 CET]: There was a 1.9.1-1 when I made the earlier report. I've since upgraded to 1.9.2-1. In order to do so, I had to install wesnoth-1.8-core. :-) Right - just stating that it won't be needed for the next upgrade because I fixed it in my codebase. :) (I didn't upgrade immediately because I was in the middle of a campaign and other games have trained me not to upgrade when I still care about my save files.) Good choice, especially for the development release. There is no guarantee in that branch that savegames will stay compatible (or client versions in multiplayer games). If you want something stable to stick with, 1.8 is the way to go. Enjoy! Rhonda -- dholbach Last day of https://wiki.ubuntu.com/UbuntuDeveloperWeek starting in 34 minutes in #ubuntu-classroom on irc.feenode.net * ScottK hands dholbach an r. Rhonda Are they fundraising again? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
There was a 1.9.1-1 when I made the earlier report. I've since upgraded to 1.9.2-1. In order to do so, I had to install wesnoth-1.8-core. :-) (I didn't upgrade immediately because I was in the middle of a campaign and other games have trained me not to upgrade when I still care about my save files.) -- -PJ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
Actually, drop #3 from that workaround. Upgrading wesnoth-1.9-core *also* requires wesnoth-1.8-core to be installed. :-/
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
* PJ Weisberg pjweisb...@gmail.com [2010-11-20 11:59:13 CET]: Actually, drop #3 from that workaround. Upgrading wesnoth-1.9-core *also* requires wesnoth-1.8-core to be installed. :-/ Upgrading from what to what? Actually, no, it won't. That's why this bugreport is marked as pending, the fix has been applied to the VCS. Thanks, Rhonda -- dholbach Last day of https://wiki.ubuntu.com/UbuntuDeveloperWeek starting in 34 minutes in #ubuntu-classroom on irc.feenode.net * ScottK hands dholbach an r. Rhonda Are they fundraising again? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
From 1:1.9.1-1 to 1:1.9.2-1.
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
* PJ Weisberg pjweisb...@gmail.com [2010-11-20 23:10:17 CET]: From 1:1.9.1-1 to 1:1.9.2-1. There is no 1:1.9.1-1 anymore since a while already in the pool. Rhonda -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
Package: wesnoth-1.9 Version: 1:1.9.1-1 Severity: normal Yes, I was very suspicious when I opened up the postinst script to try to figure out why it failed. It says if [ $? != 0 ]; then in a couple of places, but $? can NEVER be != to 0, because the 'set -e' at the top would cause the script to die immediately if that happened. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wesnoth-1.9 depends on: pn wesnoth-1.9-aoi none (no description available) pn wesnoth-1.9-core none (no description available) ii wesnoth-1.9-data 1:1.9.1-1 data files for Wesnoth (branch 1.9 pn wesnoth-1.9-did none (no description available) pn wesnoth-1.9-dmnone (no description available) pn wesnoth-1.9-dwnone (no description available) pn wesnoth-1.9-einone (no description available) pn wesnoth-1.9-httt none (no description available) pn wesnoth-1.9-l none (no description available) pn wesnoth-1.9-low none (no description available) pn wesnoth-1.9-nrnone (no description available) pn wesnoth-1.9-sof none (no description available) pn wesnoth-1.9-sotbe none (no description available) pn wesnoth-1.9-thot none (no description available) pn wesnoth-1.9-trow none (no description available) pn wesnoth-1.9-tsg none (no description available) pn wesnoth-1.9-ttb none (no description available) pn wesnoth-1.9-utbs none (no description available) Versions of packages wesnoth-1.9 recommends: ii wesnoth-1.9-music 1:1.9.1-1 music files for Wesnoth (branch 1. wesnoth-1.9 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601859: wesnoth-1.9: Bad error handling in postinst script
As a temporary workaround, until the postinst script gets fixed, you can: 1. Install wesnoth-1.8-core 2. Install wesnoth-1.9-core 3. Uninstall wesnoth-1.8-core The Wesnoth1.9 postinst configuration script is set up to abort if Wesnoth isn't already configured, so installing a version that does successfully configure tricks it into working. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org