LinuxQuestions.org
Help answer threads with 0 replies.
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 07-17-2017, 02:44 PM   #1
nick094
LQ Newbie
 
Registered: Jul 2017
Posts: 8

Rep: Reputation: Disabled
Adding PPA in Kali Linux


Hello guys,

I'm having hard time trying add PPA files. I believe i spent waay to much time trying to make it work, so I'm asking for help now.

I'm receiving the following error:

Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling

Please share some tutorial that worked for you ( hope it's allowed to share links in here ). Many thanks
 
Old 07-17-2017, 03:02 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
PPA's are for Ubuntu. Kali is not based on Ubuntu. Therefore, PPA's are not recommended for Kali.

Which specific software application are you trying to install?
 
Old 07-17-2017, 03:04 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.2, 15.0, current, slackware-arm-currnet
Posts: 6,135

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
A quick search told me a PPA file is a Windows power point add in. Is that correct? From what I have read, you open these files with power point.

If yes, how does this relate to Linux? You would be best advised to ask on a windows forum.

Kali, really? That is a distro intended for penetration testing, not an every day desktop distro. You should be an advanced network tester to even consider using it.
 
Old 07-17-2017, 03:24 PM   #4
nick094
LQ Newbie
 
Registered: Jul 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
I was referring to Personal Package Archives. I'm not sure was this a joke or not lol
I'm aware of what the Kali Linux is used for, i just want to be able to add PPA's to Kali Linux system, that's all. I would be able to do that if i would use other distributions, I understand.

Snowpine, i'm trying to add e Calibre's ( e-book reader ) private repository to my system and then to install it. It's just exercise from the book i'm reading.
 
Old 07-17-2017, 05:21 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
From the first google hit:

Quote:
Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.
 
2 members found this post helpful.
Old 07-17-2017, 06:46 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
There is a version of Calibre in kali-rolling according to http://pkg.kali.org/pkg/calibre. It's rather an old version but it has been okayed by the Kali developers and that is one of the crucial aspects when running Kali. The distro keeps things tight for a reason, and that reason is security.
 
Old 07-18-2017, 12:55 AM   #7
nick094
LQ Newbie
 
Registered: Jul 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Okay gys, thanks. I will keel this in mind and switch to some other distro.
I did found out that it`s risky to add repositories, but I also found a bunch of tutorials how to do it, so i wanted to guve it a try.
Which Linux distro woukd you recommend me to use, as a beginner?

I nust didn`t found power point comment friendly & funny, didn`t wanna pretend i know something that i don`t know.And i see that reply is removed lol
 
Old 07-18-2017, 03:44 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by nick094 View Post
Okay gys, thanks. I will keel this in mind and switch to some other distro.
I did found out that it`s risky to add repositories, but I also found a bunch of tutorials how to do it, so i wanted to guve it a try.
Which Linux distro woukd you recommend me to use, as a beginner?

I nust didn`t found power point comment friendly & funny, didn`t wanna pretend i know something that i don`t know.And i see that reply is removed lol
That's a good move. You can always keep a USB stick loaded with Kali and use it for penetration testing while at the same time using the new distro as your daily workhorse.

I use Linux Mint which is regarded as one of the most popular distros for beginners.

It wasn't just you by the way. I was surprised by the Powerpoint comment, thinking "has the person who posted that really misunderstood the situation to that extent?" I didn't even consider it might be a joke. I suspect they just hadn't heard of PPAs before. Anyway, don't worry about that, we're an eclectic bunch here and overall there are folk with great knowledge, experience and talent to help you along the way.

Last edited by hydrurga; 07-18-2017 at 03:47 AM.
 
Old 07-18-2017, 06:57 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 10,093

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
Kali Linux is a pretty limited distribution designed for a specific purpose, computer forensics/penetration testing so everything you would need for that should be there when installed. If you are just looking for a general use distribution you can go to the 'distrowatch' site and read descriptions on numerous distros. Mint and the Ubuntu's should be good choices as they are well documented and supported. They are free downloads so you you can try/test as many as you want.
 
Old 07-19-2017, 03:42 AM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I'd recommend Mint for beginners, but openSuSE is probably even easier.
 
1 members found this post helpful.
Old 07-19-2017, 01:01 PM   #11
nick094
LQ Newbie
 
Registered: Jul 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
I`m downloading Mint and will try do add the same ( add ppa ) and will let you guys know if it worked. Thanks for help, love linux comunity
 
Old 07-19-2017, 03:19 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by nick094 View Post
I`m downloading Mint and will try do add the same ( add ppa ) and will let you guys know if it worked. Thanks for help, love linux comunity
Ok, but before you add a PPA, have a check to see if the package in question is in the Mint repos (Mint's Software Manager application is useful for this). Of course, even if it is, you might still want to use a PPA if you have a pressing need for a more up-to-date version of the package - that would be a judgement call to make - but it's always best to check the Mint repos first.
 
Old 07-23-2017, 07:43 AM   #13
nick094
LQ Newbie
 
Registered: Jul 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Short update: I managed to add Calibre PPA in Linux Mint. At first, i was receiving error "This PPA does not support Xenial' but after searching online for solution i found out that this error was related to Mint 18 ( latest version ) and since i got tired of this unsuccessful attempts I also downloaded Mint 17, installed it on VM and it all worked. Since I'm a beginner, I didn't even want to go deep and try to set up Mint 18. Yup, I'm lazy.

sudo apt-get install Calibre
sudo add-apt repository ppa:uschok/calibre
sudo apt-get update

And now I can delete 17.3 and move on with my life
 
Old 07-23-2017, 07:49 AM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by nick094 View Post
Short update: I managed to add Calibre PPA in Linux Mint. At first, i was receiving error "This PPA does not support Xenial' but after searching online for solution i found out that this error was related to Mint 18 ( latest version ) and since i got tired of this unsuccessful attempts I also downloaded Mint 17, installed it on VM and it all worked. Since I'm a beginner, I didn't even want to go deep and try to set up Mint 18. Yup, I'm lazy.

sudo apt-get install Calibre
sudo add-apt repository ppa:uschok/calibre
sudo apt-get update

And now I can delete 17.3 and move on with my life
It's not only lazy, it's ill-advised in my opinion to force yourself to use an older version of an operating system for the sake of such a trivial matter. There are often alternative sources for packages, and the latest versions of Calibre are in fact available in the getdeb repo (http://www.getdeb.net/app/Calibre).

The latest version in your PPA is 2.48 (uploaded on 2 Jan 2016) while the latest on the getdeb repo is 2.85.1 (released 12 May 2017).
 
2 members found this post helpful.
  


Reply


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
When Adding Software From a Untrusted ppa, Does it Add More From Then On? happydog500 Linux - Software 1 05-03-2016 07:32 AM
How to make Kali Linux look like Parrot OS (Configuring how Kali Linux looks) John1243 Linux - Distributions 1 03-21-2016 02:48 AM
LXer: Migrating from Kali Linux 2 to Kali Linux 2016.1 LXer Syndicated Linux News 0 02-01-2016 07:50 AM
I'm having trouble adding ppa's ehdunf67 Linux - Newbie 2 04-05-2015 08:42 PM
Adding PPA key to apt lgp171188 Linux - Software 1 08-19-2009 02:14 AM

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

All times are GMT -5. The time now is 05:33 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
Open Source Consulting | Domain Registration