在提示符后 使用命令 sudo apt-get install qt-sdk 安装
过程中出现大量的 “Failed to fetch http://secu..............”错误。如下:
.........
ed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-sql-sqlite_4.5.3really4.5.2-0ubuntu1_i386.deb 404 Not Found [IP: 202.118.1.64 80]
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-doc_4.5.3really4.5.2-0ubuntu1_all.deb 404 Not Found [IP: 202.118.1.64 80]
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-doc-html_4.5.3really4.5.2-0ubuntu1_all.deb 404 Not Found [IP: 202.118.1.64 80]
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-dev-tools_4.5.3really4.5.2-0ubuntu1_i386.deb 404 Not Found [IP: 202.118.1.64 80]
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-designer_4.5.3really4.5.2-0ubuntu1_i386.deb 404 Not Found [IP: 202.118.1.64 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/q/qtcreator/qtcreator_1.2.1-3ubuntu1.1_i386.deb 404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/q/qtcreator/qtcreator-doc_1.2.1-3ubuntu1.1_all.deb 404 Not Found [IP: 91.189.91.23 80]
Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-demos_4.5.3really4.5.2-0ubuntu1_i386.deb 404 Not Found [IP: 202.118.1.64 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
.......
------解决思路----------------------
Ubuntu9.10 (Karmic Koala) 早在 2011年4月就已经停止支持了(18个月的生命周期)。
你这是随便找了一个老的安装盘安装的系统,还是你的机器在09年装的系统一直没有用??
------解决思路----------------------
都啥时候了,最少也得用12.04吧,那是永久支持的。
话说用linux系统,支持还是很重要的,要不简直没法用。
------解决思路----------------------
抛开Qt什么的不说,你要先弄明白你正在做什么。
你用的是一个几年前就已经停止支持的操作系统(也就是它的软件仓库几年前就已经关闭了),而你在试图用apt-get 从一个不存在的仓库中 下载安装一个名叫 qt-sdk 的软件包。
------解决思路----------------------
你是的 12.04 LTS:长期支持(比一般版本支持周期长一些),不是永久支持