LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Closed Thread
  Search this Thread
Old 02-10-2009, 09:28 PM   #1
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Rep: Reputation: 15
Question Why apt-get update doesn't work?


the vim /etc/apt/sources.list

deb http://opensource.nchc.org.tw/debian etch main non-free
deb http://security.debian.org/ etch/updates main contrib

Error:

Err http://opensource.nchc.org.tw etch Release.gpg
Temporary failure resolving 'proxy.pregi.net'
Err http://security.debian.org etch/updates Release.gpg
Temporary failure resolving 'proxy.pregi.net'
Failed to fetch http://opensource.nchc.org.tw/debian...ch/Release.gpg Temporary failure resolving 'proxy.pregi.net'
Failed to fetch http://security.debian.org/dists/etc...es/Release.gpg Temporary failure resolving 'proxy.pregi.net'
Reading package lists... Done
W: Couldn't stat source package list http://opensource.nchc.org.tw etch/non-free Packages (/var/lib/apt/lists/opensource.nchc.org.tw_debian_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
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.


What seems to be the problem?
 
Old 02-10-2009, 10:26 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Based on your error messages, I would guess that your web proxy (?), proxy.pregi.net, was down when you tried to use apt-get. I tried pinging the proxy and it is now online. You might try it again to see if it works now. I assume you have a functioning DNS configured.
cheers,
jdk
 
Old 02-10-2009, 11:36 PM   #3
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
Based on your error messages, I would guess that your web proxy (?), proxy.pregi.net, was down when you tried to use apt-get. I tried pinging the proxy and it is now online. You might try it again to see if it works now. I assume you have a functioning DNS configured.
cheers,
jdk
It is now okay..thank you..
 
Old 02-11-2009, 12:07 AM   #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
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...d.php?t=703745
 
  


Closed Thread


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
Why apt-get update doesn't work? yuri16 Debian 4 02-10-2009 11:17 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get update doesn't work cccc Debian 1 01-04-2008 02:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM

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

All times are GMT -5. The time now is 11:59 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