error running apt-add-repository

Bug #1874880 reported by Edson T. Marques
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

today I accepted apt upgrades of some ubuntu repositories to Groove, after that I tried to add a new repo and got this messages:

root@etm:/etc/apt/sources.list.d# apt-add-repository ppa:linuxuprising/apps
Traceback (most recent call last):
  File "/usr/bin/apt-add-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 91, in get_sources
    raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/groovy

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: apt 2.0.2
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 24 15:18:26 2020
InstallationDate: Installed on 2020-01-28 (87 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Edson T. Marques (edsontmarques) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

Well yes, that's normal. We are still opening the release.

affects: apt (Ubuntu) → python-apt (Ubuntu)
Revision history for this message
Julian Andres Klode (juliank) wrote :

Hang on, the new base-files is not even in the release pocket yet. Are you running the development series (groovy) with proposed enabled? That's not wise.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 2.0.0ubuntu1

---------------
python-apt (2.0.0ubuntu1) groovy; urgency=medium

  * data/templates/Ubuntu.info.in: Add groovy (LP: #1874880)

 -- Julian Andres Klode <email address hidden> Sat, 25 Apr 2020 12:54:44 +0200

Changed in python-apt (Ubuntu):
status: New → Fix Released
Revision history for this message
Edson T. Marques (edsontmarques) wrote :

Thanks for the information and the warning ... well, I try to be a tester trying to help a little bit. So I'm just reporting on a behavior hoping to be useful to developers. Without expectations...
After all, after so many years, I was never able to resist curiosity and news, so, from time to time (alias rarely in recent times) I have to reinstall ubuntu, but I like that :-D
Thank you again !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.