我安装了铁皮(又名BumbleBee)。它无法使它工作,但现在我不能卸载软件包,这是阻止我安装或删除任何其他东西。我有什么办法解决这个问题吗?
$ sudo apt-get remove -f ironhide
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
virtualgl acpi-call-dkms virtualgl-libs easybashgui
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
ironhide
0 upgraded, 0 newly installed, 1 to remove and 65 not upgraded.
1 not fully installed or removed.
After this operation, 1,901 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 297969 files and directories currently installed.)
Removing ironhide ...
groupdel: group 'ironhide' does not exist
dpkg: error processing ironhide (--remove):
subprocess installed post-removal script returned error exit status 6
Processing triggers for ureadahead ...
Errors were encountered while processing:
ironhide
E: Sub-process /usr/bin/dpkg returned an error code (1)发布于 2011-11-06 15:42:17
我通过以下操作修正了这个问题:
编辑文件/var/lib/dpkg/info/ironhide.postrm
评论了以下几行:
if [ `cat /etc/group |grep ironhide |wc -l` > 0 ]; then
groupdel ironhide
fi然后,我成功地运行了:
$ sudo apt-get remove ironhide发布于 2012-01-14 17:08:40
只需添加这样的组:
sudo addgroup ironhide然后再尝试移除铁皮。
sudo apt-get --purge remove ironhide现在我将在这里添加一个如何正确安装大黄蜂的方法:让gnome开发nvidia optimus笔记本电脑
https://askubuntu.com/questions/76070
复制相似问题