Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-13-2017, 03:05 PM
|
#1
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Rep:
|
Issue adding Kodi Repository [Linux Mint]
###Solution on Post 34!!###
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
|
|
|
02-13-2017, 03:23 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Code:
mintSources: 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?
|
|
|
02-13-2017, 03:28 PM
|
#3
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by ondoho
Code:
mintSources: 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.
|
|
|
02-13-2017, 04:02 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Use command line to change ppa?
https://help.ubuntu.com/community/Re...es/CommandLine
It may be that you have to add in python-software-properties
sudo apt-get install
Not sure if apt or apt-get is part of the deal.
|
|
|
02-13-2017, 04:02 PM
|
#5
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Can you please paste the output from inxi -r so that we can see which repositories you have set up.
|
|
|
02-13-2017, 04:10 PM
|
#6
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by hydrurga
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
|
|
|
02-13-2017, 04:22 PM
|
#7
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Ok, thanks. Looks good to me, although that first dukto one is in a form I've never seen before.
So, let's bring your system up to date before addressing the Kodi problem.
apt update
apt upgrade
Please paste any errors.
|
|
|
02-13-2017, 04:32 PM
|
#8
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by hydrurga
Ok, thanks. Looks good to me, although that first dukto one is in a form I've never seen before.
So, let's bring your system up to date before addressing the Kodi problem.
apt update
apt upgrade
Please paste any errors.
|
For apt update I saw this at the end:
Code:
W: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/Release.gpg: Signature by key 1A2E38D61775C3963A039A87E3757B8E0D988D6E uses weak digest algorithm (SHA1)
For apt upgrade:
Code:
Warning: No support for locale: en_GB.utf8
Code:
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
|
|
|
02-13-2017, 04:45 PM
|
#9
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Ok. Let's try adding the ppa again:
sudo add-apt-repository ppa:team-xbmc/ppa
|
|
|
02-13-2017, 04:51 PM
|
#10
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Hi hydrurga,
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'
|
|
|
02-13-2017, 04:54 PM
|
#11
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by dissposablehero
Anyone have any ideas?
|
"Linux Mint" = Ihaztoaster.
Instructions:
https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa
Last edited by Habitual; 02-13-2017 at 04:58 PM.
|
|
|
02-13-2017, 04:56 PM
|
#12
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Code:
System: Host: HPProbook Kernel: 4.4.0-62-generic x86_64 (64 bit)
Desktop: Cinnamon 3.2.7 Distro: Linux Mint 18.1 Serena
|
|
|
02-13-2017, 05:00 PM
|
#13
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by dissposablehero
Hi hydrurga,
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?
|
|
|
02-13-2017, 05:09 PM
|
#14
|
Member
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by hydrurga
:-) 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.
|
|
|
02-13-2017, 05:11 PM
|
#15
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by dissposablehero
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.
|
|
|
All times are GMT -5. The time now is 09:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|