LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet is OK. Can't connect to repository to install apps. (https://www.linuxquestions.org/questions/linux-newbie-8/internet-is-ok-cant-connect-to-repository-to-install-apps-446913/)

richag77 05-21-2006 01:43 AM

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

Tinkster 05-21-2006 03:09 AM

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

robbbert 05-21-2006 05:19 AM

In Firefox, under Edit > Preferences > General > Connection Settings, is there a proxy set?

Tinkster 05-21-2006 01:43 PM

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

SkyEye 05-21-2006 02:36 PM

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.

richag77 05-22-2006 07:33 AM

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)

robbbert 05-22-2006 04:13 PM

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)


All times are GMT -5. The time now is 12:28 AM.