在我的 Linux 系统中安装 apr(apt-get install libapr1-dev libssl-dev) 出现错误

在我的 Linux 系统中安装 apr(apt-get install libapr1-dev libssl-dev) 出现错误

由于一些安全问题,我将从 Apache 6 迁移到 Apache 7。我尝试在我的 Linux 计算机中安装 apr 软件包。我正在使用以下命令来安装 apr。

apt-get install libapr1-dev libssl-dev

这给了我以下错误:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libapr1 libssl-doc uuid-dev zlib1g-dev
The following NEW packages will be installed:
  libapr1 libapr1-dev libssl-dev libssl-doc uuid-dev zlib1g-dev
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,421 kB of archives.
After this operation, 15.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1e-2+deb7u14
  404  Not Found [IP: 212.211.132.250 80]
Err http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u14
  404  Not Found [IP: 212.211.132.250 80]
Err http://ftp.fr.debian.org/debian/ wheezy/main libapr1 amd64 1.4.6-3+deb7u1
  Connection failed [IP: 212.27.32.66 80]
Err http://ftp.fr.debian.org/debian/ wheezy/main uuid-dev amd64 1.4.6-3+deb7u1
  Connection failed [IP: 212.27.32.66 80]
Err http://ftp.fr.debian.org/debian/ wheezy/main libapr1-dev amd64 1.4.6-3+deb7u1
  Connection failed [IP: 212.27.32.66 80]

我错过了什么吗?

答案1

使用的包列表apt-get已过时;你需要跑

apt-get update

在安装你的软件包之前。连接错误很ftp.fr.debian.org奇怪,我可以访问该网站......

相关内容