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.
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1558, in <module>
Application().run()
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 716, in __init__
if self.config["general"]["use_ppas"] == "false":
KeyError: 'general'
Ok, assuming that there isn't a problem with the apt Python files themselves (there could well be, but we'll exhaust other possibilities first), we'll need to temporarily move the non-official repo sources files to another location.
But first,
cd /etc/apt/sources.list.d
Just to check that there are no real oddities in there:
Ok, assuming that there isn't a problem with the apt Python files themselves (there could well be, but we'll exhaust other possibilities first), we'll need to temporarily move the non-official repo sources files to another location.
But first,
cd /etc/apt/sources.list.d
Just to check that there are no real oddities in there:
ls -la
Code:
total 28
drwxr-xr-x 2 root root 4096 Jan 1 10:07 .
drwxr-xr-x 6 root root 4096 Jan 1 10:08 ..
-rw-r--r-- 1 root root 79 Jan 1 10:07 dukto.list
-rw-r--r-- 1 root root 189 Dec 26 21:38 google-chrome.list
-rw-r--r-- 1 root root 120 Dec 26 21:54 numix-ppa-xenial.list
-rw-r--r-- 1 root root 537 Dec 26 21:28 official-package-repositories.list
-rw-r--r-- 1 root root 134 Dec 26 23:15 webupd8team-java-xenial.list
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,647
Rep:
Maybe I'm not really understanding your problem... I'm running Mint 18 and just used the Software Manager to install Kodi. I then searched for Youtube for a video of how find add-ons which I think gives info on repository additions (see 'System' > 'Settings' > 'add ons' > 'Add from Repository' within Kodi for repository info)
Sorry, not a very detailed post but maybe slightly useful?
Apologies, I fell asleep . I performed the above steps but got the same error when attempting to run software-sources
Code:
Application().run()
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 716, in __init__
if self.config["general"]["use_ppas"] == "false":
KeyError: 'general'
Apologies, I fell asleep . I performed the above steps but got the same error when attempting to run software-sources
Code:
Application().run()
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 716, in __init__
if self.config["general"]["use_ppas"] == "false":
KeyError: 'general'
You and me both. Ok, we'll need to dig deeper. My apologies for this.
Same as I have. I think Habitual may be close to the truth - it looks as if Python, apt, and/or software sources are misconfigured somehow. May well be above my pay grade. Re-installing Python would be quite demanding, the other two a little less but involving a number of dependency-related walls to clamber over.
Anyway, in the hope that someone else who knows more than I do comes to the fore, or at least while I mull this over, can you post the output from:
Same as I have. I think Habitual may be close to the truth - it looks as if Python, apt, and/or software sources are misconfigured somehow. May well be above my pay grade. Re-installing Python would be quite demanding, the other two a little less but involving a number of dependency-related walls to clamber over.
Anyway, in the hope that someone else who knows more than I do comes to the fore, or at least while I mull this over, can you post the output from:
lsb_release -a
No problem, thanks for the help so far - at least we've narrowed it down.
Code:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.