[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-06 Thread Christian Ehrhardt 
Fixed by https://launchpad.net/ubuntu/+source/python-apt/2.1.3ubuntu3 migrating after some work on dependencies. Note cloud and lxd images do not yet contain this, so you'll need to update before add-apt-repository or wait another day or two. Thanks everyone. ** Changed in: python-apt (Ubuntu)

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-03 Thread Christian Ehrhardt 
FYI - Until this migrated into groovy the quick-fix with the attached diff is: $ wget -q https://launchpadlibrarian.net/505009270/fix-hirsute-python-apt.diff -O - | sudo patch -p1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-03 Thread Christian Ehrhardt 
** Changed in: python-apt (Ubuntu) Assignee: Steve Langasek (vorlon) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902540 Title: hirsute fails on add-apt-repository To manage

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-03 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902540 Title: hirsute fails on add-apt-repository To manage notifications about this bug go to:

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Christian Ehrhardt 
Ok, checking the recent tests it seems that vorlon and juliank are on it already. So I can hold back (to not make things more confusing) and let them handle it. The attachment here in comment #6 can serve as a workaround until resolved. -- You received this bug notification because you are a

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Christian Ehrhardt 
It seems that data is parsed from /usr/share/python-apt/templates/Ubuntu.info class SourcesList(object): """ represents the full sources.list + sources.list.d file """ def __init__(self, withMatcher=True, matcherPath="/usr/share/python-apt/templates/"):

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Christian Ehrhardt 
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.

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Christian Ehrhardt 
Yeah still present for me as well in a new hirsute container of today :-/ Thanks for double checking as Bryce/Sergio as that is excluding a lot of caching/net-setup/... questions. >From the debugging I know that the self-detect is right self.codename == hirsute But the list in

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Sergio Durigan Junior
I'm also able to reproduce this in a hirsute lxd container today (2020-11-02). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902540 Title: hirsute fails on add-apt-repository To manage

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Bryce Harrington
I'm able to reproduce this in a hirsute lxc container I created today. Interestingly, another hirsute container I created Friday doesn't reproduce this issue even when updated to current. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: software-properties (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902540

[Bug 1902540] Re: hirsute fails on add-apt-repository

2020-11-02 Thread Christian Ehrhardt 
Throwing a debug in the failing code: # find the distro template for template in self.sourceslist.matcher.templates: print("Try '%s': self.is_codename(template.name) '%s' && self.id >> '%s' == '%s' << template.distribution" % (template.name,