1

I'm installing Java on Ubuntu 15.10 when I typed sudo add-apt-repository ppa:webupd8team/java The result:

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 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/xenial

how to fix it? thank you

Faizan Akram Dar
  • 4,569
  • 1
  • 25
  • 31

1 Answers1

0

For now on Xenial 16.04 use this guide for installing java. Hopefully the webupd8team will add the Xenial distribution to the ppa. After the ppa update it will be possible to install via this guide.

kukulo
  • 2,045
  • 12
  • 22