Nocser Technology
Please Login or Register

Knowledgebase

Yum update errors - Invalid boolean

This is the error when doing yum update

---Options Error: Error parsing 'gpgcheck': invalid boolean value


Login as root
 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 there is something other than 0 or 1 you can just fix it by hand with your favourite editor as root and save.

 



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Format Hard Drive (Views: 235)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter