[Bug 340404] Re: package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-03-12 Thread Mathias Gug
Correct. You need to purge a package to remove its configuration.

Removing a package will leave the configuration files around. If you
delete them by hand, the system doesn't know about it and will assume
they're still around when you try to reinstall the package.

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

-- 
package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1
https://bugs.launchpad.net/bugs/340404
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 340404] Re: package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-03-12 Thread Nuhaa All Bakry
yeap i did install and reinstall it. when i uninstalled the second time, i
'apt-get remove postfix' and then i manually deleted /etc/postfix directory.
then i reinstalled it 'apt-get install postfix', gave no error but when it
tried to start, it failed.

so i followed your directions (apt-get --purge remove postfix) and
reinstalled it and it's working fine now. i guess when it failed ealier it
was because of missing /etc/postfix? i was hoping that when i reinstalled it
would recreate the whole directory but it didn't in my case?


On Tue, Mar 10, 2009 at 7:42 PM, Imre Gergely  wrote:

> I'm not sure what you were trying to do exactly. As far as I can tell
> for the dkpg logs, you removed postfix twice, then you reinstalled it,
> and at the last reinstall it wouldn't start. Did you change anything in
> /etc/postfix ? Is that directory even there? Did you remove the
> directory after uninstalling the postfix package?
>
> Try moving the directory /etc/postfix, like mv /etc/postfix
> /etc/postfix.backup, then purging the postfix packages with 'apt-get
> --purge remove postfix', then reinstalling it. See if you get this same
> error again.
>
> Maybe try to describe what you were trying to do, what commands did you
> run. Would be helpful.
>
> --
> package postfix 2.5.5-1 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/340404
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “postfix” source package in Ubuntu: New
>
> Bug description:
> Binary package hint: postfix
>
> $ lsb_release -rd
> Description:Ubuntu 8.10
> Release:8.10
>
> $ apt-cache policy postfix
> postfix:
>  Installed: 2.5.5-1
>  Candidate: 2.5.5-1
>  Version table:
>  *** 2.5.5-1 0
>500 http://mirror.oscc.org.my intrepid/main Packages
>100 /var/lib/dpkg/status
>
> should be able to start the service after installation but this error came
> out instead:
> $ sudo /etc/init.d/postfix start
>  * Starting Postfix Mail Transport Agent postfix
> postfix: fatal: /etc/postfix/postfix-script: No such file or directory
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> Package: postfix 2.5.5-1
> SourcePackage: postfix
> Title: package postfix 2.5.5-1 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> Uname: Linux 2.6.27-11-generic i686
>

-- 
package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1
https://bugs.launchpad.net/bugs/340404
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 340404] Re: package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-03-10 Thread Imre Gergely
I'm not sure what you were trying to do exactly. As far as I can tell
for the dkpg logs, you removed postfix twice, then you reinstalled it,
and at the last reinstall it wouldn't start. Did you change anything in
/etc/postfix ? Is that directory even there? Did you remove the
directory after uninstalling the postfix package?

Try moving the directory /etc/postfix, like mv /etc/postfix
/etc/postfix.backup, then purging the postfix packages with 'apt-get
--purge remove postfix', then reinstalling it. See if you get this same
error again.

Maybe try to describe what you were trying to do, what commands did you
run. Would be helpful.

-- 
package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1
https://bugs.launchpad.net/bugs/340404
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 340404] Re: package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-03-10 Thread Nuhaa All Bakry

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/23696995/Dependencies.txt

** Attachment added: "DpkgTerminalLog.gz"
   http://launchpadlibrarian.net/23696997/DpkgTerminalLog.gz

-- 
package postfix 2.5.5-1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1
https://bugs.launchpad.net/bugs/340404
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs