我已经以某种方式安装了 gcc-5-base 但现在无法卸载它:
sudo apt-get remove gcc-5-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgcc1 : Depends: gcc-5-base (= 5.1.0-0ubuntu11~14.04.1) but it is not going to be installed
libqt4-network : Depends: libqtdbus4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1) but it is not going to be installed
libqtgui4 : Depends: libqt4-declarative (= 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.1.0-0ubuntu11~14.04.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
我该如何解决这个问题?非常感谢!!
答案1
请...跟我重复并记住:
不,我不想删除gcc-5-base
!
你从来没有安装过gcc-5-base
:包由 Ubuntu 安装并且必须保持安装否则 Ubuntu 将停止运行!
因为您似乎不熟悉 Ubuntu:您所要求的类似于system32
从Ẁindows
目录中删除!