glibc-headers RPM bug? (was: Re: Kernel dependency issues)

Seth Vidal skvidal at fedoraproject.org
Fri Dec 12 20:01:26 UTC 2008



On Fri, 12 Dec 2008, Michael Schwendt wrote:

> On Fri, 12 Dec 2008 12:13:21 -0500, Christopher wrote:
>
>>> I'm surprised one can "rpm -e glibc-headers" while keeping glibc-devel
>>> That looks a bit strange.
>>
>> I'll leave you to file a bug on that if you think it's wrong.
>
> If it were that easy:
>
>  $ rpm -qR glibc-devel|grep ^glib
>  glibc = 2.9-2
>  glibc-headers = 2.9-2
>
> So, glibc-devel requires glibc-headers.
>
>  $ rpm -q --provides glibc-headers
>  glibc-headers(i386)
>  glibc-headers = 2.9-2
>  glibc-headers(x86-32) = 2.9-2
>
>  $ rpm -q --whatprovides glibc-headers
>  glibc-headers-2.9-2.i386
>
>  $ sudo rpm -e glibc-headers
>
> Uh? That should not have been possible, because now:
>
>  $ rpm -V glibc-devel
>  Unsatisfied dependencies for glibc-devel-2.9-2.i386:
>          glibc-headers = 2.9-2 is needed by glibc-devel-2.9-2.i386
>
> Can anyone reproduce this? Surely I cannot file a bug about glibc. This
> looks more like a bug in RPM. F10 here, btw.

it's a Requires(Pre) thats allowing it to happen.

Try it with xorg-x11-filesystem

rpm -e xorg-x11-filesystem
rpm -Va --nofiles --nomd5

notice the broken deps :(

-sv




More information about the fedora-test-list mailing list