Hi,

On Tue, Nov 02, 2010 at 05:28:12PM -0600, Greg Woods wrote:
> On Tue, 2010-11-02 at 22:24 +0100, Lars Ellenberg wrote:
> >  
> > > > "ldirectord" package PROVIDES "heartbeat-ldirectord" and
> > > > CONFLICTS with "heartbeat-ldirectord".
> > > > "ldirectord" package' spec has self-conflict.
> > > > 
> > > > This is a patch for the problem.
> > > > --- resource-agents.spec
> > > > +++ resource-agents.spec
> > > > @@ -71,7 +71,6 @@
> > > >  Requires:       %{SSLeay} perl-libwww-perl ipvsadm
> > > >  Provides:      heartbeat-ldirectord
> > > >  Obsoletes:     heartbeat-ldirectord
> > > > -Conflicts:     heartbeat-ldirectord
> > > >  Requires:      perl-MailTools
> > > >  %if 0%{?suse_version}
> > > >  Requires:       logrotate
> > 
> > That's incorrect, to the best of my knowledge.
> > Though I'm certainly not an RPM wizard.
> > 
> > That seems to be "standard procedure" for package name changes.
> > 
> > package used to be named some-package,
> > package is renamed to other-package.
> > other-package now provides, obsoletes, and conflicts with some-package.
> > 
> > If you have a good pointer to some rpm packaging doc saying otherwise,
> > please let us know.
> > 
> 
> 
> I do not claim to be an RPM expert either, I was only repeating what
> someone else said. According to his report, modifications were needed to
> the ldirectord package in order for it to install.
> 
> What I do know is that I cannot install it on my CentOS 5 system even
> though I have made sure that heartbeat-ldirectord is not already
> installed. Here is the result:
> 
> [r...@vmserve2 woods]# yum install ldirectord.x86_64
> Loaded plugins: dellsysid, fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: mirror.ubiquityservers.com
>  * extras: mirrors.versaweb.com
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package ldirectord.x86_64 0:1.0.3-2.6.el5 set to be updated
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ================================================================================
>  Package           Arch          Version               Repository
> Size
> ================================================================================
> Installing:
>  ldirectord        x86_64        1.0.3-2.6.el5         clusterlabs
> 55 k
> Transaction Summary
> ================================================================================
> Install       1 Package(s)
> Upgrade       0 Package(s)
> 
> Total download size: 55 k
> Is this ok [y/N]: y
> Downloading Packages:
> ldirectord-1.0.3-2.6.el5.x86_64.rpm                      |  55 kB
> 00:00     
> Running rpm_check_debug
> ERROR with rpm_check_debug vs depsolve:
> heartbeat-ldirectord conflicts with ldirectord-1.0.3-2.6.el5.x86_64
> Complete!
> (1, [u'Please report this error in
> https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise
> %20Linux%205&component=yum'])

Hardly an RPM expert here, but didn't it ask you to report a
problem with yum? Otherwise, it does behave in a silly way, for
obviously it finds the package in conflict with itself. 

Thanks,

Dejan

> [r...@vmserve2 woods]# rpm -q heartbeat-ldirectord
> package heartbeat-ldirectord is not installed
> 
> I can install heartbeat-ldirectord, but unsurprisingly it does not work
> properly with Pacemaker.
> 
> For now I gave up installing this on the Pacemaker box, and instead
> created a virtual machine, installed heartbeat-ldirectord on it, and
> wrote myself a crude monitoring script. This setup is working.
> 
> --Greg
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to