#4264 HIGH 8.2.0 (: Build system should allow to make src/devel/debuginfo available

Zarro Boogs per Child bugtracker at laptop.org
Sat Aug 9 17:30:32 EDT 2008


#4264: Build system should allow to make src/devel/debuginfo available
-------------------------+--------------------------------------------------
   Reporter:  marco      |       Owner:  cscott              
       Type:  defect     |      Status:  new                 
   Priority:  high       |   Milestone:  8.2.0 (was Update.2)
  Component:  distro     |     Version:                      
 Resolution:             |    Keywords:  blocks?:8.2.0       
Next_action:  never set  |    Verified:  0                   
  Blockedby:             |    Blocking:                      
-------------------------+--------------------------------------------------

Comment(by gnu):

 By trolling around the web, I discovered that the relevant debuginfo file
 is here:
 http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/debug/glib2-debuginfo-2.16.5-1.fc9.i386.rpm

 (OLPC pulled this package not from the main F9 release repository, but
 from the F9 updates that occurred since the release.  In general, users
 will have no way to tell whether a package comes from the main repository
 or the updates -- or from an OLPC repository.  They'll apparently have to
 enable all the repositories to find the right debug packages.)

 This "ought to" be brought in by yum when --enable-repo=updates-debug is
 set, or the "enabled=0" in /etc/yum.repos.d/fedora-updates.repo is set to
 1.  But instead it gets an error:

   Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 updates-debuginfo.  Please verify its path and try again


 Aha!  This is because yum gets a $releasever of "8.93", probably because
 /etc/fedora-release
 says "OLPC release 8.93 (Joyride)".  This is substituted into the
 pathnames in /etc/yum.repos.d/* and most of them don't work any more --
 because the right $releasever is "9" for Fedora 9.

 When I uncomment the "baseurl" line under the updates-debuginfo clause,
 and replace "$releasever" with 9, then it works.  If I recomment the
 "baseurl" line and also fix the "$releasever" in the mirrors line, then it
 also works.

 The problem is that Yum doesn't know how to deal with a situation where
 it's pulling files from two different release numbers:  an OLPC release
 and a Fedora release.

 The cure, I think, is to hardcode the Fedora release number in each line
 in /etc/yum.repos.d that refers to a Fedora release:  sed
 's/${releasever}/9/g' on each Fedora repo description.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4264#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list