我想在树莓派5上添加下面这个PPA:
https://launchpad.net/~reviczky/+archive/ubuntu/inkscape-1.4
但树莓派5的系统不是ubuntu,而是debian12.
我尝试运行下面的命令:
sudo add-apt-repository ppa:reviczky/inkscape-1.4
会报下面的错误 :
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'
按页面提示,我需要在源中添加下面内容:
deb https://ppa.launchpadcontent.net/reviczky/inkscape-1.4/ubuntu YOUR_UBUNTU_VERSION_HERE main
我没有添加,因为系统是debian12不是ubuntu,所以我不清楚是不是可以添加。
应该咋弄才能在树莓派5上使用这个PPA:ppa:reviczky/inkscape-1.4