LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-21-2006, 11:06 AM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
apt-get update error


Im not sure what to do:

root@Machination:~#apt-get update
Get:1 http://kanotix.com sid Release.gpg [189B]
Hit http://kanotix.com sid Release
Hit http://kanotix.com sid/main Packages
Ign http://amd64.debian.net sid Release.gpg
Hit http://kanotix.com sid/contrib Packages
Hit http://kanotix.com sid/non-free Packages
Hit http://kanotix.com sid/main Sources
Hit http://kanotix.com sid/contrib Sources
Hit http://kanotix.com sid/non-free Sources
Ign http://amd64.debian.net sid Release
Ign http://amd64.debian.net sid/main Packages
Ign http://amd64.debian.net sid/contrib Packages
Ign http://amd64.debian.net sid/non-free Packages
Ign http://amd64.debian.net sid/main Sources
Ign http://amd64.debian.net sid/contrib Sources
Ign http://amd64.debian.net sid/non-free Sources
Err http://amd64.debian.net sid/main Packages
404 Not Found
Err http://amd64.debian.net sid/contrib Packages
404 Not Found
Err http://amd64.debian.net sid/non-free Packages
404 Not Found
Err http://amd64.debian.net sid/main Sources
404 Not Found
Err http://amd64.debian.net sid/contrib Sources
404 Not Found
Err http://amd64.debian.net sid/non-free Sources
404 Not Found
Fetched 1B in 1s (1B/s)
Failed to fetch http://amd64.debian.net/debian-pure6...64/Packages.gz 404 Not Found
Failed to fetch http://amd64.debian.net/debian-pure6...64/Packages.gz 404 Not Found
Failed to fetch http://amd64.debian.net/debian-pure6...64/Packages.gz 404 Not Found
Failed to fetch http://amd64.debian.net/debian-pure6...rce/Sources.gz 404 Not Found
Failed to fetch http://amd64.debian.net/debian-pure6...rce/Sources.gz 404 Not Found
Failed to fetch http://amd64.debian.net/debian-pure6...rce/Sources.gz 404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://amd64.debian.net sid/main Packages (/var/lib/apt/lists/amd64.debian.net_debian-pure64_dists_sid_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://amd64.debian.net sid/contrib Packages (/var/lib/apt/lists/amd64.debian.net_debian-pure64_dists_sid_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://amd64.debian.net sid/non-free Packages (/var/lib/apt/lists/amd64.debian.net_debian-pure64_dists_sid_non-free_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.
 
Old 06-21-2006, 11:11 AM   #2
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
You need to change you sources. The AMD64 sources are no longer there they have been incorporated into the standard mirrors. Do a search of this forum and you will find several post regarding this.
 
Old 06-21-2006, 12:54 PM   #3
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
I tried changing it as suggested in other threads, but I still get lots of errors. How do I know which sites to use and what I need in sources.lst?
 
Old 06-21-2006, 01:17 PM   #4
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Check out the sticky at the top of this forum and enter the lines exactly like they are in that thread. Also try removing the / between sid and the type.

The line should look like this:

deb http://http.us.debian.org/debian/ sid main contrib non-free
 
Old 06-21-2006, 01:50 PM   #5
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
I get this after I changed it to the line you said

root@Machination:~# apt-get update
Get:1 http://http.us.debian.org sid Release.gpg [189B]
Get:2 http://http.us.debian.org sid Release [38.3kB]
Ign http://http.us.debian.org sid Release
Get:3 http://http.us.debian.org sid/main Packages [3069kB]
Get:4 http://http.us.debian.org sid/contrib Packages [39.7kB]
Get:5 http://http.us.debian.org sid/non-free Packages [37.0kB]
Fetched 3185kB in 11s (287kB/s)
Reading package lists... Done
W: GPG error: http://http.us.debian.org sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems
root@Machination:~#
 
Old 06-21-2006, 02:10 PM   #6
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Try the following as root. Make sure you have sudo installed first.

1) open the Konsole, type su and enter your root password
2) then type: gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 2D230C5F
3) then type: gpg --armor --export 2D230C5F | sudo apt-key add -
4) and finally: apt-get update
 
Old 06-21-2006, 02:20 PM   #7
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
Ok thanks, now when I try to install things like below, or remove apps from kpackage I get errors about /etc/apt/preferences

root@Machination:~# apt-get install vlc
Reading package lists... Done
E: Unable to parse package file /etc/apt/preferences (1)
 
Old 06-21-2006, 02:42 PM   #8
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Try:

apt-get clean
apt-get update

if that does not work try searching the forums for "/etc/apt/preferences" to make sure yours has not been corrupted.
 
Old 06-21-2006, 03:34 PM   #9
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
I tried that, and mine looks similar to other examples
 
Old 06-23-2006, 02:59 AM   #10
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Can you please post it?
 
  


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
what to do? gpg error on apt-get update darkleaf Debian 7 04-30-2006 04:24 AM
apt-get update error - Behind ISA issey Ubuntu 7 01-25-2006 06:02 AM
apt-get update error msg anti.corp Debian 2 01-07-2006 05:25 PM
apt-get update error on FC3 obliviux Linux - General 3 06-16-2005 08:58 PM
apt-get update error cedar Debian 9 09-04-2004 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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