Bug 112030 - Should install rpm headers for base distro at distro install time
Summary: Should install rpm headers for base distro at distro install time
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-13 03:08 UTC by Robin Green
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-12-13 21:36:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robin Green 2003-12-13 03:08:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925

Description of problem:
Yum slowly d/ls headers for the base upon first invocation of "yum
update" without any arguments. This is a waste of time, because the
installation process could have installed those headers.

It would be more efficient to just ship a yum-headers.rpm in the
distro so it didn't have to download all these headers from the server
on each machine, and install that rpm by default.

Version-Release number of selected component (if applicable):
2.0.4-2

How reproducible:
Always

Steps to Reproduce:
1. yum update


Actual Results:  It tries to get all the headers in
/var/cache/yum/base/ as well as in /var/cache/yum/updates-released/

Expected Results:  The headers in /var/cache/yum/base/ should have
been preinstalled

Additional info:

Comment 1 Jeff Johnson 2003-12-13 21:36:00 UTC
In principle, yum's cache could have been primed by
preparing a package with all the correct headers, yes.

In reality, packages tend to change too rapidly to keep
a yum-headers package up-to-date. Furthermore, it just changes the
problem of cache priming from slow on yum out-of-box to
slow downloading of the yum-headers package before
running yum for no overall win. Sooner or later the user
needs to populate yum's cache with headers.

The current scheme is more flexible but cruder.

Better solutions are in the the works using xml instead of headers.
WONTFIX until then.


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