LinuxQuestions.org
Help answer threads with 0 replies.
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 06-04-2009, 05:19 AM   #1
Brian1420
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Debian Update Error, Please Help


Well i run the command 'apt-get update' in putty as root to update Debian, But it cannot connect or something. Here is the error.


alpha:~# apt-get update
Err http://security.debian.org etch/updates Release.gpg
Temporary failure resolving 'security.debian.org'
Err http://ftp.de.debian.org etch Release.gpg
Temporary failure resolving 'ftp.de.debian.org'
Failed to fetch http://ftp.de.debian.org/debian/dists/etch/Release.gpg Temporary failure resolving 'ftp.de.debian.org'
Failed to fetch http://security.debian.org/dists/etc...es/Release.gpg Temporary failure resolving 'security.debian.org'
Reading package lists... Done
W: Couldn't stat source package list http://ftp.de.debian.org etch/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_etch_non-free_binary-i386_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-i386_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-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_non-free_binary-i386_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.

Could someone Assist me in this matter. This is urgent. Thanks
 
Old 06-04-2009, 07:12 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you please post the contents of your /etc/apt/sources.list file. I have a feeling you're missing the "deb" that must begin each repo. So your
Quote:
http://ftp.de.debian.org etch/non-free
for example should have,
Code:
 deb http://ftp.de.debian.org etch/non-free
also you are using "etch" which is not the current stable version of debian. I suggest you change "etch" to "lenny" (or better to "stable") in the above mentioned file.
cheers,
jdk

Last edited by jdkaye; 06-04-2009 at 07:13 AM.
 
Old 06-04-2009, 11:37 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
what jdkaye said, except that switching to lenny unprepared is not recommended.
 
  


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
Problem while apt-get update on debian etch, cannot reach security.debian.org sarajevo Debian 4 06-08-2008 11:59 AM
apt-get update error (Debian 4.0) RHTopics Debian 3 11-08-2007 01:49 PM
debian update lostn1slinux Linux - Newbie 5 12-03-2005 02:30 AM
Auto Update Error after update WL7JA SUSE / openSUSE 2 10-12-2005 12:36 PM

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

All times are GMT -5. The time now is 10:25 AM.

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