Ever since installing Neon on my Kubuntu 15.10 I'm unable to use add-apt-repository command. Te problem is that there is no distribution template for neon/wily. Maybe you should provide a patched software-properties-kde together with other updates in your repo. Some details: 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 neon/wily
what version of base-files do you have installed?
Created attachment 98338 [details] attachment-25571-0.html Version: 7.2ubuntu12neon1+git20160322.1157+15.10 On 11 April 2016 at 16:59, Jonathan Riddell via KDE Bugzilla < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=361636 > > Jonathan Riddell <jr@jriddell.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |jr@jriddell.org > > --- Comment #1 from Jonathan Riddell <jr@jriddell.org> --- > what version of base-files do you have installed? > > -- > You are receiving this mail because: > You reported the bug. >
Same here. My workaround is to "sed -i s/DISTRIB_ID=neon/DISTRIB_ID=Ubuntu/ /etc/lsb_release" but I think it will change again when update base-files from neon repo.
The exception should be fixed with an upgrade. That said, software-properties still is a pile of crap as it employs the quite possibly daftest heuristics possible to pick the series to add the repo for, so you'd end up with 16.10 repos instead of 16.04. I do have a pile of patches to deal with this but it won't get done this week for sure, probably not next either since at least two components that aren't ours need changing.
https://code.launchpad.net/~apachelogger/software-properties/series-check/+merge/293513
I built a fork of software-properties with harald's patch in the neon archives