Package: mono-xsp
Version: 1.1.17.1-1
Severity: important
Tags: patch

Hi,

There is a parse error in the templates file when configuring the package.

Here are the error messages:

Preconfiguring packages ...
mono-xsp template parse error: Template parse error near `If this is true, then
XSP will automatically start when the computer', in stanza #1 of
/tmp/mono-xsp.template.151610

(Reading database ... 337591 files and directories currently installed.)
Preparing to replace mono-xsp 1.1.17.1-1 (using .../mono-xsp_1.1.17.1-1_all.deb)
...
Stopping XSP WebServer: mono-xsp.
Unpacking replacement mono-xsp ...
Setting up mono-xsp (1.1.17.1-1) ...
Template parse error near `If this is true, then XSP will automatically start
when the computer', in stanza #1 of /var/lib/dpkg/info/mono-xsp.templates
dpkg: error processing mono-xsp (--configure):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 mono-xsp
E: Sub-process /usr/bin/dpkg returned an error code (1)

The attached patch fixes this problem.


Regards 

Jean-Luc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-k8-9
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mono-xsp depends on:
ii  debconf [debconf-2.0]         1.5.5      Debian configuration management sy
ii  libmono-corlib1.0-cil         1.1.17.1-3 Mono core library (1.0)
ii  libmono-security1.0-cil       1.1.17.1-3 Mono Security library
ii  libmono-system-data1.0-cil    1.1.17.1-3 Mono System.Data library
ii  libmono-system1.0-cil         1.1.17.1-3 Mono System libraries (1.0)
ii  mono-runtime                  1.1.17.1-3 Mono runtime
ii  mono-xsp-base                 1.1.17.1-1 base libraries for XSP 1.1
ii  net-tools                     1.60-17    The NET-3 networking toolkit
ii  procps                        1:3.2.7-3  /proc file system utilities

mono-xsp recommends no packages.

-- debconf information:
* xsp/xsp_port: 8081
* xsp/xsp_bind: 0.0.0.0
* xsp/xsp_autostart: false
--- mono-xsp.templates.orig     2006-09-23 11:04:13.551449089 +0200
+++ mono-xsp.templates  2006-09-23 11:02:23.908443827 +0200
@@ -2,21 +2,21 @@
 Type: boolean
 Default: true
 Description: Start on boot?
-If this is true, then XSP will automatically start when the computer
-is turned on.
+ If this is true, then XSP will automatically start when the computer
+ is turned on.
 
 Template: xsp/xsp_bind
 Type: string
 Default: 0.0.0.0
 Description: Bind to address:
-To function properly, XSP needs to be bound to an IP address. The
-default ("0.0.0.0") binds to all addresses of the server, but a
-specific port can be selected. To use XSP only locally, use
-"127.0.0.1" for the address.
+ To function properly, XSP needs to be bound to an IP address. The
+ default ("0.0.0.0") binds to all addresses of the server, but a
+ specific port can be selected. To use XSP only locally, use
+ "127.0.0.1" for the address.
 
 Template: xsp/xsp_port
 Type: string
 Default: 8081
 Description: Bind to port:
-XSP is bound to a specific port on the server. Common values are 80,
-8080, or 8081.
+ XSP is bound to a specific port on the server. Common values are 80,
+ 8080, or 8081.

Reply via email to