yum, and 2 packages that provide the same thing

Jeff Spaleta jspaleta at gmail.com
Fri Apr 18 22:02:17 UTC 2008


On Fri, Apr 18, 2008 at 1:43 PM, Stephen Warren
<s-t-rhbugzilla at wwwdotorg.org> wrote:
>  Yes (although I'm not sure if the work "dep" is the correct term for the
>  user parameter passed to "yum install"; "dep" implies a "requires" in an
>  .rpm to me, but I may just be insinuating meaning that isn't there).

there are provides... yum install unison will look at the provides if
a packagename doesn't match the argument.

That being said I don't think your obsoletes are correctly constructed
as Micheal has indicated.

You can dig into this mess several other ways.

repoquery --whatprovides unison
on f8 i get:
unison227-0:2.27.57-7.fc8.2.i386
unison-0:2.13.16-3.fc6.i386

notice how unison213 is not in the list?

repoquery --provides unison227
on f8 i get:
unison = 2.27.57-7.fc8.2
unison227 = 2.27.57-7.fc8.2


repoquery --provides unison213
on f8 i get:
unison213 = 2.13.16-9.fc8.2

notice how unison213 is not listed at providing 'unison'

for even more fun,,,
repoquery --whatobsoletes unison

repoquery --obsoletes unison213


The aggressively versioned obsolete in unison213 is doing its job too well.
I concur with Micheal as to the underlying problem here.

-jef




More information about the fedora-devel-list mailing list