LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding PPA in Kali Linux (https://www.linuxquestions.org/questions/linux-newbie-8/adding-ppa-in-kali-linux-4175610049/)

nick094 07-17-2017 02:44 PM

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

snowday 07-17-2017 03:02 PM

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?

camorri 07-17-2017 03:04 PM

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.

nick094 07-17-2017 03:24 PM

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.

AwesomeMachine 07-17-2017 05:21 PM

From the first google hit:

Quote:

Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.

hydrurga 07-17-2017 06:46 PM

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.

nick094 07-18-2017 12:55 AM

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

hydrurga 07-18-2017 03:44 AM

Quote:

Originally Posted by nick094 (Post 5736389)
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.

yancek 07-18-2017 06:57 AM

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.

AwesomeMachine 07-19-2017 03:42 AM

I'd recommend Mint for beginners, but openSuSE is probably even easier.

nick094 07-19-2017 01:01 PM

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 :)

hydrurga 07-19-2017 03:19 PM

Quote:

Originally Posted by nick094 (Post 5737211)
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.

nick094 07-23-2017 07:43 AM

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 :D

hydrurga 07-23-2017 07:49 AM

Quote:

Originally Posted by nick094 (Post 5738907)
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 :D

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).


All times are GMT -5. The time now is 04:22 PM.