[Bug 1902538] Re: Every cycle python-apt breaks until updated for the new distro codename

Julian Andres Klode 1902538 at bugs.launchpad.net
Wed Nov 4 12:27:03 UTC 2020


*** This bug is a duplicate of bug 1727470 ***
    https://bugs.launchpad.net/bugs/1727470

Dupe of 1727470. FWIW, python-apt 2.1.15 does not hard code codenames
anymore, so won't have this issue.

** Changed in: python-apt (Ubuntu)
       Status: Confirmed => Invalid

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

** This bug has been marked a duplicate of bug 1727470
   [RFE] Automatically update the Ubuntu version strings in python-apt

-- 
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/1902538

Title:
  Every cycle python-apt breaks until updated for the new distro
  codename

Status in Ubuntu MATE:
  New
Status in python-apt package in Ubuntu:
  Fix Committed
Status in software-properties package in Ubuntu:
  Invalid

Bug description:
  The problem is currently happening in hirsute (fixed with the python-
  apt in proposed, software-properties fails to start due a python-apt
  error

    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 605, 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/hirsute

  Could we try to handle the missing codename in a way that doesn't make
  python-apt users blow up every cycle until we play catching up?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-mate/+bug/1902538/+subscriptions



More information about the foundations-bugs mailing list