apt 源列出了不存在的 .deb 包版本

apt 源列出了不存在的 .deb 包版本

apt update已经从我的安装中安装了sources.list,但是安装失败,因为它显然链接到一个不存在的包。

$ apt-cache policy apache2
apache2:
  Installed: (none)
  Candidate: 2.4.18-2ubuntu3.1
  Version table:
     2.4.18-2ubuntu3.1 500
        500 http://ports.ubuntu.com xenial-updates/main armhf Packages
        500 http://ports.ubuntu.com xenial-security/main armhf Packages
     2.4.18-2ubuntu3 500
        500 http://ports.ubuntu.com xenial/main armhf Packages


$ sudo apt-get install apache2 -y
...
After this operation, 4,889 kB of additional disk space will be used.
Ign:1 http://ports.ubuntu.com xenial-security/main armhf apache2-bin armhf 2.4.18-2ubuntu3.1
Ign:2 http://ports.ubuntu.com xenial-security/main armhf apache2-utils armhf 2.4.18-2ubuntu3.1
Ign:3 http://ports.ubuntu.com xenial-security/main armhf apache2-data all 2.4.18-2ubuntu3.1
Ign:4 http://ports.ubuntu.com xenial-security/main armhf apache2 armhf 2.4.18-2ubuntu3.1
Err:1 http://ports.ubuntu.com xenial-security/main armhf apache2-bin armhf 2.4.18-2ubuntu3.1
  404  Not Found [IP: 91.189.88.150 80]
Err:2 http://ports.ubuntu.com xenial-security/main armhf apache2-utils armhf 2.4.18-2ubuntu3.1
  404  Not Found [IP: 91.189.88.150 80]
Err:3 http://ports.ubuntu.com xenial-security/main armhf apache2-data all 2.4.18-2ubuntu3.1
  404  Not Found [IP: 91.189.88.150 80]
Err:4 http://ports.ubuntu.com xenial-security/main armhf apache2 armhf 2.4.18-2ubuntu3.1
  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/pool/main/a/apache2/apache2-bin_2.4.18-2ubuntu3.1_armhf.deb  404  Not Found [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/pool/main/a/apache2/apache2-utils_2.4.18-2ubuntu3.1_armhf.deb  404  Not Found [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/pool/main/a/apache2/apache2-data_2.4.18-2ubuntu3.1_all.deb  404  Not Found [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/pool/main/a/apache2/apache2_2.4.18-2ubuntu3.1_armhf.deb  404  Not Found [IP: 91.189.88.150 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

  • http://ports.ubuntu.com/pool/main/a/apache2/列出apache2_2.4.18-2ubuntu3.3_armhf.deb但没有apache2_2.4.18-2ubuntu3.1_armhf.deb(3.3 与 3.1)。这是 repo 的问题还是我的配置的问题?
  • 不管怎样,我认为问题不在于PPA 范围内的 404因为 repo 存在但缺少包。(我只使用默认的 ports.ubuntu.com 源 (armhf),并且xenial 尚未 EOL,对吧?除非刚刚xenial-security搬到旧版本old-releases.ports.ubuntu.com?)

答案1

所以我没有弄清楚为什么我apt-get cache列出的版本2.4.18-2ubuntu3.1才可...ubuntu3.3用,但我发现...ubuntu3如果我指定该版本(或删除其他 deb 源),那么(没有小数)安装得很好

相关内容