我有一个新的Ubuntu10.04服务器正在运行,我不确定它是否正确地连接到互联网。
ifconfig显示我的公司专用网络中有一个IP,用于eth0 (10.90.140.24)
当我尝试做sudo apt-获取安装什么都行或更新时,我从存储库中得到401个错误。sources.list和apt.conf.d没有被碰过--这是一个干净的安装。
--
这是一堆apt-get:
sudo apt-get install lynx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lynx-cur
Suggested packages:
lynx-cur-wrapper
The following NEW packages will be installed:
lynx lynx-cur
0 upgraded, 2 newly installed, 0 to remove and 62 not upgraded.
Need to get 1,482kB of archives.
After this operation, 5,456kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
lynx-cur lynx
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ lucid/main lynx-cur 2.8.8dev.2-1
401 Unauthorized [IP: 91.189.88.40 80]
Err http://us.archive.ubuntu.com/ubuntu/ lucid/main lynx 2.8.8dev.2-1
401 Unauthorized [IP: 91.189.88.40 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/lynx-cur/lynx-cur_2.8.8dev.2-1_amd64.deb 401 Unauthorized [IP: 91.189.88.40 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/lynx-cur/lynx_2.8.8dev.2-1_all.deb 401 Unauthorized [IP: 91.189.88.40 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?发布于 2010-11-12 21:23:17
这是bad...try,把一个虚拟专用网放到你的家庭网络中,看看它是否解决了问题。如果是的话,你就会被重定向或者被劫持。可以合法地重定向,但是不应该用未经验证的包来替换,所以.
https://serverfault.com/questions/201582
复制相似问题