Não é possível executar o sudo add-apt-repositório ppa: ondrej / php

0

Quando tento executar sudo add-apt-repository ppa:ondrej/php :

Isso me mostra isso

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
    
por Ralph 06.05.2017 / 15:03

1 resposta

2

Para instalar o php no Kali Linux, abra o terminal e digite:

sudo apt install php*

Então você deve poder usar a última versão do php.

    
por 06.05.2017 / 17:43