Control: severity -1 minor On Fri, Jan 27, 2023 at 12:25:05PM +0100, William Desportes wrote: > Package: software-properties-common > Version: 0.99.30-4 > Severity: important > > > Using a fresh Debian 12 installer. > I tried to run: sudo add-apt-repository ppa:mozillateam/ppa > > And got: > 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 86, > in __init__ > if self.lpppa.publish_debug_symbols: > 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' > > As said on Internet: > https://www.linuxquestions.org/questions/debian-26/debian-bullseye-sid-add-apt-repository-not-working-python-problem-4175720821/#post6403993 > > Installing python3-launchpadlib solves this bug and you can re-run the > command.
1. PPAs are not supported on Debian, they are an Ubuntu feature 2. The dependency is optional, and as PPAs are not supported, users generally do not need it, so it would at most be a Suggests 3. A Suggests is not gonna change anything. We can make this an explicit error saying that PPAs are not supported on Debian but I don't think that's what some people want either. Overall this is a cosmetic issue, it should raise an exception saying that python3-launchpadlib is missing for this, and that PPAs are not supported on Debian. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en