Python 在终端上使用ppa命令时出现问题

Python 在终端上使用ppa命令时出现问题,python,linux,bash,ubuntu,Python,Linux,Bash,Ubuntu,每次运行sudo add apt repository ppa:webupd8team/java命令时 在linux终端上,我得到以下错误 > You are about to add the following PPA to your system: Oracle Java > (JDK) Installer (automatically downloads and installs Oracle JDK6 / > JDK7 / JDK8). There are no ac

每次运行sudo add apt repository ppa:webupd8team/java命令时 在linux终端上,我得到以下错误

> You are about to add the following PPA to your system:  Oracle Java
> (JDK) Installer (automatically downloads and installs Oracle JDK6 /
> JDK7 / JDK8). There are no actual Java files in this PPA. 
> 
> More info: 
> - for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
> 
> Debian installation instructions:
> http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
> Press [ENTER] to continue or ctrl-c to cancel adding it
> 
> Traceback (most recent call last):   File
> "/usr/bin/add-apt-repository", line 160, in <module>
>     sp = SoftwareProperties(options=options)   File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py",
> line 96, in __init__
>     self.reload_sourceslist()   File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py",
> line 584, in reload_sourceslist
>     self.distro.get_sources(self.sourceslist)       File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in
> get_sources
>     raise NoDistroTemplateException("Error: could not find a " aptsources.distro.NoDistroTemplateException: Error: could not find a
> distribution template

请告诉我如何解决这些问题

听起来你必须更新发行版模板,正如上面所说的那样

那么你的问题是什么?请告诉我如何解决这个问题