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.

 

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

find large file

find / -type f -size +100000000c -ls This will list all file located at "/" that...

Installing DBD::mysql from source

wget http://www.cpan.org/modules/by-module/DBD/DBI-1.56.tar.gz tar xvzf DBI-1.56.tar.gz cd...

Can I increase my VPS plan without upgrade my package?

No. The only way you increase your RAM is to upgrade the currect package to a higher package. We...

Hardening Server included

  LSM (Linux Socket Monitoring) installed and configured - Function is to monitor ANY...

Where is the datacenter VPS located?

Windows VPS is located at Colo4Dallas Taxes US BlueSquare UK Linux VPS is...

Powered by WHMCompleteSolution