LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2008, 07:07 AM   #1
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Rep: Reputation: 17
problem in updating in debian etch


i have a debian etch. I cant able to update my debian. "apt-get update"

THis is my sources.list

deb http://http.us.debian.org/debian/ stable main contrib non-free
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

I have the same sources.list in my another pc and it can able to update without any problems.
Can anyone give me some ideas about it.

THis is the error

Err http://http.us.debian.org stable Release.gpg
Could not connect to http.us.debian.org:80 (35.9.37.225), connection timed outFailed to fetch http://http.us.debian.org/debian/dis...le/Release.gpg Could not connect to http.us.debian.org:80 (35.9.37.225), connection timed out
Reading package lists... Done
W: Couldn't stat source package list http://http.us.debian.org stable/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org stable/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org stable/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


THanks JOHn

Last edited by john83reuben; 02-07-2008 at 07:11 AM.
 
Old 02-07-2008, 08:18 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
Could not connect to http.us.debian.org:80 (35.9.37.225), connection timed outFailed to fetch

you posted the reason yourself ;-)
see if you can ping the host + ip
if that fails, use another mirror
 
Old 02-07-2008, 09:39 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
this might be a stupid question, but are you connected to the internet?
 
Old 02-07-2008, 10:18 AM   #4
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Original Poster
Rep: Reputation: 17
haha mmm yeah..the internet is connected....but it cant able to to update...and i have changed several mirrors. Still the same. I have a question, can we put the IP address of the mirrors, instead of the domain name itself.
 
Old 02-08-2008, 12:39 AM   #5
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Original Poster
Rep: Reputation: 17
Anyone have ideas, Y i cant able to update.hurm, another thing. I am under a campus. Is it because of the firewall.
 
Old 02-08-2008, 01:14 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Replace http://http.us.debian.org with http://ftp.debian.org Just click on the second link to get an idea whether it works or not.

Last edited by jay73; 02-08-2008 at 01:16 AM.
 
Old 02-09-2008, 02:16 PM   #7
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Original Poster
Rep: Reputation: 17
Hurm, sorry for the late reply. I tried that to, but still cant able to update. I am very curious of Y I am not able to update. Please help me.
 
Old 02-09-2008, 03:41 PM   #8
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
would you mind posting your routing table? (route -n)
 
Old 02-11-2008, 11:34 AM   #9
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Original Poster
Rep: Reputation: 17
HI nathanael...My routing table is

Kernel IP routing table
Destination
172.17.69.0
0.0.0.0

Gateway
0.0.0.0
172.17.69.1

Genmask
255.255.255.0
0.0.0.0

Flags
U
UG

Metric
0
0

Ref
0
0

Use
0
0

Iface
eth0
eth0

Last edited by john83reuben; 02-11-2008 at 11:56 AM.
 
Old 02-11-2008, 01:56 PM   #10
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Post also the output of: cat /etc/resolv.conf
Mine looks like:
search dsl.inet.fi #my ISP
nameserver 193.210.18.18 #ISP's primary DNS
nameserver 193.210.19.19 #ISP's secondary DNS
nameserver 192.168.1.1 #My router
 
Old 02-11-2008, 01:57 PM   #11
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
as you can see in the first post, resolving hostnames is not an issue
it's reaching the ip that is causing the issue

can you ping anything, perhaps google.com or so
 
Old 02-24-2008, 07:31 AM   #12
john83reuben
Member
 
Registered: Oct 2007
Location: Kuala Lumpur,Malaysia
Distribution: Debian Etch, OpenSuse
Posts: 132

Original Poster
Rep: Reputation: 17
I cant able to ping google. I think I am under LAN (campus). But I can ping to intranet sites within the campus.

And my resolv.conf is

# generated by NetworkManager, do not edit!
nameserver 172.18.64.223

Last edited by john83reuben; 02-24-2008 at 07:33 AM.
 
Old 02-24-2008, 10:13 AM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Hi, sorry to jump in the thread, but I've got a quick question related to makuyl's post:

Quote:
Post also the output of: cat /etc/resolv.conf
Mine looks like:
search dsl.inet.fi #my ISP
nameserver 193.210.18.18 #ISP's primary DNS
nameserver 193.210.19.19 #ISP's secondary DNS
nameserver 192.168.1.1 #My router
my resolv.conf contains only the line with the address of my router. Without it I wouldn't be able to connect to the internet.
What is the purpose of including the details of my ISP in resolv.conf?

thanks
 
Old 02-25-2008, 11:15 AM   #14
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
In a perfect world the router indeed gets dns servers from your isp and passes them on on requests from your box. In a less than perfect world, it doesn't always happen, but with the dns servers in resolv.conf your box resolves domain names from IP's directly from your ISP's dns servers if/when the router doesn't manage to pass it on.

As for the OP, you might want to ask the campus IT staff about your problemo. With any luck, they're linux friendly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVpnc Problem in Debian Etch richinsc Debian 4 06-08-2008 06:02 AM
Updating Debian Etch to Debian Lenny bartock Debian 4 02-09-2008 08:15 AM
Postfix problem on Debian 4.0 (Etch) tsyuoi Linux - Server 7 10-01-2007 11:59 AM
updating debian etch with ubuntu live CD mariogarcia Debian 15 12-21-2006 07:24 PM
WPA_Supplicant problem on Debian Etch JaseP Linux - Wireless Networking 7 07-25-2006 01:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration