我试图使用 playdeb/getdeb 但它不起作用。所以我去候机楼看看发生了什么。问题是我不知道这实际上意味着什么或如何解决它。任何解决此问题的帮助将不胜感激。
~$ apturl apt:enemy-territoy
/usr/lib/python3/dist-packages/AptUrl/gtk/GtkUI.py:1: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
(apturl-gtk:11037): Gtk-WARNING **: Theme parsing error: gtk.css:90:44: Failed to import: Error opening file: No such file or directory
ERROR:root:importing aptdaemon
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/AptUrl/gtk/backend/__init__.py", line 40, in get_backend
from .InstallBackendAptdaemon import InstallBackendAptdaemon
File "/usr/lib/python3/dist-packages/AptUrl/gtk/backend/InstallBackendAptdaemon.py", line 10, in <module>
from UpdateManager.backend import InstallBackend
File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 14, in <module>
from UpdateManager.Dialogs import Dialog
ImportError: No module named 'UpdateManager.Dialogs'
Traceback (most recent call last):
File "/usr/bin/apturl-gtk", line 43, in <module>
ui = GtkUI()
File "/usr/lib/python3/dist-packages/AptUrl/gtk/GtkUI.py", line 38, in __init__
self.backend = get_backend(self.dia)
File "/usr/lib/python3/dist-packages/AptUrl/gtk/backend/__init__.py", line 48, in get_backend
from .InstallBackendSynaptic import InstallBackendSynaptic
File "/usr/lib/python3/dist-packages/AptUrl/gtk/backend/InstallBackendSynaptic.py", line 12, in <module>
from UpdateManager.backend import InstallBackend
File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 14, in <module>
from UpdateManager.Dialogs import Dialog
ImportError: No module named 'UpdateManager.Dialogs'
我重新安装
apturl
解决了。希望能帮助到你。
这为我解决了这个问题:
缺少 python 模块。似乎是 Ubuntu 18.04 中的依赖错误