Package: qmail-src
Version: 1.03-47
Severity: grave
Justification: renders package unusable
Hi,
Having a from-sources qmail system up and running, I found some dependencies
problems when trying to install unrelated software, so I decided to install it
using
dpkg so dependencies get satisfied when I install other software.
I've installed qmail-src package and used build-qmail script to build the .deb
file.
When I try to install the .deb file, it detects I have an existing installation
and
it prompts to override it:
(Reading database ... 31644 files and directories currently installed.)
Unpacking qmail (from qmail_1.03-47_i386.deb) ...
Performing install
First installation of the Debian qmail package...
Checking if qmail is already installed on this computer...
Found /var/qmail directory
Found qmail control directory at /etc/qmailyes.
Pre-existing qmail installation detected. Override? [yN] N
^Cdpkg: error processing qmail_1.03-47_i386.deb (--install):
subprocess pre-installation script killed by signal (Interrupt)
Errors were encountered while processing:
qmail_1.03-47_i386.deb
As you can see, it hangs after I reply and I have to abort. It seems to be
related
with the preinst script, as it just reads the reply from stdin. Check line 147
from
the preinst script:
------------- 8< --------------------------
if ( $qmail_installed == 1) {
debug("yes.\nPre-existing qmail installation detected. Override? [yN]
");
$answer = <STDIN>;
chop $answer;
-------------- >8 -------------------------
Using strace I can see that the script is waiting for a read in the file
descriptor
number 0, so I think it is clear that it is this question's fault the cause of
the "hang".
I'm not really sure if it has anything to do with another bug report open
related
to using debconf to get user input but it seems that the standard debian system
is not very compatible with requesting direct input from terminal.
Thanks a lot in advance.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-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/bash
Versions of packages qmail-src depends on:
ii adduser 3.110 add and remove users and groups
ii dpkg-dev 1.14.22 Debian package development tools
ii fakeroot 1.10.1 Gives a fake root environment
ii gcc 4:4.3.2-2 The GNU C compiler
ii groff-base 1.18.1.1-21 GNU troff text-formatting system (
ii libc6-dev 2.7-15 GNU C Library: Development Librari
ii make 3.81-5 The GNU version of the "make" util
ii patch 2.5.9-5 Apply a diff file to an original
Versions of packages qmail-src recommends:
ii procmail 3.22-16 Versatile e-mail processor
ii ucspi-tcp-src 0.88-15 Source only package for building u
qmail-src suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]