LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-07-2006, 07:07 PM   #1
tommy12
LQ Newbie
 
Registered: Aug 2006
Location: usa
Distribution: suse10.1;fedora c-5;pclinuxos
Posts: 16

Rep: Reputation: 0
Question Yum update errors??? Invalid boolean???


This is the error i get when i do a yum update---Options Error: Error parsing 'gpgcheck': invalid boolean value

usage: yum [options] < update | install | info | remove | list |
clean | provides | search | check-update | groupinstall |
groupupdate | grouplist | groupinfo | groupremove |
makecache | localinstall | erase | upgrade | whatprovides |
localupdate | resolvedep | shell | deplist >

options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
--exclude=[package] exclude package(s) by name or glob
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
What does this mean? How do i fix it?
 
Old 09-07-2006, 08:30 PM   #2
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
probably one of your repo files has a typo....

Code:
grep gpgcheck /etc/yum.repos.d/*
that will spit out a list of files, after each file the gpgcheck result...

you should only have either:
gpgcheck=0
or
gpgcheck=1

Anything else is an invalid boolean value
if you find one that is something other than 0 or 1 you can just fix it by hand with your favourite editor as root and save.
 
Old 09-08-2006, 08:55 AM   #3
tommy12
LQ Newbie
 
Registered: Aug 2006
Location: usa
Distribution: suse10.1;fedora c-5;pclinuxos
Posts: 16

Original Poster
Rep: Reputation: 0
Question All the gpg checks have a 1 or 0

I followed your advice showing----/etc/yum.repos.d/dries.repo:gpgcheck=1dries]
/etc/yum.repos.d/dries.repo~:gpgcheck=1dries]
/etc/yum.repos.d/dries.repo~:gpgcheck=1
/etc/yum.repos.d/fedora-core.repo:gpgcheck=1
/etc/yum.repos.d/fedora-core.repo:gpgcheck=1
/etc/yum.repos.d/fedora-core.repo:gpgcheck=1
/etc/yum.repos.d/fedora-development.repo:gpgcheck=0
/etc/yum.repos.d/fedora-development.repo:gpgcheck=0
/etc/yum.repos.d/fedora-development.repo:gpgcheck=0
/etc/yum.repos.d/fedora-extras-development.repo:gpgcheck=1
/etc/yum.repos.d/fedora-extras-development.repo:gpgcheck=1
/etc/yum.repos.d/fedora-extras-development.repo:gpgcheck=1
/etc/yum.repos.d/fedora-extras.repo:gpgcheck=1
/etc/yum.repos.d/fedora-extras.repo:gpgcheck=1
/etc/yum.repos.d/fedora-extras.repo:gpgcheck=1
/etc/yum.repos.d/fedora-legacy.repo:gpgcheck=1
/etc/yum.repos.d/fedora-legacy.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates-testing.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates-testing.repo:gpgcheck=1
/etc/yum.repos.d/fedora-updates-testing.repo:gpgcheck=1
/etc/yum.repos.d/freshrpms.repo:gpgcheck=1
/etc/yum.repos.d/livna.repo:gpgcheck=1
/etc/yum.repos.d/macromedia.repo:gpgcheck=1
/etc/yum.repos.d/macromedia.repo:gpgcheck=1
/etc/yum.repos.d/macromedia.repo~:gpgcheck=1
 
Old 09-08-2006, 09:01 AM   #4
tommy12
LQ Newbie
 
Registered: Aug 2006
Location: usa
Distribution: suse10.1;fedora c-5;pclinuxos
Posts: 16

Original Poster
Rep: Reputation: 0
Some of these look like duplicates, possibly where i had trouble during config. The power went out twice while configing my system, thanks to TS Ernesto. If these are duplicates, would they cause problems? And obivously if so i should ammend the repo list accordingly? By the way hollywoodb thanks abunch.

Last edited by tommy12; 09-08-2006 at 09:02 AM.
 
Old 09-08-2006, 02:00 PM   #5
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Quote:
Originally Posted by tommy12
I followed your advice
/etc/yum.repos.d/dries.repo:gpgcheck=1dries]
/etc/yum.repos.d/dries.repo~:gpgcheck=1dries]
Both of those are wrong

See, instead of '0' or '1', they both have '1dries]'

the duplicates are fine, some repo files list more than one repo inside of them, and each entry will have its own 'gpgcheck' value. No need to worry about that... You do have a couple of *.repo~ files (they end with '~'), you can delete those since they aren't doing anything. By default when you edit something with vim it leaves behind the pre-edited file with a '~' on the end.

I would remove
/etc/yum.repos.d/dries.repo~
(ends in ~ and the dries.repo file is the other one (below))

and fix
/etc/yum.repos.d/dries.repo
which is that actual dries repo file and has the '1dries]' instead of '1'. There may be other typos in that file, maybe not, but the invalid gpgcheck error you're getting is because of this one.

Also, you have:
/etc/yum.repos.d/macromedia.repo
and can delete:
/etc/yum.repos.d/macromedia.repo~:gpgcheck=1

if you wish
 
Old 09-08-2006, 03:55 PM   #6
tommy12
LQ Newbie
 
Registered: Aug 2006
Location: usa
Distribution: suse10.1;fedora c-5;pclinuxos
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks dude. You don,t known how much i appreciate the help. I would never make it w/o help from the community. Really loving an learning Linux.--------- Now i have an e-mail problem i have posted in several different forums {not all on this site},it's only on my fedora box that i can,t send mail???? Everything is configed the same, neither tbird or evolution will send. They can recieve. This is the error tbird gives "The message could not be sent b/c connecting to smpt server failed. The server may be unavaible or is refusing smpt conn. Please verify setting is correct and try again, or else contact your system admin.

Last edited by tommy12; 09-08-2006 at 03:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
Yum update errors gnjunior Fedora 4 01-17-2006 06:55 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
yum update and up2date errors djljjm Linux - Newbie 1 02-12-2005 01:59 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration