[pkg-fetchmail-maint] Bug#344582: fetchmail: postinst fails if no servers are in the config

Eduard Bloch blade at debian.org
Fri Dec 23 21:21:53 UTC 2005


Package: fetchmail
Version: 6.2.5.4-1
Severity: important

Hello,

I failed to upgrade a pre-Sarge system to Sid because fetchmail postinst
fails with an useless message (see below). It's right, there are no
servers in /etc/fetchmailrc but postinst should not fail either!

MfG,
Eduard.


Script started on Fri Dec 23 22:15:31 2005
root at zombie:/tmp> apt-get install fetchmail

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 1%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... Done

fetchmail is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.


Reading changelogs... Done
Setting up fetchmail (6.2.5.4-1) ...
Starting mail retrieval agent: fetchmailfetchmail: no mailservers have been specified.
 (failed).
dpkg: error processing fetchmail (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fetchmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at zombie:/tmp> sh -x /var/lib/dpkg/info/fetchmail.postinst 
+ set -e
+ getent passwd fetchmail
+ '[' -d /var/run/fetchmail ']'
+ chmod 700 /var/run/fetchmail
+ chown -h -R fetchmail:nogroup /var/run/fetchmail
+ '[' -x /etc/init.d/fetchmail ']'
+ update-rc.d fetchmail defaults 99 15
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d --quiet fetchmail start
Starting mail retrieval agent: fetchmailfetchmail: no mailservers have been specified.
 (failed).
root at zombie:/tmp> exit

Script done on Fri Dec 23 22:15:53 2005


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages fetchmail depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  base-files                    3.1.9      Debian base system miscellaneous f
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
hi  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libssl0.9.8                   0.9.8a-5   SSL shared libraries

Versions of packages fetchmail recommends:
ii  ca-certificates               20050804   Common CA Certificates PEM files

-- debconf-show failed




More information about the pkg-fetchmail-maint mailing list