Package: inn2 Version: 2.5.1-1 Severity: important If a FQDN is not set then installation will fail and leave the package installed but unconfigured Is there a good way to deal with this case and let the package install by handling it in .postinst? Or can a .preinst be added so that the package will warn that FQDN is missing and not install itself at all.
Verified on Debian Sid inn2/sid uptodate 2.5.1-1 Verified on Ubuntu Lucid inn2/lucid uptodate 2.5.1-1 (see https://bugs.launchpad.net/ubuntu/+source/inn2/+bug/511437) Setting up inn2 (2.5.1-1) ... + init_inn_files + /usr/lib/news/bin/innconfval pathdb innconfval: hostname does not resolve or domain not set in inn.conf + PATHDB= dpkg: error processing inn2 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: inn2 E: Sub-process /usr/bin/dpkg returned an error code (1) -- System Information: Debian Release: squeeze/sid APT prefers lucid APT policy: (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-11-generic (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages inn2 depends on: ii cron 3.0pl1-106ubuntu3 process scheduling daemon ii inn2-inews 2.5.1-1 NNTP client news injector, from In ii libc6 2.11.1-0ubuntu1 Embedded GNU C Library: Shared lib ii libdb4.7 4.7.25-8ubuntu1 Berkeley v4.7 Database Libraries [ ii libmime-tools-p 5.427-2 Perl5 modules for MIME-compliant m ii libpam0g 1.1.0-4ubuntu3 Pluggable Authentication Modules l ii libperl5.10 5.10.1-8ubuntu1 shared Perl library ii libsasl2-2 2.1.23.dfsg1-3ubuntu1 Cyrus SASL - authentication abstra ii libssl0.9.8 0.9.8k-7ubuntu5 SSL shared libraries ii perl 5.10.1-8ubuntu1 Larry Wall's Practical Extraction ii perl-base [perl 5.10.1-8ubuntu1 minimal Perl system ii postfix [mail-t 2.6.5-3 High-performance mail transport ag ii procps 1:3.2.8-1ubuntu4 /proc file system utilities ii time 1.7-23 The GNU time program for measuring ii zlib1g 1:1.2.3.3.dfsg-15ubuntu1 compression library - runtime inn2 recommends no packages. Versions of packages inn2 suggests: ii gnupg 1.4.10-2ubuntu1 GNU privacy guard - a free PGP rep ii libcomerr2 1.41.9-1ubuntu3 common error description library pn libgd-gd2-noxpm-perl <none> (no description available) ii libkrb5-3 1.8+dfsg~alpha1-4 MIT Kerberos runtime libraries ii wget 1.12-1.1ubuntu2 retrieves files from the web -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org