apt-get problem
When I try to install package to the server , it pop the below messages , I check the file /etc/apt/sources.list , it is normal and no proxy is required to connect to internet , could advise what is wrong in my system ? thx
Could not resolve 'ftp.hk.debian.org' Failed to fetch http://ftp.hk.debian.org/debian/pool...-tftp/tftp_0.1 7-15_i386.deb Could not resolve 'ftp.hk.debian.org' |
Did you ping ftp.hk.debian.org? Maybe the server's down for some reason...
M. |
that file does exist on that server, (you can browse to the location with ta standard web browser.) There is even a newer version of that file on the server.
Either you are having troubles resolving the name (DNS ISSUES) and you can't browse the net at all, or maybe the server itself was having temporary difficulties. I would say apt-get update and try again. http://ftp.hk.debian.org/debian/pool...17-15_i386.deb http://ftp.hk.debian.org/debian/pool...17-16_i386.deb |
Quote:
having troubles resolving the name --> how can I know if I have DNS problem ? how to config it ? problem to browsing on the net --> how can I know if I can browse on the net ? I can't ping yahoo.com , may be it was blocked by our internal firewall . thx |
Can you open a web browser and go to ANY web sites ?
When you tried to ping yahoo.com did it return an IP address ? Code:
user@it-etch:~$ ping yahoo.com Code:
er@it-etch:~$ ping 206.190.60.37 route -n cat /etc/resolv.conf |
I can't browse to internet as the server do not have gui mode installed .
I can't ping www.yahoo.com as the firewall is not allowed to ping for DNS and route -n , I checked that all these settings in all servers is the same , but some server can use apt-get , but some can't , can advise what is the possible reason some server can't use apt-get , p.s. they are in same server farm , same segment . Thx |
Well maybe your firewall is blocking that as well...
I have my firewall configured to only allow specific hosts in the DMZ, access to the Debian update servers I use. None of the servers in my DMZ should really have or need unfettered outbound web access for their primary functions. Simple solution is to log into your firewall, and do a packet trace filtered on traffic to and from that Debian host. it should be pretty indicative from that capture where the hangup is occurring. is the traffic getting out ? is it being nat'd, is it coming back ? is it being forwarded back to the host ? |
All times are GMT -5. The time now is 11:55 PM. |