[Bug 1849835] Re: add-apt-repository does not work in focal
Eugene Minov
minov.eug at gmail.com
Mon Apr 27 22:49:27 UTC 2020
OK, but can you guide me please as to how to resolve this in case I upgraded and not installed anew?
Cause I installed all the updated but this error still persists..
Thanks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1849835
Title:
add-apt-repository does not work in focal
Status in software-properties package in Ubuntu:
Fix Released
Bug description:
I tested to use a ppa because I wanted to test if mkusb will work in
focal. But
add-apt-repository
does not work.
---
lubuntu at lubuntu:~$ sudo add-apt-repository ppa:mkusb/ppa # existing ppa
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 118, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 613, 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 Ubuntu/focal
lubuntu at lubuntu:~$ sudo add-apt-repository ppa:qwerty/asdf # not existing ppa: same output
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 118, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 613, 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 Ubuntu/focal
lubuntu at lubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal
lubuntu at lubuntu:~$
---
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: software-properties-common 0.98.5
ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
Uname: Linux 5.3.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
CasperVersion: 1.427
CurrentDesktop: LXQt
Date: Fri Oct 25 13:10:33 2019
LiveMediaBuild: Lubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191024)
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1849835/+subscriptions
More information about the foundations-bugs
mailing list