Some Notes on yum Repositories

Charles Curley


           
        

Revision History
Revision 1.022004-11-23Revised by: c^2
Added some notes for createrepo.
Revision 1.012003-12-19Revised by: c^2
Fixed some spelling errors. Sigh.
Revision 1.002003-12-17Revised by: c^2
First release. Added GFDL and released under it.
Revision 0.032003-11-14Revised by: c^2
Added technique for reading from ISO images.
Revision 0.022003-10-21Revised by: c^2
Added upgrade section
Revision 0.012003-10-07Revised by: c^2
Initial version

With Red Hat Linux being replaced by Fedora Linux, the administrator's motto will have to be (to paraphrase W.C. Fields) "update early and update often". Also, Red Hat's Anaconda installer installs unwanted packages. The first section of this HOWTO deals with the question: How to install and update with a minimal amount of effort and avoid the unwanted packages?

The second part shows how to use a yum repository to upgrade from one version to another.


Table of Contents
1. Introduction
1.1. Copyright Information
1.2. Disclaimers
1.3. New Versions
1.4. Feedback
1.5. Translations
1.6. Introducing Yum
1.7. Installations With Yum
2. Building a Yum Repository
2.1. On the Server
2.1.1. Get The ISO Images
2.1.2. Getting At the Packages
2.1.3. Set Up Your Server
2.1.4. Set Up your Directory Tree
2.1.5. Accessing the Packages
2.1.5.1. Mounting the ISOs
2.1.5.2. Extract the packages
2.1.6. Install Yum
2.1.7. Make the Header Files
2.2. On the Client
2.2.1. Edit Yum.conf
2.2.2. The Smoke Test
2.3. To Do
3. Upgrading Using Yum
3.1. Server
3.2. Client
3.2.1. Back It Up
3.2.2. Clean Out Old Headers
3.2.3. The Update Repository
3.2.4. Get New Headers
3.2.5. Kernel Upgrade
3.2.6. Everything Else
3.2.7. Editing Yum.conf Again
3.2.8. Clean Out Old Headers, Again.
3.2.9. The Smoke Test
4. Resources
A. GNU Free Documentation License
0. PREAMBLE
1. APPLICABILITY AND DEFINITIONS
2. VERBATIM COPYING
3. COPYING IN QUANTITY
4. MODIFICATIONS
5. COMBINING DOCUMENTS
6. COLLECTIONS OF DOCUMENTS
7. AGGREGATION WITH INDEPENDENT WORKS
8. TRANSLATION
9. TERMINATION
10. FUTURE REVISIONS OF THIS LICENSE
11. How to use this License for your documents