LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-13-2017, 04:05 PM   #1
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Rep: Reputation: 6
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 12:01 PM. Reason: solution found
 
Old 02-13-2017, 04:23 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
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?
 
Old 02-13-2017, 04:28 PM   #3
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by ondoho View Post
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.
 
Old 02-13-2017, 05:02 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016Reputation: 3016
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.
 
Old 02-13-2017, 05:02 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Can you please paste the output from inxi -r so that we can see which repositories you have set up.
 
Old 02-13-2017, 05:10 PM   #6
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by hydrurga View Post
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
 
Old 02-13-2017, 05:22 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
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.
 
Old 02-13-2017, 05:32 PM   #8
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by hydrurga View Post
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.
 
Old 02-13-2017, 05:45 PM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Ok. Let's try adding the ppa again:

sudo add-apt-repository ppa:team-xbmc/ppa
 
Old 02-13-2017, 05:51 PM   #10
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
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'
 
Old 02-13-2017, 05:54 PM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by dissposablehero View Post
Anyone have any ideas?
"Linux Mint" = Ihaztoaster.

Instructions:
https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa

Last edited by Habitual; 02-13-2017 at 05:58 PM.
 
Old 02-13-2017, 05:56 PM   #12
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
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
 
Old 02-13-2017, 06:00 PM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by dissposablehero View Post
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?
 
Old 02-13-2017, 06:09 PM   #14
dissposablehero
Member
 
Registered: Nov 2007
Distribution: Mint/Ubuntu/Elementary
Posts: 35

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by hydrurga View Post
:-) 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.
 
Old 02-13-2017, 06:11 PM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by dissposablehero View Post
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.
 
  


Reply

Tags
mint-18


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kodi freezes on exit, kodi.bin won't die pressman57 Linux - Software 6 12-19-2016 08:48 PM
Crash Log Issue (Kodi) iHateErrors Linux - Newbie 0 03-07-2016 08:44 AM
Issue adding multiple DNS servers on Linux Mint lamic Linux - Networking 3 09-02-2015 06:11 PM
Ubuntu Maverick live CD repository packages not found / adding packages to repository phed0ra Linux - Newbie 1 01-10-2012 04:00 AM
Arch linux repository issue WinterMadness Linux - Software 8 03-04-2010 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration