APT - 在 Ubuntu 15.10 中安装 mysql-server 时出错

APT - 在 Ubuntu 15.10 中安装 mysql-server 时出错

我正在尝试安装mysql-server。我按照这里讨论的步骤进行操作:http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-fresh-install,但是当我尝试安装它时出现此错误:

sudo apt-get install mysql-server --fix-missing --fix-broken

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libaio1 libmecab2v5 mysql-client mysql-common mysql-community-client mysql-community-server
The following NEW packages will be installed:
  libaio1 libmecab2v5 mysql-client mysql-common mysql-community-client mysql-community-server mysql-server
0 upgraded, 7 newly installed, 0 to remove and 108 not upgraded.
Need to get 268 kB/25.2 MB of archives.
After this operation, 202 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://ph.archive.ubuntu.com/ubuntu/ wily/main libaio1 amd64 0.3.110-1
  403  Forbidden [IP: 202.90.159.172 80]
Err http://ph.archive.ubuntu.com/ubuntu/ wily/universe libmecab2v5 amd64 0.996-1.1ubuntu1
  403  Forbidden [IP: 202.90.159.172 80]
Unable to correct missing packages.
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.110-1_amd64.deb  403  Forbidden [IP: 202.90.159.172 80]

E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/universe/m/mecab/libmecab2v5_0.996-1.1ubuntu1_amd64.deb  403  Forbidden [IP: 202.90.159.172 80]

E: Aborting install.

答案1

我认为这是镜像的问题。当我尝试安装gnome-session-fallback和执行许多其他操作时,同一个镜像中大约有 50 个软件包出现 403 Forbidden 错误。有人知道这个镜像的所有者是谁、如何联系他们以及如何报告问题吗?我希望能够安装软件而不会再次破坏我的源代码。

以下一些建议或许能有所帮助:E: 某些索引文件下载失败。apt-get update 后,这些文件已被忽略或使用旧文件代替 特别是(如果您使用 ubuntu-desktop):打开 Ubuntu 软件中心,转到菜单中的编辑、软件源,然后将“菲律宾服务器”更改为“主服务器”。

这似乎有点帮助,但我还有其他 apt 问题需要解决。一些关于持有的软件包以及无法在发布文件中找到“restricted/sources/Sources”的问题。太棒了。

相关内容