LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-12-2012, 06:34 AM   #16
animalcrackers
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled

ok, I tried
Code:
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
and did apt-get update but I got the same results as before,
Code:
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
 
Old 09-12-2012, 06:42 AM   #17
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
You are saving the file after you change it aren't you? Just checking.

They may be updating the servers and this may be what the problem is. I have had it sometimes that when they update the server in Australia I cannot update my system. The regular non us repository is still located in the us so that may answer why you are still not getting anything. I would recommend waiting a few hours and try again then. If it still doesn't work we will have to dig a bit deeper. Anyway I'll be gone till morning, here in Australia, I'll check again in the morning to see if you have been able to update after waiting a while.
 
Old 09-12-2012, 02:30 PM   #18
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
How did you go with this animalcrackers?
 
Old 09-12-2012, 04:11 PM   #19
animalcrackers
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled
alright, something a bit different happened this time,
Quote:
Err http://ftp.debian.org squeeze-updates Release.gpg
Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)
Err http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en
Unable to connect to localhost:4001:
Err http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en_US
Unable to connect to localhost:4001:
Err http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Unable to connect to localhost:4001:
Err http://ftp.debian.org/debian/ squeeze-updates/main Translation-en_US
Unable to connect to localhost:4001:
Err http://ftp.debian.org/debian/ squeeze-updates/non-free Translation-en
Unable to connect to localhost:4001:
Err http://ftp.debian.org/debian/ squeeze-updates/non-free Translation-en_US
Unable to connect to localhost:4001:
Err http://security.debian.org squeeze/updates Release.gpg
Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)
Err http://security.debian.org/ squeeze/updates/contrib Translation-en
Unable to connect to localhost:4001:
Err http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Unable to connect to localhost:4001:
Err http://security.debian.org/ squeeze/updates/main Translation-en
Unable to connect to localhost:4001:
Err http://security.debian.org/ squeeze/updates/main Translation-en_US
Unable to connect to localhost:4001:
Err http://security.debian.org/ squeeze/updates/non-free Translation-en
Unable to connect to localhost:4001:
Err http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org stable Release.gpg
Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)
Err http://ftp.us.debian.org/debian/ stable/contrib Translation-en
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org/debian/ stable/contrib Translation-en_US
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org/debian/ stable/main Translation-en
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org/debian/ stable/main Translation-en_US
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org/debian/ stable/non-free Translation-en
Unable to connect to localhost:4001:
Err http://ftp.us.debian.org/debian/ stable/non-free Translation-en_US
Unable to connect to localhost:4001:
Reading package lists... Done
W: Failed to fetch http://ftp.us.debian.org/debian/dist...le/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://ftp.us.debian.org/debian/dist...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.us.debian.org/debian/dist...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.us.debian.org/debian/dist...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.us.debian.org/debian/dist...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.us.debian.org/debian/dist...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.us.debian.org/debian/dist...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...es/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://ftp.debian.org/debian/dists/s...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://ftp.debian.org/debian/dists/s...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...es/Release.gpg Could not connect to localhost:4001 (127.0.0.1). - connect (111: Connection refused)

W: Failed to fetch http://security.debian.org/dists/squ...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...slation-en.bz2 Unable to connect to localhost:4001:

W: Failed to fetch http://security.debian.org/dists/squ...tion-en_US.bz2 Unable to connect to localhost:4001:

W: Some index files failed to download, they have been ignored, or old ones used instead.
So thats different from what I had earlier.
 
Old 09-12-2012, 04:13 PM   #20
animalcrackers
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled
and I decided to try to do the exact same thing again and I got the same thing happening as yesterday,
Code:
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
 
Old 09-12-2012, 06:47 PM   #21
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Why is it trying to connect to localhost?

Read this thread and follow the, unfortunately limited, instructions.
 
1 members found this post helpful.
Old 09-12-2012, 06:51 PM   #22
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Read this thread as well.

It appears as though your setup has a proxy for some unknown reason. Follow the instructions in the 2 threads I have linked for you and see what happens.
 
2 members found this post helpful.
Old 09-12-2012, 07:22 PM   #23
animalcrackers
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled
alright, I cant seem to figure out how to get permission to edit the /etc/network/interfaces file and I would need to do that to do everything on the thread you gave me, I tried
Quote:
gedit /etc/network/interfaces
but it tells me
Quote:
No protocol specified

(gedit:17426): Gtk-WARNING **: cannot open display: :0.0
and when I manually go to the file and open it with gedit I cant change anything, also when I go to the properties and permissions it says that root only has permission to read/write. how do I change the permissions or open it as root? in my root terminal it gives me the same gripe.
 
Old 09-12-2012, 10:09 PM   #24
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by animalcrackers View Post
alright, I cant seem to figure out how to get permission to edit the /etc/network/interfaces file and I would need to do that to do everything on the thread you gave me, I tried but it tells me
and when I manually go to the file and open it with gedit I cant change anything, also when I go to the properties and permissions it says that root only has permission to read/write. how do I change the permissions or open it as root? in my root terminal it gives me the same gripe.
Type in a terminal
Code:
su
enter your password then type
Code:
gedit /etc/network/interfaces
that should give you permissions to edit the file.
 
1 members found this post helpful.
Old 09-12-2012, 11:27 PM   #25
animalcrackers
LQ Newbie
 
Registered: Aug 2012
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: Disabled
Yes, I thought that I did it wrong because I still saw some errors, but I just updated my programs and installed a game as a tester, so that problem has been solved! Thanks for your help, Im going to try and solve my other problems on my own, if I cant figure it out Ill come back .
animalcrackers
 
Old 09-13-2012, 01:56 AM   #26
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Excellent stuff, don't ever be worried about asking for help we are all here to help each other.
 
  


Reply



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
How to update Debian install spartman Debian 10 05-20-2013 11:57 AM
Debian APT-Get. Can't retrieve/install any programs. ittiandro Linux - Newbie 3 01-15-2011 07:45 PM
how can i install debian 5.06 in my pc i have downloaded debian-update-5.0.6-i386-DVD siddtanu Debian 2 10-21-2010 02:56 PM
Problem while apt-get update on debian etch, cannot reach security.debian.org sarajevo Debian 4 06-08-2008 11:59 AM
how do i install programs using debian kjcvel Linux - Software 3 09-25-2005 10:14 AM

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

All times are GMT -5. The time now is 04:19 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
Open Source Consulting | Domain Registration