LinuxQuestions.org
Review your favorite Linux distribution.
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 05-21-2006, 02:43 AM   #1
richag77
Member
 
Registered: Apr 2006
Posts: 31
Blog Entries: 1

Rep: Reputation: 15
Unhappy Internet is OK. Can't connect to repository to install apps.


I can connect to the Internet OK and have done an update(apt-get update) but cannot install anything because when I type "apt-get Install foo" it times out and I get the message "cannot connect to archive" I've tried pinging the URLs in the sources list but that doesn't work.In Firefox, I can get to the repository.

Here is the contents of /etc/apt/sources.list
Note: I deleted the http part of the URLs because I was not allowed to have URl's in the meassage.


## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb ://au.archive.ubuntu.com/ubuntu/ dapper universe
deb-src ://au.archive.ubuntu.com/ubuntu/ dapper universe
# Line commented out by installer because it failed to verify:
#deb ://au.archive.ubuntu.com/ubuntu/ dapper main restricted
# Line commented out by installer because it failed to verify:
#deb-src ://au.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
#deb ://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
# Line commented out by installer because it failed to verify:
#deb-src ://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb ://au.archive.ubuntu.com/ubuntu/ dapper universe
deb-src ://au.archive.ubuntu.com/ubuntu/ dapper universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb ://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src ://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

# Line commented out by installer because it failed to verify:
#deb ://security.ubuntu.com/ubuntu[/url] dapper-security main
# Line commented out by installer because it failed to verify:
#deb-src ://security.ubuntu.com/ubuntu dapper-security main
# deb ://security.ubuntu.com/ubuntu dapper-security universe
# deb-src ://security.ubuntu.com/ubuntu dapper-security universe
_________________________________________________________________
I can ping google.com and it's ip address.I can't ping the above URL's but they work in a browser. I cant get email to connect either but Internet browsing via Firefox seems perfect. This is really odd!
I am running Xubuntu dapper Beta 2(had same problem with Ubuntu dapper Fl 6).Any help would be greatly appreciated.
Bye ...richag77

Last edited by richag77; 05-21-2006 at 04:30 AM.
 
Old 05-21-2006, 04:09 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ok ..
apt-get update worked, but you can't ping the repos?
That's a bit odd, isn't it?


Can we get more details about the network? And how exactly does
"the internet works" work? Which activities CAN you do?


Cheers,
Tink
 
Old 05-21-2006, 06:19 AM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
In Firefox, under Edit > Preferences > General > Connection Settings, is there a proxy set?
 
Old 05-21-2006, 02:43 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by robbbert
In Firefox, under Edit > Preferences > General > Connection Settings, is there a proxy set?
And that is relevant to apt-get how?

Or did you just mean to ask him whether he's using a
proxy at all?


Cheers,
Tink
 
Old 05-21-2006, 03:36 PM   #5
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
I don't know what Robbbert meant. But I can say this, if he's using a proxy that may be the problem he's having for apt-get is not aware of that yet.
 
Old 05-22-2006, 08:33 AM   #6
richag77
Member
 
Registered: Apr 2006
Posts: 31
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SkyEye
I don't know what Robbbert meant. But I can say this, if he's using a proxy that may be the problem he's having for apt-get is not aware of that yet.
I've looked at that and there's a "Direct connection to Internet", no proxy. This is a hard one. By the way, Red Hat has no problem getting to its application repository.All this stuff has happened since they put in a new router/modem at work.(Netcomm adsl2+ modem/router)
 
Old 05-22-2006, 05:13 PM   #7
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
What do the admins say (those who control that router)?

You could do some
Quote:
$ traceroute url
and post the outputs for the working / not working URLs - and hope on someone being proficient enough to interprete them.

BTW, I had to install traceroute as it didn't came with the base distribution. Should be a standard tool though?!
Quote:
# yum install traceroute
(or similar, on your system)
 
  


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
KDE applications repository with all KDE apps for Debian vharishankar Debian 2 02-19-2006 08:54 AM
cant connect to internet on fresh install of suse9.1 springdog Linux - Newbie 13 12-27-2004 04:47 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 09:38 PM
post install worries :: cant connect to the internet. caged Slackware 15 05-13-2004 06:42 PM
Linux Apps that connect to Kazaa network Xylon Linux - Software 2 10-04-2003 04:19 AM

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

All times are GMT -5. The time now is 07:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration