yum picking kernel-debug instead of kernel for 'BuildRequires: kernel'

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Sun Oct 13 13:38:03 UTC 2013


On Wed, Aug 28, 2013 at 4:53 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Wed, Aug 28, 2013 at 04:13:58PM +0100, Richard W.M. Jones wrote:
>>
>> If two packages 'provide' the same dependency, isn't yum supposed to
>> pick the one with the shortest name?
>>
>> Anyway, 'BuildRequires: kernel' in Rawhide (on koji) picks
>> 'kernel-debug' instead of 'kernel'.  Is there a way to make it pick
>> 'kernel' instead?
>
> And a similar story in Fedora 19 (i686) where this requirement
> picks up 'kernel-PAEdebug' (instead of 'kernel').
>
> Rich.

Hi,

I've a similar problem with mock, if I create a spec that
BuildRequires kernel I end up with kernel-debug in the chroot.

Dridi

> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list