On 2.1.2012 18:35, Sam Varshavchik wrote:
> Jani Ollikainen writes:
>
>> On 31.12.2011 1:57, Sam Varshavchik wrote:
>> > Nope – no takers, but I do have a build that I've cobbled together by
>> > putting some of the old initscript-related pieces back in. Try today's
>> > build, caveat emptor.
>>
>> Courier-authlib compiled and rpm installed and seemed to work.
>>
>> Courier package compiled, but there's installation requirement that can
>> not be met.
>>
>> error: Failed dependencies:
>> /bin/chkconfig is needed by courier-0.67.0.20111229-1.el6.i686
>
> That was just a typo, that could've been skipped with --force; but fixed
> now in build 20120102.
First update:
# rpm -Fvh courier*
Preparing... ###########################################
[100%]
1:courier ###########################################
[ 20%]
2:courier-maildrop ###########################################
[ 40%]
3:courier-maildrop-wrappe###########################################
[ 60%]
4:courier-imapd ###########################################
[ 80%]
5:courier-pop3d ###########################################
[100%]
/var/tmp/rpm-tmp.XpQHtO: line 1:
/usr/lib/courier/share/sysconftool-rpmupgrade: No such file or directory
Ok, let's remove them:
# rpm -e courier -e courier-maildrop -e courier-maildrop-wrapper
courier-imapd courier-pop3d
/var/tmp/rpm-tmp.p46L5n: line 5: /bin/systemctl: No such file or directory
And try clean with yum:
# yum -y install courier courier-maildrop courier-maildrop-wrapper
courier-imapd courier-pop3d
Warning: RPMDB altered outside of yum.
Installing : courier-0.67.0.20120102-1.el6.i686
1/5
Installing : courier-maildrop-0.67.0.20120102-1.el6.i686
2/5
Installing : courier-maildrop-wrapper-0.67.0.20120102-1.el6.i686
3/5
Installing : courier-imapd-0.67.0.20120102-1.el6.i686
4/5
Installing : courier-pop3d-0.67.0.20120102-1.el6.i686
5/5
Installed:
courier.i686 0:0.67.0.20120102-1.el6
courier-imapd.i686 0:0.67.0.20120102-1.el6
courier-maildrop.i686 0:0.67.0.20120102-1.el6
courier-maildrop-wrapper.i686 0:0.67.0.20120102-1.el6
courier-pop3d.i686 0:0.67.0.20120102-1.el6
Complete!
Let's try removing again..
# rpm -e courier -e courier-maildrop -e courier-maildrop-wrapper
courier-imapd courier-pop3d
/var/tmp/rpm-tmp.p46L5n: line 5: /bin/systemctl: No such file or directory
Ok, same error. Does yum hide errors. Let's try rpm -Uvh:
# rpm -Uvh
/home/bestis/rpm/RPMS/i686/courier-0.67.0.20120102-1.el6.i686.rpm
/home/bestis/rpm/RPMS/i686/courier-maildrop-0.67.0.20120102-1.el6.i686.rpm
/home/bestis/rpm/RPMS/i686/courier-maildrop-wrapper-0.67.0.20120102-1.el6.i686.rpm
/home/bestis/rpm/RPMS/i686/courier-imapd-0.67.0.20120102-1.el6.i686.rpm
/home/bestis/rpm/RPMS/i686/courier-pop3d-0.67.0.20120102-1.el6.i686.rpm
Preparing... ###########################################
[100%]
1:courier ###########################################
[ 20%]
2:courier-maildrop ###########################################
[ 40%]
3:courier-maildrop-wrappe###########################################
[ 60%]
4:courier-imapd ###########################################
[ 80%]
5:courier-pop3d ###########################################
[100%]
Noup.. That works. Don't know then why the first upgrade failed, but
seems that uninstall has systemctl:
postuninstall scriptlet (using /bin/sh):
if test "$1" = 0 ; then
/usr/sbin/alternatives --remove mta /usr/lib/courier/bin/sendmail
fi
/bin/systemctl daemon-reload || :
if test "$1" != 0
then
/sbin/service courier condrestart >/dev/null 2>&1
fi
But otherwise it seems to work.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users