【问题标题】:Debian/linux dependency errorDebian/linux 依赖错误
【发布时间】:2017-01-05 02:12:41
【问题描述】:

我正在尝试在 debian linux 服务器上安装 mysql-server,但我明白了:

the error

当我搜索我的问题时,我几乎尝试了所有我发现的东西,但没有任何效果。 其他包也会出现这个问题,不仅是 mysql-server(例如 mysql-client)。

我从终端尝试了 apt-get install -f 和所有其他可能的修复程序,但没有任何效果。 请注意,我没有很好的使用 linux 的经验。

这是我从 apt-get update 得到的:

the error 2

谢谢。

【问题讨论】:

  • A) 屏幕截图真的,真的很烦人,尤其是作为外部链接。 B) Stack Overflow 是针对特定于编码的问题,而不是针对服务器管理的问题。如果您遇到基础架构和操作系统问题,请查看ServerFault

标签: mysql linux debian


【解决方案1】:

我相信您的问题与您的存储库列表/etc/apt/sources.list 有关,我相信您没有列出所有必要的存储库。我建议将您的来源列表 /etc/apt/sources.list 更改为以下内容:

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-backports main contrib non-free

然后运行apt-get update 并再次尝试安装和修复(例如apt-get install -f)。

【讨论】:

  • 非常感谢,我花了至少 3 个小时寻找解决方案。
猜你喜欢
  • 2017-02-16
  • 2014-06-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-12-13
  • 2021-02-09
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多