安装 Squid 时出现问题

安装 Squid 时出现问题

当我使用以下消息安装 Squid 时sudo apt-get install squid

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package squid is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'squid' has no installation candidate

我尝试升级 55% 后失败了:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.14 80]

我该如何解决这个问题?

答案1

Ubuntu 使用 squid3 而不是普通的 squid。

sudo apt-get install squid3

相关内容