PDA

View Full Version : How to add old repositories on terminal?



r4wstring
2018-04-11, 15:14
Hey everyone.
How can I add old Kali repositories (Sana/Moto) via terminal, there are some applications still updated that are not on new repositories.
I'm trying to add them on terminal, install and then remove. Some how I always get the same 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

And this is what I tried:
add-apt-repository ppa:pinta-maintainers/pinta-stable

This is happening for every repository I try to add via terminal..
Any ideas ??

grid
2018-04-13, 12:52
While it's not recommended, I'd edit the /etc/apt/sources.list file.

r4wstring
2018-04-14, 00:06
The repositories are correct.
Problem is when I install the application.