python aptsources: could not find a distribution template for neon/xenial
Closed, ResolvedPublic

Description

Running software-properties-kde from terminal, or from Discover, leads to the following crash.
Lastest Neon/User

$ kdesudo software-properties-kde
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 148, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=afile, attachWinID=attachWinID)
  File "/usr/lib/python3/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 62, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  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 neon/xenial
ruphy created this task.Jul 22 2017, 9:47 AM
bshah added a subscriber: bshah.Jul 20 2018, 6:15 AM

Can you give output of,

apt-cache policy base-files

Also which editions is this?

jriddell closed this task as Resolved.Oct 3 2018, 11:26 AM
jriddell claimed this task.