我安装了 Halsudo apt-get install hal
但又遇到了新问题!
首先,我在终端中打开“APTonCD”,然后单击“恢复”。现在我单击“加载”,但我得到了这
mohsen@mohsen-ThinkPad-R500:~$ aptoncd
Traceback (most recent call last): File
"/usr/lib/python2.7/dist-packages/APTonCD/restore/restoreWindow.py",
line 205, in on_btnLoadFrom
bus = dbus_helper.DeviceList() File "/usr/lib/python2.7/dist-packages/APTonCD core/dbus_helper.py", line
26, in __init__
self.hal_object = self.bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager') File
"/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
get_object
follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
__init__
self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
activate_name_owner
self.start_service_by_name(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
start_service_by_name
'su', (bus_name, flags))) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
call_blocking
message, timeout)
**dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited
with unknown return code 1**
有人帮忙吗?:)
答案1
这是与新 hal 的兼容性问题,请将 hal 降级到 12.x 中使用的版本。才能使其正常工作。需要从 Quantal 文件手动下载并安装 - 它是 hal-info、libhal、libhal-storage 和 hal 本身