最近 Banshee 停止工作了。在终端中运行它时,我
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'dbus-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its dependencies.
File name: 'dbus-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'dbus-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its dependencies.
File name: 'dbus-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5'`<br>
我尝试过多次卸载并重新安装 mono 和 banshee,但似乎没有任何效果。
答案1
检查您是否安装了 libdbus1.0-cil,因为它是包含 dbus-sharp-1.0 的包。
apt-cache policy libdbus1.0-cil
如果第一行显示为Installed: (none)
,则安装该包:
sudo apt-get update && sudo apt-get install libdbus1.0-cil
如果已安装,请重新安装:
sudo apt-get update && sudo apt-get install --reinstall libdbus1.0-cil