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

corrado venturini 1902538 at bugs.launchpad.net
Wed Nov 4 11:05:59 UTC 2020


Same problem on Ubuntu installed from Ubuntu 21.04 "Hirsute Hippo" -
Alpha amd64 (20201104)

-- 
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:
  Confirmed
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