[Bug 430962] Re: package courier-mta (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Lyle Dietz ritterwolf at gmail.com
Sat Nov 14 06:21:20 UTC 2009


The problem seems to stem from the fact that one of the courier packages
creates the /var/run/courier directory, and it is owned by root.

I fixed it with the folowwing:

Edit the /etc/init.d/courier-mta script.

Change:

if [ ! -d ${run_dir} ]; then
        mkdir -p ${run_dir}
        chown daemon:daemon ${run_dir}
fi

To:

if [ ! -d ${run_dir} ]; then
        mkdir -p ${run_dir}
fi

chown daemon:daemon ${run_dir}

Then re-run aptitude, and process any changes (which will just configure
the courier stuff)

-- 
package courier-mta (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/430962
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list