When I try to sudo add-apt-repository <any>, I get this error:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1387, in <module>
codename = config_parser.get("general", "base_codename")
File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'
How can I fix this?
Could it have been caused by my switching python to python3?
(Now python --version is Python 3.5.1 and python2 --version is Python 2.7.6)