Subject: software-properties-common: missing dependency: python3-launchpadlib
Package: software-properties-common
Version: 0.111-1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The command `add-apt-repository` (`software-properties-common`'s sole
binary) does not work without `python3-launchpadlib`.
Installing the missing dependency solves the problem.

Example:

# Before installing the missing `python3-launchpadlib` dependency:

% sudo add-apt-repository ppa:duxlabs/dms
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 632, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
                  ~~~~~~~~~~~~~~~^^
  File "/usr/bin/add-apt-repository", line 615, 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 93, in
__init__
    if self.lpppa.publish_debug_symbols:
       ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in
lpppa
    self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
                  ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in
lpteam
    self._lpteam = self.lp.people(self.teamname)
                   ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'


# After installing the missing `python3-launchpadlib` dependency:

% sudo add-apt-repository ppa:duxlabs/dms


Repository: »Types: deb
URIs: https://ppa.launchpadcontent.net/duxlabs/dms/ubuntu/
Suites: forky
Components: main
«
Weitere Informationen: https://launchpad.net/~duxlabs/+archive/ubuntu/dms
Füge Repository hinzu.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.2.15+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
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              20260816+nmu1
ii  gir1.2-glib-2.0              2.90.1-2
ii  gir1.2-packagekitglib-1.0    1.4.0-1
ii  packagekit                   1.4.0-1
ii  python-apt-common            3.1.0
ii  python3                      3.14.7-3
ii  python3-dbus                 1.5.0-1
ii  python3-gi                   3.58.1-1+b1
ii  python3-software-properties  0.111-1

software-properties-common recommends no packages.

software-properties-common suggests no packages.

-- no debconf information

Reply via email to