Control: reassign -1 software-properties-common Control: forcemerge 1029766 -1
Hi Philippe, On Tue, Jun 13, 2023 at 12:41:30PM +0200, pham...@bluewin.ch wrote: > Package: add-apt-repository > Version: ? > Severity: high > > Bug Description: > > This command, which no longer allows you to add external repositories, worked > perfectly under Debian 10 & 11, but it no longer works under Debian 12. > Command to add Mozilla Firefox official ppa : > add-apt-repository "deb http://ppa.launchpad.net/mozillateam/ppa/ubuntu focal > main" > apt-key adv --keyserver keyserver.ubuntu.com --recv-keys > 0AB215679C571D1C8325275B9BDB3D89CE49EC21 > Now it generates errors : > root@station:~# add-apt-repository "deb > http://ppa.launchpad.net/mozillateam/ppa/ubuntu lunar main" > Traceback (most recent call last): > File "/usr/bin/add-apt-repository", line 362, in <module> > sys.exit(0 if addaptrepo.main() else 1) > ^^^^^^^^^^^^^^^^^ > File "/usr/bin/add-apt-repository", line 345, in main > shortcut = handler(source, **shortcut_params) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line > 40, in shortcut_handler > return handler(shortcut, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 78, > in __init__ > self.lpppa > File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, > in lpppa > self._lpppa = self.lpteam.getPPAByName(name=self.ppaname) > ^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, > in lpteam > self._lpteam = self.lp.people(self.teamname) > ^^^^^^^^^^^^^^ > AttributeError: 'NoneType' object has no attribute 'people' > Thank you to correct this as soon as possible. > Best regards. Please see #1029766. Installing python3-launchpadlib should resolve your issue. Will merge the two. Regards, Salvatore