0

I have a problem on my elementary os Juno. So when I want to add a ppa, it answers me :

arthur@arthur:~$ sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 107, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 117, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 612, 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 elementary/juno

And it's the exactly same error when I tried t launch the "Software and Updates" app...

arthur@arthur:~$ software-properties-gtk
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 115, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 117, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 612, 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 elementary/juno

So , what should I do ? Thanks, Arthur

  • I would rather suggest not adding elementary-tweaks, last time I checked that ppa has not been updated in years. – Hasan May 29 '19 at 9:05
  • Yeah I know that but it was an example it s the exactly same for all PPA ... – Arthur May 31 '19 at 12:13
  • What is the output of cat /etc/lsb-release? – Kulfy Jun 2 '19 at 19:50
  • My output seems to be ok : arthur@arthur:~$ cat /etc/lsb-release DISTRIB_ID=elementary DISTRIB_RELEASE=5.0 DISTRIB_CODENAME=juno DISTRIB_DESCRIPTION="elementary OS 5.0 Juno" – Arthur Jun 4 '19 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.