Package: software-properties-common Version: 0.99.30-4 Severity: normal X-Debbugs-Cc: nrb...@gmail.com
Dear Maintainer, to fix known VTE bug <https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=1033495> I need to add my Ubuntu PPA <https://launchpad.net/~nrbrtx/+archive/ubuntu/vte> to the Debian 12 (bookworm) system. So I use below steps to reproduce: ``` apt-get install software-properties-common apt-get update apt-key adv --keyserver keyserver.ubuntu.com --recv E756285F30DB2B2BB35012E219BFCAF5168D33A9 add-apt-repository -y "deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main" ``` I expect that the above "deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main" line will be added to /etc/apt/sources.list file, but instead I get the following error: ``` # add-apt-repository -y "deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy 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' ``` On Debian 11 the above process works as expected. I do not find my method as rarely used or wrong. So please adjust add-apt- repository script or its underhoods to eliminate the above error. -- System Information: Debian Release: 12.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-6-amd64 (SMP w/1 CPU thread; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages software-properties-common depends on: ii ca-certificates 20230311 ii gir1.2-glib-2.0 1.74.0-3 ii gir1.2-packagekitglib-1.0 1.2.6-3 ii packagekit 1.2.6-3 ii python-apt-common 2.5.3 ii python3 3.11.2-1 ii python3-dbus 1.3.2-4+b1 ii python3-gi 3.42.2-3+b1 ii python3-software-properties 0.99.30-4 software-properties-common recommends no packages. software-properties-common suggests no packages. -- no debconf information