Re: Courier-base install problem
On Fri, Jan 16, 2004 at 06:35:04PM +0000, Jools Smyth wrote:
> I have a problem with courier base. The package maintainer has pointed the
> error to most likely a problem with my debconf toolchain, possibly specific
> to hppa.
preinstall script also "returns an error":
root@debian:~# apt-get install courier-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 167kB of archives.
After unpacking 545kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org testing/main courier-base 0.42.2-10 [167kB]
Fetched 167kB in 0s (1137kB/s)
Preconfiguring packages ...
courier-base failed to preconfigure, with exit status 1
Selecting previously deselected package courier-base.
(Reading database ... 70682 files and directories currently installed.)
Unpacking courier-base (from .../courier-base_0.42.2-10_hppa.deb) ...
Setting up courier-base (0.42.2-10) ...
dpkg: error processing courier-base (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
The courier-base.preinst and .postinst scripts don't provide an "exit 0"
at the end. Could they be picking up garbage for a return value?
Or do shell scripts implicitly set a Zero return value if none is specified?
grundler <532>ls -l /usr/src/courier-0.42.2/debian/courier-base.templates /var/lib/dpkg/info/courier-base.templates
-rw-r--r-- 1 grundler root 1154 Jan 16 11:22 /usr/src/courier-0.42.2/debian/courier-base.templates
-rw-r--r-- 1 root root 0 Oct 6 15:46 /var/lib/dpkg/info/courier-base.templates
Looks like the maintainer's guess is correct. Either it's not
packaged correctly or something is stomping on it during the install.