当我试图修复我的linux mint中的一个错误时,我意外地删除了软件包列表,现在我无法安装任何东西,我如何修复这个问题?
我是linux的初学者..
我使用的是linux mint 16 petra Mate版。
遵循日志:
charles@charles /etc/apt $ sudo apt-get install ubuntu-tweak
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:
ubuntu-tweak : Depends: python-compizconfig but it is not installable
E: Unable to correct problems, you have held broken packages.发布于 2014-06-27 12:27:32
你是怎么删除你的包列表的?您应该能够通过在Linux Mint站点上找到官方的存储库列表来恢复它,然后确保您的/etc/apt/sources.list.d/official-package-repositories.list与他们所拥有的相匹配。
首先,我会运行sudo apt-get update,以查看您遗漏了什么。这本身可能会解决你的问题。
发布于 2015-05-17 03:34:35
尝试以下操作。
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweakhttps://stackoverflow.com/questions/24442730
复制相似问题