[Bug 1826222] Re: software-properties-gtk crashed with aptsources.distro.NoDistroTemplateException in get_sources(): Error: could not find a distribution template for Ubuntu/eoan

El jinete sin cabeza 1826222 at bugs.launchpad.net
Thu May 16 18:22:56 UTC 2019


** Changed in: python-apt (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1826222

Title:
  software-properties-gtk crashed with
  aptsources.distro.NoDistroTemplateException in get_sources(): Error:
  could not find a distribution template for Ubuntu/eoan

Status in python-apt package in Ubuntu:
  Fix Released

Bug description:
  [Impact]
  The 'Configuration' button of update-manager does not work.

  [Test Case]
  $ sudo update-manager
  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 Ubuntu/eoan

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: software-properties-gtk 0.97.11
  Uname: Linux 5.1.0-050100rc6-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr 24 10:21:47 2019
  InstallationDate: Installed on 2018-12-02 (142 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to eoan on 2018-12-02 (142 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1826222/+subscriptions



More information about the foundations-bugs mailing list