Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Cyber Angels

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 61 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       rpmcache [ PACKAGE_NAME ... ]


       rpmcache  walks  a file tree, possibly remotely using FTP,
       filtering paths using  glob(7)  expressions,  reading  rpm
       package   headers.  The  latest  (i.e.  comparing  package
       epoch/version/release  for  identical  package  names  and
       using the build time as a tie breaker) package headers, if
       they are unique, are cached in an rpm database.   The  rpm
       database  cache  can be used to provide suggested paths to
       packages that resolve unknown dependencies.

       There are no rpmcache specific options,  only  common  rpm
       options.   See the rpmcache usage message for what is cur­
       rently implemented.

       The file tree path to be searched is configured using  rpm
       macros.  The final path is the concatentaion of 5 individ­
       ual elements. Here are the macro names used  to  configure
       rpmcache, in the same order that they will be concatenated
       to build the file tree path that will be walked:

              The "path" level contains the leading part  of  the
              file  tree  path  (or  URL) for the file tree to be
              walked.  No glob(7) expressions, here, please.

              The  "collection"  level  contains  a  string   (or
              glob(7)  expression)  to  match  sub-directories of

       %_bhN  The "name" level  contains  a  string  (or  glob(7)
              expression)  to  match sub-directories of %_bhcoll.
              The PACKAGE_NAME arguments are used to construct  a
              glob(7)  expression that will match any of specific
              package names within the Red Hat build system,  and
              are  almost  certainly not of use to anyone outside
              of Red Hat.

       %_bhVR The "version-release" level contains a  string  (or
              glob(7)  expression)  to  match  sub-directories of

       %_bhA  The "arch" level  contains  a  string  (or  glob(7)
              expression) to match sub-directories of %_bhVR.

       The  location  of  the  cache  database is also configured
       using an rpm macro:
              vide suggested dependency resolutions.

   Example (minimal) configuration for a Red Hat beehive tree:
       %_cache_dbpath  /var/spool/up2date/cache
       %_solve_dbpath  %{_cache_dbpath}
       %_bhpath        file://localhost/mnt/redhat/beehive/comps/dist
       %_bhcoll        7.3
       %_bhN           @(basesystem|bash|filesystem|glibc-common|glibc|ldconfig|libtermcap|mktemp|setup|termcap)
       %_bhVR          *
       %_bhA           @(i[3456]86|noarch)

   Example (minimal) configuration for a Red Hat FTP tree:
       %_cache_dbpath  /var/spool/up2date/cache
       %_solve_dbpath  %{_cache_dbpath}
       %_bhpath        ftp://localhost/mnt/dist
       %_bhcoll        @(7.3|7.2|7.1|7.0|6.2|6.1|6.0|5.2|5.1|5.0)
       %_bhN           @(%{_arch})
       %_bhVR          *
       %_bhA           @(i[3456]86|noarch)


       Yup.  Please  file  bug reports and RFE's against the rpm-
       devel package using bugzilla:  http://bugzilla.redhat.com/


       rpm(8), glob(7),

        http://www.rpm.org/ <URL:http://www.rpm.org/>


       Jeff Johnson <jbj@redhat.com>

Red Hat, Inc.              05 July 2002               RPMCACHE(8)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds