Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been experiencing issues when trying to add the Kodi repository to Linux Mint. I have followed the instructions here [http://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux] and this is what terminal keeps sending back:
Code:
xx@xx ~ $ sudo apt-get install software-properties-common
[sudo] password for xx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (1.6.4).
0 to upgrade, 0 to newly install, 0 to remove and 29 not to upgrade.
xx@xx ~ $ sudo add-apt-repository ppa:team-xbmc/ppa
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1551, 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'
Found similar errors people have reported via a Google search but the solutions were for older versions or different distros of Linux. Anyone have any ideas?
Many Thanks
Last edited by dissposablehero; 02-15-2017 at 11:01 AM.
Reason: solution found
it seems there's something wrong with your sources.
could be /etc/apt/sources* or something else.
the program complains that there's no section "general".
it seems there's something wrong with your sources.
could be /etc/apt/sources* or something else.
the program complains that there's no section "general".
are you regularly updating/grading?
have you added fishy sources?
To be honest its a fairly new install, I followed a guide "20 things to do after installing Mint" but it was basically "install Thunderbird, Chrome" etc. I dont recall adding anything one would consider fishy.
Can you please paste the output from inxi -r so that we can see which repositories you have set up.
Code:
Repos: Active apt sources in file: /etc/apt/sources.list.d/dukto.list
deb http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/ /
Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt sources in file: /etc/apt/sources.list.d/numix-ppa-xenial.list
deb http://ppa.launchpad.net/numix/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/numix/ppa/ubuntu xenial main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages serena main upstream import backport
deb http://mirror.sov.uk.goscomb.net/ubuntu xenial main restricted universe multiverse
deb http://mirror.sov.uk.goscomb.net/ubuntu xenial-updates main restricted universe multiverse
deb http://mirror.sov.uk.goscomb.net/ubuntu xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Active apt sources in file: /etc/apt/sources.list.d/webupd8team-java-xenial.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
Thanks for the help so far. Got the same error - looks the same anyway:
Code:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1551, 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'
Thanks for the help so far. Got the same error - looks the same anyway:
Code:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1551, 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'
:-) Bizarre. For info, it worked ok on my Mint system. Can you run Software Sources, uncheck all the sources in the PPAs and Additional Repositories sections, close Software Sources, and then try running the add-apt-repository command again?
:-) Bizarre. For info, it worked ok on my Mint system. Can you run Software Sources, uncheck all the sources in the PPAs and Additional Repositories sections, close Software Sources, and then try running the add-apt-repository command again?
I cant seem to load "Software Sources" it asks for my password, I click OK and the box disappears but nothing pops up. Did a reboot and tried again but no dice.
I cant seem to load "Software Sources" it asks for my password, I click OK and the box disappears but nothing pops up. Did a reboot and tried again but no dice.
Can you run software-sources from the command line? Please paste any error messages if it fails.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.