postfix failed to install under ubuntu

Iain Young iain at g7iii.net
Thu Jan 1 23:03:21 UTC 2009


You need to run "apt-get update"

Then run apt-get "install postfix" again, and you should be fine.

Most likely there has been a postfix update in the repo since
you last did the "update". Either that, or the particular mirror
you are using is out of date.



Iain



Peter wrote:
> 
> 
> --- On Thu, 1/1/09, Heike C. Zimmerer <nospam08q2 at gmx.net> wrote:
> 
>> From: Heike C. Zimmerer <nospam08q2 at gmx.net>
>> Subject: Re: postfix failed to install under ubuntu
>> To: ubuntu-users at lists.ubuntu.com
>> Date: Thursday, January 1, 2009, 2:59 AM
>> Peter <pcpc168 at sbcglobal.net> writes:
>>
>>> running the command "dpkg -i
>> postfix_2.3.3-1_amd64.deb", it prompts a
>>> text screen with "OK" button, but there is
>> no way to move the mouse to
>>> OK button to click, typing "Enter" is
>> useless as well.  I have to kill
>>> the process eventually.  (note: I use ssh to login to
>> install).
>>> any suggestions to do it correctly?
>> Use TAB to move between fields, ENTER to accept.
> 
> Thanks. TAB works, however,  get the new errors in processing.
> 
> # dpkg -i postfix_2.3.3-1_amd64.deb
> (Reading database ...
> dpkg: serious warning: files list file for package `postfix' missing, assuming package has no files currently installed.
> 32610 files and directories currently installed.)
> Preparing to replace postfix 2.3.3-1 (using postfix_2.3.3-1_amd64.deb) ...
> grep: /etc/postfix/master.cf: No such file or directory
> sed: can't read /etc/postfix/master.cf: No such file or directory
> dpkg: error processing postfix_2.3.3-1_amd64.deb (--install):
>  subprocess pre-installation script returned error exit status 2
> Errors were encountered while processing:
>  postfix_2.3.3-1_amd64.deb
> #
> 
> 
> I am not sure why apt-get doesn't work.
> 
> # apt-get install postfix
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
>   postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf
> Recommended packages:
>   mail-reader
> The following packages will be upgraded:
>   postfix
> 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 1 not fully installed or removed.
> Need to get 1139kB of archives.
> After unpacking 2773kB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   postfix
> Err http://us.archive.ubuntu.com edgy/main postfix 2.3.3-1
>   404 Not Found [IP: 91.189.88.46 80]
> Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/postfix/postfix_2.3.3-1_amd64.deb  404 Not Found [IP: 91.189.88.46 80]
> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
> 
> 
> Peter
> 





More information about the ubuntu-users mailing list