[Yum] What means: Not an install only pkg, adding to ts

Enrique Perez-Terron enrique.perez-terron at norway.online.no
Wed Jul 7 12:05:23 UTC 2004


I ran yum update today, and I have two questions:

The run ended with the following output:

  ...
  making available: ddd
  Resolving dependencies
  Updating: xorg-x11-xauth, i386
  localhdrpath= /var/cache/yum/updates-released/headers/xorg-x11-xauth-0-6.7.0-5.i386.hdr for xorg-x11-xauth i386
  Not an install only pkg, adding to ts

What does that mean?

Second, I have failovermethod=priority, but it appears that yum starts
with the last url for the depository, rather than the first. My
/etc/yum.conf starts like this:

  [main]
  cachedir=/var/cache/yum
  debuglevel=3
  logfile=/var/log/yum.log
  pkgpolicy=newest
  distroverpkg=fedora-release
  tolerant=1
  exactarch=1
  retries=2
  failovermethod=priority
 
  [base]
  name=Fedora Core $releasever - $basearch - Base
  baseurl=ftp://sunsite.uio.no/linux/Fedora/core/$releasever/$basearch/os/
    ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/fedora-core/$releasever/$basearch/os/
    http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
 
  [updates-released]
  name=Fedora Core $releasever - $basearch - Released Updates
  baseurl=ftp://sunsite.uio.no/linux/Fedora/core/updates/$releasever/$basearch/
    http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
  
(I had debuglevel=8 when I ran yum, changed it to 3 afterwards.)

The output from the run started like this:

  # yum update
  Gathering header information file(s) from server(s)
  Server: Fedora Core 2 - i386 - Base
  CacheDir: /var/cache/yum/base
  Getting header.info from server
  failover: baseURL = http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^   (my underscoring)
  failover: path = headers/header.info
  headerinfofn: /var/cache/yum/base/header.info
  Server: Fedora Core 2 - i386 - Released Updates
  CacheDir: /var/cache/yum/updates-released
  Getting header.info from server
  failover: baseURL = http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/i386/
  failover: path = headers/header.info
  headerinfofn: /var/cache/yum/updates-released/header.info

How can I make yum use the mirror at sunsite.uio.no if available, and only resort to
download.fedora.redhat.com if there is no other choice?

Regards,
Enrique




More information about the Yum mailing list