Your message dated Fri, 3 Nov 2006 00:22:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#396771: newaliases causes dpkg-configure to fail when
postfix and postfix-pcre are installed together
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: postfix
Version: 2.3.3-1
Severity: normal
The combination install of postfix and postfix-pcre seems to fine.
Everything also works fine when installed. However the postfix and
postfix-pcre packages are not configured under the apt repository. This
means that the mail-transport-agent isn't being "Provide"d like it
should be.
It appears to me that this bug maybe similar to #348645 (which I know
has been resolved. But I am not entirely sure. I have my installation
pinned as testing which is noted later in this email. That is the
reason that I haven't experimented yet with postfix 2.3.3-4.
What appears to be happening to me is that newaliases is trying to run
using the proper information obtained from my /etc/postfix/main.cf and
it isn't working because newaliases builds a map and I have in my
main.cf:
alias_maps = pcre:/etc/postfix/aliases
alias_database = pcre:/etc/postfix/aliases
This means that newaliases won't work since its not the expected
key/value pair of a regular hash:/etc/postfix/aliases file.
When I attempt to do an upgrade, the following happens:
hood:~# apt-cache policy postfix
postfix:
Installed: 2.3.3-1
Candidate: 2.3.3-1
Version table:
2.3.3-4 0
600 http://ftp.us.debian.org unstable/main Packages
*** 2.3.3-1 0
650 http://ftp.us.debian.org testing/main Packages
100 /var/lib/dpkg/status
hood:~# apt-get install postfix
Reading package lists... Done
Building dependency tree... Done
postfix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up postfix (2.3.3-1) ...
Postfix configuration was not changed. If you need to make changes,
edit
/etc/postfix/main.cf (and others) as needed. To view Postfix
configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
postalias: fatal: dict_mkmap_func: unsupported dictionary type: pcre
does not allow map creation.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postfix-pcre:
postfix-pcre depends on postfix; however:
Package postfix is not configured yet.
postfix-pcre depends on postfix (= 2.3.3-1); however:
Package postfix is not configured yet.
dpkg: error processing postfix-pcre (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postfix
postfix-pcre
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for the support,
Eric
http://eric.lubow.org/
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages postfix depends on:
ii adduser 3.97 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.6 Debian configuration management sy
ii dpkg 1.13.22 package maintenance system for Deb
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libdb4.3 4.3.29-6 Berkeley v4.3 Database Libraries [
ii libsasl2 2.1.19.dfsg1-0.5 Authentication abstraction library
ii libssl0.9.8 0.9.8c-3 SSL shared libraries
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
ii netbase 4.25 Basic TCP/IP networking system
ii ssl-cert 1.0.13 Simple debconf wrapper for openssl
Versions of packages postfix recommends:
ii mailx [mail-read 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii mutt [mail-reade 1.5.13-1 text-based mailreader supporting M
-- debconf information excluded
--- End Message ---
--- Begin Message ---
On Thu, Nov 02, 2006 at 01:25:42PM -0500, Eric Lubow wrote:
> What appears to be happening to me is that newaliases is trying to run
> using the proper information obtained from my /etc/postfix/main.cf and
> it isn't working because newaliases builds a map and I have in my
> main.cf:
> alias_maps = pcre:/etc/postfix/aliases
> alias_database = pcre:/etc/postfix/aliases
> postalias: fatal: dict_mkmap_func: unsupported dictionary type: pcre
> does not allow map creation.
you need to have this:
alias_maps = pcre:/etc/postfix/aliases
alias_database =
# The alias_database parameter specifies the alias database(s) that
# are built with "newaliases" or "sendmail -bi". This is a separate
# configuration parameter, because alias_maps (see above) may specify
# tables that are not necessarily all under control by Postfix.
lamont
--- End Message ---