Bug 476295

Summary: Uninstalling glibc-headers breaks glibc-devel dependency
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 10CC: jakub, matt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-20 14:08:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2008-12-12 21:27:22 UTC
https://www.redhat.com/archives/fedora-test-list/2008-December/msg00426.html
(originally bug 476275 and closed duplicate of bug 223642)

  $ 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

As Seth's message adds, it's "Requires(pre)" for this dependency
on glibc-headers. That's true according to the glibc.spec file.

Bug 223642 explains the RPM semantics and the suggested fix:
"Requires: glibc-headers" in glibc-devel would need to be added to fix this.

Comment 1 Andreas Schwab 2009-08-20 14:08:57 UTC
Fixed in 2.10.90-1.

Comment 2 Matt McCutchen 2009-10-11 12:18:52 UTC
*** Bug 528340 has been marked as a duplicate of this bug. ***