Bug#476554: mumble-server: postinst renders installation impossible

Jan Hauke Rahm info at jhr-online.de
Thu Apr 17 13:25:33 UTC 2008


Package: mumble-server
Version: 1.1.3-2
Severity: grave
Tags: patch
Justification: renders package unusable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA224

Hi!

While installing dpkg aborts because "do_configuration" is not a known
command. Just move to function to the begin of the script (patch below,
hope it works).

By the way, thanks for packaging! :)

Cheers,
Hauke

*** diff
diff -uPr mumble-1.1.3/debian/mumble-server.postinst mumble-1.1.3~/debian/mumble-server.postinst
- --- mumble-1.1.3/debian/mumble-server.postinst	2008-04-17 15:09:05.000000000 +0200
+++ mumble-1.1.3~/debian/mumble-server.postinst	2008-04-17 15:07:32.000000000 +0200
@@ -17,17 +17,6 @@
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
- -CONF="/etc/mumble-server/mumble-server.ini"
- -CONF_NEW="/etc/mumble-server/mumble-server.ini.new"
- -CONF_OLD="/etc/mumble-server/mumble-server.ini.old"
- -TEMPLATE="/usr/share/mumble-server/templates/murmur.ini.system"
- -do_configuration;
- -CONF="/etc/dbus-1/system.d/murmur.conf"
- -CONF_NEW="/etc/dbus-1/system.d/murmur.conf.new"
- -CONF_OLD="/etc/dbus-1/system.d/murmur.conf.old"
- -TEMPLATE="/usr/share/mumble-server/templates/murmur.conf"
- -do_configuration;
- -
 do_configuration() {
 	if [ -f ${CONF} ] ; then
 		# No configuration exists, just install the template one.
@@ -47,6 +36,16 @@
 	fi
 }
 
+CONF="/etc/mumble-server/mumble-server.ini"
+CONF_NEW="/etc/mumble-server/mumble-server.ini.new"
+CONF_OLD="/etc/mumble-server/mumble-server.ini.old"
+TEMPLATE="/usr/share/mumble-server/templates/murmur.ini.system"
+do_configuration;
+CONF="/etc/dbus-1/system.d/murmur.conf"
+CONF_NEW="/etc/dbus-1/system.d/murmur.conf.new"
+CONF_OLD="/etc/dbus-1/system.d/murmur.conf.old"
+TEMPLATE="/usr/share/mumble-server/templates/murmur.conf"
+do_configuration;
 
 case "$1" in
 	configure)


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iE8DBQFIB0/NGOp6XeD8cQ0RC0gfAN9ce/CzIzB9Uo00hZ35c4hy5Rkb37nDDFBO
WcK0AN94lNmSWEzw0imqdkHWZI4QaRzr9oPJeZq3g+yF
=4s0m
-----END PGP SIGNATURE-----





More information about the Pkg-voip-maintainers mailing list