tech:install_de_ppa_launchpad_sous_debian
Table des matières
Install de ppa launchpad sous Debian
Exemple avec indicator-stickynotes
# apt-get install python-software-properties apt-get install software-properties-common
add-apt-repository ppa:umang/indicator-stickynotes apt-get update
Si le update ne passe pas on jette un œil à
http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu/dists/
sed -i -e 's/jessie/wily/' /etc/apt/sources.list.d/umang-indicator-stickynotes-jessie.list apt-get update apt-get install indicator-stickynotes
- /etc/apt/sources.list.d/umang-indicator-stickynotes-jessie.list
#deb http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu jessie main deb http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu wily main # deb-src http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu jessie main
Pb
Err AttributeError: 'NoneType' object has no attribute 'people'
# add-apt-repository ppa:vincent-vandevyvre/vvv
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'
Solution
apt-get install python3-launchpadlib
tech/install_de_ppa_launchpad_sous_debian.txt · Dernière modification : de 127.0.0.1
