LinuxQuestions.org
Help answer threads with 0 replies.
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 11-30-2004, 03:57 PM   #1
cjstmcjstm
LQ Newbie
 
Registered: Nov 2004
Location: Texas
Distribution: Redhat 9.0
Posts: 5

Rep: Reputation: 0
apt-get port question


Does anyone know what port apt-get uses to connect with (or how to find out what port it is using). Every time I try to perform a apt-get update I recieve a message stating that the connection timed out. I think I need to open a port on my wireless gateway/router so apt-get can access the internet.
 
Old 11-30-2004, 06:14 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
apt-get usually uses http or ftp ( depending on the configuration of the repositories ), which is port 80 and 21 normally. It doesn't use any special ports. Your router shouldn't block these as there normal internet access ports, and its a request for your machine out, not an access request in.

Check the configuration and try pinging the repositories to make sure their up and running.
 
Old 11-30-2004, 07:39 PM   #3
cjstmcjstm
LQ Newbie
 
Registered: Nov 2004
Location: Texas
Distribution: Redhat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
apt-get problems

I opened port 80 on my router and it didn't help anything here is the output I am getting from apt-get

root@localhost charlie]# apt-get update
Err http://ayo.freshrpms.net redhat/9/i386 release
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/os pkglist
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/os release
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/updates release
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Err http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i386/base/release Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i386/base/pkglist.os Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i386/base/release.os Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i3...kglist.updates Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i3...elease.updates Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i3...list.freshrpms Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Failed to fetch http://ayo.freshrpms.net/redhat/9/i3...ease.freshrpms Could not connect to ayo.freshrpms.net:80 (32.1.7.112), connection timed out
Reading Package Lists... Done
Building Dependency Tree... Done
W: Release files for some repositories could not be retrieved or authenticated.
Such repositories are being ignored.
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.
[root@localhost charlie]#

could someone tell me what it going on here I don't have a clue
 
Old 11-30-2004, 08:32 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
If you click in the links that your post created, do you get the files or a time out message?
 
Old 11-30-2004, 10:17 PM   #5
cjstmcjstm
LQ Newbie
 
Registered: Nov 2004
Location: Texas
Distribution: Redhat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
time out

I get a message that the action has timed out I think thier server is down. Attempting to edit the /etc/apt/source.list file with other repository address. Hope it woirks
 
  


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
apt-get -d question crispyleif Debian 6 11-17-2005 10:23 PM
apt-get question atom Linux - Software 0 09-18-2004 04:42 PM
apt-get question mvp Linux - Newbie 2 08-28-2003 04:20 AM
apt-get question pkoebbe Debian 7 07-06-2003 05:31 PM
apt-get question deltaboy38655 Linux - Newbie 1 06-21-2003 06:53 PM


All times are GMT -5. The time now is 12:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration