poblema adding repository in ubuntu [closed]

0

I try to add a repository on my ubuntu 16.04 and I get this error message.

  

jaime @ jaime-HP: ~ $ sudo add-apt-repository ppa: nilarimogard / webupd8   Traceback (most recent call last): File   "/ usr / bin / add-apt-repository", line 95, in       sp = SoftwareProperties (options = options) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",   line 114, in init       self.reload_sourceslist () File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",   line 607, 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 neon / xenial

How could I solve it?

    
asked by Jaime Roman 22.02.2018 в 21:46
source

1 answer

1

Execute $ gksudo gedit /etc/lsb-release

Then edit the file that opens by putting this:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

You have to enter the version of Ubuntu that you are using, in my case it is xenial 16.04.3 and then you do a: sudo apt-get update and finally you execute your command sudo add-apt-repository ppa:nilarimogard/webupd8

    
answered by 22.02.2018 / 23:48
source