Traceback (most recent call last):add-apt-repository

Traceback (most recent call last):add-apt-repository


Error

Pada saat saya ingin install sebuah aplikasi dengan menambahkan repository di linux debian, muncul error Traceback (most recent call last):add-apt-repository seperti ini:

Traceback (most recent call last):
File “/usr/bin/add-apt-repository”, line 362, in
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’



Solusi

Intuk mengatasi hal ini, cukup install aplikasi python3-launchpadlib dengan perintah:

sudo apt install python3-launchpadlib

Semoga artikel ini bermanfaat

Scroll to Top