Ok, I see that there is an upload for it that would fix this in

   1 python-apt (2.1.3ubuntu3) hirsute; urgency=medium                          
      
   2                                                                            
      
   3   * Add hirsute to the Ubuntu template.                                    
      
   4                                                                            
      
   5  -- Steve Langasek <steve.langa...@ubuntu.com>  Mon, 26 Oct 2020 16:28:01 
-0700 

But it is stuck in excuses breaking apt-clone and sshuttle autopkgtests.
Since Steve (thanks) prepped that upload I'll subscribe him so he can close the 
bug once python-apt moves.

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

** Changed in: python-apt (Ubuntu)
     Assignee: (unassigned) => Steve Langasek (vorlon)

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

Title:
  hirsute fails on add-apt-repository

Status in python-apt package in Ubuntu:
  Triaged
Status in software-properties package in Ubuntu:
  Invalid

Bug description:
  On a fully updated hirsute add-apt-repository fails, example:

  root@h:~# sudo add-apt-repository ppa:ci-train-ppa-service/4321
  Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 330, in <module>
      addaptrepo = AddAptRepository()
    File "/usr/bin/add-apt-repository", line 35, in __init__
      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

  The PPA seems not to matter (all trigger it) and if I manually add PPA
  sources list and GPG key it works. So maybe software-properties just
  needs to learn about hirsute?

  Or is there another components (like distro-info or such) that needs a
  bump for this to work?

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to