Bug 476295 - Uninstalling glibc-headers breaks glibc-devel dependency
Summary: Uninstalling glibc-headers breaks glibc-devel dependency
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 528340 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-12 21:27 UTC by Michael Schwendt
Modified: 2009-10-11 12:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-08-20 14:08:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.