[Yum] failover ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The next run will use the file://... repositories/
> 
> The config file looks like this:
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> failover=priority
> 
> [base]
> name=$YUM2 Red Hat Linux $releasever base
> baseurl=file:///icarus/mirrors/ftp/pub/yum-repository/redhat/$releasever/$basearch/
>     ftp://ftp.my.com/pub/yum-repository/redhat/$releasever/$basearch/
> gpgcheck=1

check out the yum.conf man page.

failover is not a configuration setting under [main] it's not a config
setting anywhere

it's failovermethod=

and it lives under each listed repository

ie:
[base]
name=some name
baseurl=url://foo
        url://foo2
        url://foo3
failovermethod=priority

see if that works.

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux