Package: preload
Version: 0.2-5
Severity: serious
Tags: patch
Justification: Policy 6.1

When installing preload:

Setting up preload (0.2-5) ...
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error processing preload (--configure):
 subprocess post-installation script returned error exit status 2
 Errors were encountered while processing:
  preload
  E: Sub-process /usr/bin/dpkg returned an error code (1)

This is caused by an extra newline at the beginning of the postinst script, 
before the #! line.
Removing that newline fixes the postinst script.

--- /tmp/postinst       2006-04-17 08:53:00.000000000 +0300
+++ postinst    2006-04-17 08:53:40.000000000 +0300
@@ -1,4 +1,3 @@
-
#! /bin/sh
# postinst script for #PACKAGE#
#

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages preload depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libglib2.0-0                  2.10.2-1   The GLib library of C routines

preload recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to