apt-get 安装 libg15 失败,所有包管理均失败

apt-get 安装 libg15 失败,所有包管理均失败

我试图让我的 Logitech G510 键盘的背光灯工作,所以我进入 Synaptic 软件包管理器并标记 LibG15、G15daemon 和所有其他相关软件包。Synaptic 报告安装失败。现在所有软件包管理都失败了,因为 libg15 是“半安装”。
我尝试过一些命令来修复这个问题。。。

root@bt:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libg15 needs to be reinstalled, but I can't find an archive for it.

root@bt:~# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libg15 needs to be reinstalled, but I can't find an archive for it.


root@bt:~# sudo apt-get -f purge libg15
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libg15 needs to be reinstalled, but I can't find an archive for it.

root@bt:~# sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of g15macro:
 g15macro depends on g15daemon; however:
  Package g15daemon is not configured yet.
dpkg: error processing g15macro (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of g15stats:
 g15stats depends on g15daemon; however:
  Package g15daemon is not configured yet.
dpkg: error processing g15stats (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 g15macro
 g15stats

我不太懂电脑。如能得到任何帮助我将不胜感激!!!注意:我在 Backtrack 5 R3 下使用 Ubuntu 10.04。

答案1

我解决了这个问题!

我快速编辑/var/lib/dpkg/status并删除了半安装包信息。之后,我能够打开 synaptic 并清除与 G15 相关的所有包。

相关内容