FC3 & YUM - Options Error: Not a boolean: 1

david walcroft david_walcroft at yahoo.com.au
Sun Dec 5 23:29:45 UTC 2004


Laurence Orchard wrote:

>Hi All
>
>I have a problem with YUM & FC3.
>I have just upgraded from FC2 to FC3, I have updated the /etc/yum.conf
>file to read as follows:-
>--------------------------------------------------------------------
>[main]
>cachedir=/var/cache/yum
>debuglevel=2
>logfile=/var/log/yum.log
>pkgpolicy=newest
>distroverpkg=fedora-release
>tolerant=1
>exactarch=1
>
>  [fedora-us-3-core]
>  name=Fedora Core 3 -- Fedora US mirror
>
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.os
>
>
>  [fedora-us-3-updates]
>  name=Fedora Core 3 Updates -- Fedora US mirror
>
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.updates
>
>  [fedora-us-3-extras]
>  name=Fedora Extras for Fedora Core 3 -- Fedora US mirror
>
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.extras
>
># ----------------------end of file---------------------------------
>
>the problem is when I run YUM from the command line I get:-
>
>[root at athlon etc]# yum check-update
>Options Error: Not a boolean: 1
>[fedora-us-3-core]
>name=Fedora Core 3 -- Fedora US mirror
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.os
>[fedora-us-3-updates]
>name=Fedora Core 3 Updates -- Fedora US mirror
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.updates
>[fedora-us-3-extras]
>name=Fedora Extras for Fedora Core 3 -- Fedora US mirror
>baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.extras
>
>    Usage:  yum [options] < update | install | info | remove | list |
>            clean | provides | search | check-update | groupinstall |
>            groupupdate | grouplist | groupinfo | groupremove |
>generate-rss |
>            makecache | localinstall >
>
>        Options:
>        -c [config file] - specify the config file to use
>        -e [error level] - set the error logging level
>        -d [debug level] - set the debugging level
>        -y - answer yes to all questions
>        -R [time in minutes] - set the max amount of time to randomly
>run in
>        -C run from cache only - do not update the cache
>        --installroot=[path] - set the install root (default '/')
>        --version - output the version of yum
>        --rss-filename=[path/filename] - set the filename to generate
>rss to
>        --exclude=package to exclude
>        --disablerepo=repository id to disable (overrides config file)
>        --enablerepo=repository id to enable (overrides config file)
>
>        -h, --help  - this screen
>
>[root at athlon etc]#
>
>
>I am running :-
>kernel-2.6.9-1.667
>yum=2.1.11-3
>
>Anyone got any ideas???
>
>Laurence
>
>  
>
It means what it states 'Options Error' some where in yum.conf/yum.repos is
an option ie: 'enable , gpgcheck' without a boolean '0' '1'

david

















More information about the fedora-list mailing list