linux - 软件包列表 - linux mint

标签 linux linux-mint

当我尝试修复 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.

最佳答案

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

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

关于linux - 软件包列表 - linux mint,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24442730/

相关文章:

linux - 安装 Windows 10 后如何安装 grub

linux - 使用 nemo 右键菜单加密 GPG 文件

linux - Netbeans——源不可写

linux - 从链接的 docker 重命名环境变量

linux - PATH 和 COMPILER_PATH 之间的区别

c++ - 当指定 O2 标志时,gcc 链接到错误的 GLIBCXX 版本

linux - 没有 gcc 的 gdb

r - 无法安装包车

android - 薄荷 : genymotion installation bug

linux - 将 git 命令与 -q 一起使用,但在失败时不会保持安静?