Bug#601859: Can't install package, post-installation script returns -1
Ole Laursen
olau at hardworking.dk
Sat Oct 30 11:37:09 UTC 2010
Package: wesnoth-1.9-core
Version: 1:1.9.1-1
Severity: grave
Hi!
Can't install the package, got a big bunch of errors from aptitude
when I installed wesnoth-1.9, seems to come from the postinst script:
ole:~/$ LANG=C sudo dpkg --configure wesnoth-1.9-core
Setting up wesnoth-1.9-core (1:1.9.1-1) ...
dpkg: error processing wesnoth-1.9-core (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
wesnoth-1.9-core
I tried commenting out the divert_oldfiles function in
wesnoth-1.9-core.postinst and now it works. Maybe the script just
terminates immediately from the "set -e" at the top if the grep
commands return 1?
Another oddity is that the editor script is
/usr/games/wesnoth-1.9_editor (with underscore) contrary to the other
scripts that are with hyphen, e.g. wesnoth-1.9-nolog.
By the way, why is it installing in /usr/games instead of /usr/bin?
That's weird. Is that a leftover from old Unix structure?
PS: Thanks for packaging wesnoth, I'm going to have my first try at it now. :)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wesnoth-1.9-core depends on:
ii libboost-iostreams1.42. 1.42.0-4 Boost.Iostreams Library
ii libboost-regex1.42.0 1.42.0-4 regular expression library for C++
ii libboost-system1.42.0 1.42.0-4 Operating system (e.g. diagnostics
ii libboost-thread1.42.0 1.42.0-4 portable C++ multi-threading
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfribidi0 0.19.2-1 Free Implementation of the Unicode
ii libgcc1 1:4.4.5-5 GCC support library
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libpango1.0-0 1.28.3-1 Layout and rendering of internatio
ii libsdl-image1.2 1.2.10-2+b2 image loading library for Simple D
ii libsdl-mixer1.2 1.2.8-6+b1 mixer library for Simple DirectMed
ii libsdl-net1.2 1.2.7-2 network library for Simple DirectM
ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia
ii libsdl1.2debian 1.2.14-6.1 Simple DirectMedia Layer
ii libstdc++6 4.4.5-5 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-3 X11 client-side library
ii wesnoth-1.9-data 1:1.9.1-1 data files for Wesnoth (branch 1.9
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
More information about the Pkg-games-devel
mailing list