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

 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

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

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

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

  

rpmcache



SYNOPSIS

       rpmcache [ PACKAGE_NAME ... ]


DESCRIPTION

       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:

       %_bhpath
              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.

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

       %_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
              %_bhN.

       %_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)


BUGS

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


SEE ALSO

       rpm(8), glob(7),

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


AUTHORS

       Jeff Johnson <jbj@redhat.com>

Red Hat, Inc.              05 July 2002               RPMCACHE(8)
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

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?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



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.08 Seconds