preupg fails with ValueError: invalid literal for int() with base 10: 'False' or 'True'

Solution Verified - Updated -

Issue

Traceback (most recent call last):
File "/root/preupgrade/RHEL6_7/system/repositories/check", line 99, in
main()
File "/root/preupgrade/RHEL6_7/system/repositories/check", line 93, in main
hrf.check_repos()
File "/root/preupgrade/RHEL6_7/system/repositories/check", line 68, in check_repos
if not cfp.has_option(section, 'enabled') or int(cfp.get(section, 'enabled')):
ValueError: invalid literal for int() with base 10: 'False'

Environment

Red Hat Enterprise Linux 6
RHEL 6 to 7 upgrade

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In