LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why apt-get update doesn't work? (https://www.linuxquestions.org/questions/linux-newbie-8/why-apt-get-update-doesnt-work-703747/)

yuri16 02-10-2009 09:28 PM

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?

jdkaye 02-10-2009 10:26 PM

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

yuri16 02-10-2009 11:36 PM

Quote:

Originally Posted by jdkaye (Post 3439103)
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..

Tinkster 02-11-2009 12:07 AM

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


All times are GMT -5. The time now is 09:57 AM.