尝试安装ab(apache基准测试)时:
sudo apt-get install apache2-utils
在我的Mint 16 / Ubuntu 13系统上,我收到此消息:
sudo apt-get install apache2-utils
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjs-cropper libjs-prototype libjs-scriptaculous libphp-phpmailer libphp-snoopy tinymce
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
apache2-utils
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 82,4 kB of archives.
After this operation, 344 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
apache2-utils
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ saucy-updates/main apache2-utils amd64 2.4.6-2ubuntu2.2
404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com/ubuntu/ saucy-security/main apache2-utils amd64 2.4.6-2ubuntu2.2
404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.4.6-2ubuntu2.2_amd64.deb 404 Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
的
sudo apt-get update
没有改变任何事情,而这个:
sudo apt-get install apache2-utils --fix-missing
更改了邮件的最后一行:
...
E: Internal Error, ordering was unable to handle the media swap
&#39;订购无法处理媒体交换&#39; - 我明白了
浏览http://security.ubuntu.com/ubuntu/pool/main/a/apache2/目录时,我可以看到有很多软件包,但缺少2.4.6:
...
apache2-utils_2.2.22-1ubuntu1_amd64.deb 13-Feb-2012 02:34 89K
apache2-utils_2.2.22-1ubuntu1_i386.deb 13-Feb-2012 02:34 87K
apache2-utils_2.4.7-1ubuntu4.5_amd64.deb 27-Jul-2015 17:43 82K
apache2-utils_2.4.7-1ubuntu4.5_i386.deb 27-Jul-2015 17:44 82K
apache2-utils_2.4.7-1ubuntu4.9_amd64.deb 14-Jan-2016 18:15 80K
...
所以,问题是:
系统版本信息:
$ cat /etc/linuxmint/info
RELEASE=16
CODENAME=petra
EDITION="Cinnamon 64-bit"
DESCRIPTION="Linux Mint 16 Petra"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_petra_cinnamon_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_petra_cinnamon.php
USER_GUIDE_URL=http://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 16 Cinnamon 64-bit
$ inxi -S
System: Host: rupert Kernel: 3.11.0-14-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 16 Petra
$ cat /etc/*-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=16
DISTRIB_CODENAME=petra
DISTRIB_DESCRIPTION="Linux Mint 16 Petra"
NAME="Ubuntu"
VERSION="13.10, Saucy Salamander"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.10"
VERSION_ID="13.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"