PDA

View Full Version : apt-get install flex


caspert_ghost
18th May 2007, 07:18
apt-get install flex
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
flex
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 232kB of archives.
After unpacking 983kB of additional disk space will be used.
Err http://cn.archive.ubuntu.com feisty/main flex 2.5.33-10build1
Connection failed [IP: 91.189.89.6 80]
Err http://gb.archive.ubuntu.com feisty/main flex 2.5.33-10build1
Connection failed
Err http://us.archive.ubuntu.com feisty/main flex 2.5.33-10build1
Connection failed [IP: 91.189.89.6 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/flex/flex_2.5.33-10build1_i386.deb Connection failed [IP: 91.189.89.6 80]


Anyone know how to get this to install or the correct address?
Thank you

till
18th May 2007, 11:05
Please check if your internet connaction is up ith e.g.:

ping -c3 www.google.com

caspert_ghost
19th May 2007, 17:07
ping -c3 www.google.com
PING www-china.l.google.com (66.249.89.99) 56(84) bytes of data.

--- www-china.l.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2079ms

falko
20th May 2007, 17:57
What's the output of ping -c3 66.249.89.99? What's in /etc/resolv.conf, /etc/network/interfaces, and what's the output of ifconfig and route -nee?

caspert_ghost
21st May 2007, 15:10
ping -c3 66.249.89.99
root@server1:~# ping -c3 66.249.89.99
PING 66.249.89.99 (66.249.89.99) 56(84) bytes of data.

--- 66.249.89.99 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2063ms

ifconfig
root@server1:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:FF:02:6D:65
inet addr:172.16.8.15 Bcast:172.16.8.63 Mask:255.255.255.192
inet6 addr: fe80::203:ffff:fe02:6d65/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54084 errors:0 dropped:0 overruns:0 frame:0
TX packets:52212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:48157384 (45.9 MiB) TX bytes:4987370 (4.7 MiB)
Interrupt:11 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13309 (12.9 KiB) TX bytes:13309 (12.9 KiB)


route -nee
root@server1:~# route -nee
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
172.16.8.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0 0 0 0
0.0.0.0 172.16.8.62 0.0.0.0 UG 0 0 0 eth0 0 0 0

falko
22nd May 2007, 18:12
Is 172.16.8.62 your router's IP address?