Unix/Linux Go Back    

OpenDarwin 7.2.1 - man page for yum.conf (opendarwin section 5)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

yum.conf(5)			      yum configuration file			      yum.conf(5)

       yum.conf - Configuration file for yum(8).

       Yum  uses My program uses a configuration file called yum.conf. This configuration file is
       searched for in the following places:


       There are two types of sections in the yum.conf file: main and server.  Main  defines  all
       the  global  configuration  options.  The  server  section(s)  define the entries for each

[main] options
       The [main] section must exist for yum  to  do  anything.  It  consists  of  the	following

	      directory where yum should store its cache and db files.

	      debug level. valid numbers are 0-10.  default is 2.

	      boolean  -  tells  yum to check for diskspace issues or not default is 1 (so yes do
	      the check)

	      1 or 0 - Tells yum to be tolerant of errors on the  command  line  with  regard  to
	      packages.  For  example:	if  you  request  to  install foo, bar and baz and baz is
	      installed; yum won't error out complaining that baz is already installed.  same  as
	      -t on the command line. Default to 0(not tolerant)

	      debug level. valid numbers are 0-2.  default is 2.

	      Directory to be used to look for the gpg public key ring default is /root/.gnupg

	      alternative keyring filename. Default is use normal keyring location

	      full directory and file name for where yum should write its log file.

	      1  or 0 - tells yum whether or not to prompt you for confirmation of actions.  Same
	      as -y on the command line. Defaults to 0.

	      1 or 0 - tells yum wether or not to replace conflicting files.  Same as -r  on  the
	      command line. Defaults to 0.

	      Default: newest.	Package sorting order.	When a package is available from multiple
	      servers, newest will install the most recent version of  the  package  found.  last
	      will  sort  the  servers	alphabetically by serverid and install the version of the
	      package found on the last server in the resulting list.  If  you	don't  understand
	      the  above  then	you're best left not including this option at all and letting the
	      default occur.

	      list of packages to exclude from updates or installs. This should be a space  sepa-
	      rated list.  Filename globs *,?,., etc are allowed

	      1 or 0 - set to 1 to make yum update only update the architectures of packages that
	      you have installed. IE: with this enabled yum will not install an i686  package  to
	      update an i386 package.

	      list  of	functional commands to run if no functional commands are specified on the
	      command line. ie: commands  = update foo bar baz quux none  of  the  short  options
	      (-y, -e, -d, etc) will be taken in the field.

	      package  to use to determine the "version" of the distribution - can be any package
	      you have installed - defaults to redhat-release.

[server] options
       The server section(s) take the following form:

	      name=Some name for this server

	      must be a unique name for each server, one word.

	      must be a url to the directory  where  the  yum  repository's  'headers'	directory
	      lives.  ftp, http and file urls are allowed

       name   a human readable string describing the repository.

	      either  '1' or '0'. This tells yum whether or not it should perform a gpg signature
	      check on the packages gotten from this server

       There are a number of variables you can use to ease maintenance of the configuration file.
       They are only useful inside the name, baseurl and commands fields in the config file.

	      This  will  be replaced with the value of the version of the package listed in dis-
	      troverpkg. This defaults to the version of the package redhat-release

       $arch  This will be replaced with your architecture as listed by os.uname()[4] in pyhton.

	      This will be replaced with your base architecture as they are listed in archwork.py
	      in yum. For example if your $arch is i686 your $basearch will be i386.

	      These will be replaced with the value of the shell environment variable of the same
	      name. If the shell environment variable does  not  exist	then  they  will  not  be



Seth Vidal									      yum.conf(5)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 06:03 PM.