Re: What is the yum comparison rule?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 15, 2007 at 12:40:46PM -0800, Jonathan Ryshpan wrote:

> I build some of my own package, which I qualify with the distribution
> string ".jon".  For example, I have built 
> 	k3b-debuginfo-0.12.17-1.jon
> 	k3b-extras-nonfree-0.12.17-3.jon
> Yum does not want to update 
> 	k3b-debuginfo-0.12.17-1.jon
> with
> 	k3b-debuginfo-0.12.17-1.fc6
> which is available on one of the repositories I access.
> But does want to update
> 	k3b-extras-nonfree-0.12.17-3.jon
> with
> 	k3b-extras-nonfree-0.12.17-3.lvn6
> 
> What's the best way to prevent this.  Should I use a distribution string
> of ".zzzz"?  Or is there something more reasonable looking?  An epoch?

Adding an epoch will break comparisons till eternity, so you want
to avoid using that for your own packages.

If you want to adapt existing RPMs, better *add* a suffix to the
existing release (3.fc6.jon) i.s.o. replacing the last token.

This may also fail at the moment the distributor adds a token to
the release, but that's why life is not said to be easy... ;-).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux