包列表 - linux mint

时间:2014-06-27 01:35:55

标签: linux mint

当我试图修复我的linux薄荷中的错误时,我意外地删除了包列表,现在我无法安装任何东西,我该如何解决这个问题?

我是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.

2 个答案:

答案 0 :(得分:0)

您是如何删除包裹清单的?您应该能够通过在Linux Mint站点上找到官方存储库列表来恢复它,然后确保您的/etc/apt/sources.list.d/official-package-repositories.list与他们拥有的匹配。

首先,我会运行sudo apt-get update,以便了解你所缺少的内容。这本身可能会解决你的问题。

答案 1 :(得分:0)

请尝试以下操作。

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak