package postfix 2.5.5-1.1 failed to install/upgrade:

Bug #377571 reported by Harry Durham
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: postfix

E: Postfix subprocess post-installation script return error exit status 75.
E: bsd-malix: dependency problems leaving unconfigured.
Kubuntu 9.04 Jaunty

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage:
 ErrorMessage: subprocess post-installation script returned error exit status 75
NonfreeKernelModules: nvidia
Package: postfix 2.5.5-1.1
SourcePackage: postfix
Title: package postfix 2.5.5-1.1 failed to install/upgrade:
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Harry Durham (durham-harry) wrote :
Revision history for this message
Andreas Olsson (andol) wrote :

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: linux1.hsd1.pa.comcast.net.
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: linux1.hsd1.pa.comcast.net.
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 75
dpkg: dependency problems prevent configuration of bsd-mailx:
 bsd-mailx depends on postfix | mail-transport-agent; however:
  Package postfix is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing bsd-mailx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 postfix
 bsd-mailx
Log ended: 2009-05-13 14:58:30

Perhaps the trailing dot is the problem?

Changed in postfix (Ubuntu):
status: New → Incomplete
Revision history for this message
Harry Durham (durham-harry) wrote : Re: [Bug 377571] Re: package postfix 2.5.5-1.1 failed to install/upgrade:

I'm afraid that I am a virgin newbie! I do not understand what you are trying to tell me! Do I enter something in terminal ? I do remember that I was asked a question about comcast, however, I can't remember where this came from and how to edit it. Can you help me ?
Best Regards!
Harry

________________________________
From: Andreas Olsson <email address hidden>
To: <email address hidden>
Sent: Sunday, May 17, 2009 9:39:46 AM
Subject: [Bug 377571] Re: package postfix 2.5.5-1.1 failed to install/upgrade:

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: linux1.hsd1.pa.comcast.net.
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: linux1.hsd1.pa.comcast.net.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 75
dpkg: dependency problems prevent configuration of bsd-mailx:
bsd-mailx depends on postfix | mail-transport-agent; however:
  Package postfix is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing bsd-mailx (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
postfix
bsd-mailx
Log ended: 2009-05-13 14:58:30

Perhaps the trailing dot is the problem?

** Changed in: postfix (Ubuntu)
       Status: New => Incomplete

--
package postfix 2.5.5-1.1 failed to install/upgrade:
https://bugs.launchpad.net/bugs/377571
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Andreas Olsson (andol) wrote :

Can you type the following commands into the terminal and give me the response? They won't change anything on your system, just list some settings.

$ postconf myhostname
$ cat /etc/hosts
$ cat /etc/hostname

Revision history for this message
Harry Durham (durham-harry) wrote :

$ postconf myhostname linux1.hsd1.pa.comcast.net.
$ cat/etc/hosts no such file or directory
$ cat/etc/hostname no such file or directory
these are the responses

________________________________
From: Andreas Olsson <email address hidden>
To: <email address hidden>
Sent: Monday, May 18, 2009 3:17:01 PM
Subject: [Bug 377571] Re: package postfix 2.5.5-1.1 failed to install/upgrade:

Can you type the following commands into the terminal and give me the
response? They won't change anything on your system, just list some
settings.

$ postconf myhostname
$ cat /etc/hosts
$ cat /etc/hostname

--
package postfix 2.5.5-1.1 failed to install/upgrade:
https://bugs.launchpad.net/bugs/377571
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Chuck Short (zulcss) wrote :

This isnt a postfix problem. It looks like you have bigger problems since you dont have an /etc/hosts or /etc/hostname.

chuck

Changed in postfix (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
EJ Finneran (ej-finneran) wrote :

I think this might be a vaild issue under some circumstances but there is an easy workaround. I looks like the issue with #5 is that he didn't put a space between cat and the file path. I have the same issue with a fresh install and default settings.

The issue is that for a default install, the installer grabs the full comcast domain and puts that with a trailing dot in the /etc/hosts (not sure if that's valid or not) and then by default the postfix package grabs that hostname as the mail hostname.

Here is the output for me:

gitadmin@ubuntu:~$ postconf myhostname
myhostname = ubuntu.hsd1.il.comcast.net.
gitadmin@ubuntu:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 ubuntu.hsd1.il.comcast.net. ubuntu

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
gitadmin@ubuntu:~$ cat /etc/hostname
ubuntu

FIX:

Removing the trailing dot from the myhostname entry in /etc/postfix/main.cf fixes the issue for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.