日期:2014-05-16  浏览次数:20592 次

linux急!!
试了好几种方法,下面的问题都没有解决,求帮助!
mali@mali:~/下载$ cd wine-1.2-rc1
mali@mali:~/下载/wine-1.2-rc1$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
mali@mali:~/下载/wine-1.2-rc1$ sudo apt-get install flex
[sudo] password for mali: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会安装下列额外的软件包:
  m4
建议安装的软件包:
  bison build-essential
下列【新】软件包将被安装:
  flex m4
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 89 个软件包未被升级。
需要下载 520kB 的软件包。
解压缩后会消耗掉 1,655kB 的额外空间。
您希望继续执行吗?[Y/n]y
【警告】:下列软件包不能通过验证!
  m4 flex
不经验证就安装这些软件包吗?[y/N] y
错误 http://Ubuntu.uestc.edu.cn/ubuntu/ maverick/main m4 i386 1.4.14-3
  无法连接上 Ubuntu.uestc.edu.cn:80 (202.115.22.208),连接超时
错误 http://Ubuntu.uestc.edu.cn/ubuntu/ maverick/main flex i386 2.5.35-9.1
  不能连接到 Ubuntu.uestc.edu.cn:http:
无法下载 http://Ubuntu.uestc.edu.cn/ubuntu/pool/main/m/m4/m4_1.4.14-3_i386.deb  无法连接上 Ubuntu.uestc.edu.cn:80 (202.115.22.208),连接超时
无法下载 http://Ubuntu.uestc.edu.cn/ubuntu/pool/main/f/flex/flex_2.5.35-9.1_i386.deb  不能连接到 Ubuntu.uestc.edu.cn:http:
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
linux Linux

------解决方案--------------------
ubuntu 10.10有些老了,已经不再提供支持了.建议学习的话,换新版12.04 LTS 

E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?

另外,可以换个源试试.
update-manager
选择设置->ubuntu软件, 然后有个下拉列表,换个别的试试.
------解决方案--------------------
换一下安装源