Ubuntu interent ok, cannot update or use synaptic package

Asked by Funkintelecky

I recently installed ubuntu 6.06 on my computer, and cnnect through an ethernet card to the internet just fine...however I cannot apt-get anything and if I ping google i get 100% packet loss...
I wouls love help to get my intarwebs fully working, i read the other q's/ ubuntu forums but nothing i have tried has worked thus far...i am a noob at this.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Funkintelecky
Solved:
Last query:
Last reply:
Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#1

If you ping google and you lost all packs, your connection is not ok and you cannot connect to internet.
What does APT say?

Revision history for this message
Funkintelecky (funkintelecky) said :
#2

Hi andrea!

I have at least some functionality of internet, as I am makeing this post, but i have tried to ping various google servers through a terminal command and they always fail.
When I try to run the software updater it cannot retrieve the 4 files from the repositories, and every time i try to apt-get something it says that it cant find the package. Synaptic package manager also wont update or allow me to get programs.

Revision history for this message
Jim Hutchinson (jphutch) said :
#3

Are you pinging domain names or IP addresses? If addresses then it could be DNS issues. If you ping an IP and it doesn't work then I'm afraid I don't know.

Revision history for this message
Funkintelecky (funkintelecky) said :
#4

the ping thingy works fine now, looking through more of the ubuntu forums I was able to configure my eth0 conenction, my internet seems to be working great.

however, i still cannot seem to get the software updater or synaptic to work...i am confused as to why internet would work but not these.

Revision history for this message
Funkintelecky (funkintelecky) said :
#5

I typed in natuntu@natuntu-desktop:~$ gksudo gedit /etc/apt/sources.list

this is what opened, I don't know if this is part of the problem or not, but I suspect it might be,,,
# Line commented out by installer because it failed to verify:
# Line commented out by installer because it failed to verify:
# deb-src http://us.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 http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://us.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 http://archive.ubuntu.com/ubuntu/ dapper universe main restricted
# deb-src http://us.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 http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu dapper-security main
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu dapper-security main
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe

Revision history for this message
Funkintelecky (funkintelecky) said :
#6

natuntu@natuntu-desktop:~$ gksudo gedit /etc/apt/sources.list
(gedit:15171): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

that is what the terminal said...I think that is a problem...I am currently trying to figure out how to fix this, any help/advise would be appreciated.

Revision history for this message
Funkintelecky (funkintelecky) said :
#7

I uncommented all of those lines with the url...but the problem persists.
when I tried to update it still failed.

[img]http://img215.imageshack.us/img215/9056/screenshotkd8.png[/img]

Revision history for this message
Funkintelecky (funkintelecky) said :
#8

http://us.archive.ubuntu.com/ubuntu/dists/dapper/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
http://us.archive.ubuntu.com/ubuntu/dists/dapper-updates/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
http://archive.ubuntu.com/ubuntu/dists/dapper/Release.gpg: Could not connect to archive.ubuntu.com:80 (1.0.0.0), connection timed out
http://us.archive.ubuntu.com/ubuntu/dists/dapper-backports/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (1.0.0.0), connection timed out
http://security.ubuntu.com/ubuntu/dists/dapper-security/Release.gpg: Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#9

I can access the sources... Try to change server (use main for example).

Revision history for this message
Funkintelecky (funkintelecky) said :
#10

how do i change server to main?

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#11

System → Administration → Software sources (or similar)
or
Directory «/etc/apt/» double-click on «sources.list»

Revision history for this message
Funkintelecky (funkintelecky) said :
#12

okay, now that i've opened up the sources list what changes should i make?

Revision history for this message
Funkintelecky (funkintelecky) said :
#13

ok, i added several other repositories tp the list....but still every time I try to check for updates or download package information it fails :( what can i do?

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#14

Chenge the server name ("Download from") to main.

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#15

You didn't have to add repos, you had only to change server.

Revision history for this message
Funkintelecky (funkintelecky) said :
#16

ok, heres what it looks like....is this how it should be? (i added the main one at the top)

## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

deb http://us.archive.ubuntu.com/ubuntu dapper main

deb http://us.archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://packages.medibuntu.org/ dapper free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera and more to come.)
deb http://archive.canonical.com/ubuntu dapper-commercial main

Revision history for this message
Bhavani Shankar (bhavi) said :
#17

do you use a proxy?

Revision history for this message
Bhavani Shankar (bhavi) said :
#18

sorry pressed the wrong button

Revision history for this message
Funkintelecky (funkintelecky) said :
#19

I decided to just upgrade feisty, thank you for your support, it actually did help, in the end, the new install got everything sorted out. Thanks!