PDA

View Full Version : apt-get after knoppix-installer on 3.4



bfc
05-07-2004, 05:01 AM
I got knoppix installed perty painlessly on my HD now and am not used to debian based systems, but know a little about apt-get. I did apt-get update and then apt-get upgrade to get all my installed packages uptodate. After the upgrade i get the following message.



root@knoppix:/home/eric# apt-get update
Err http://ftp.us.debian.org stable/main Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/main Release
Err http://ftp.us.debian.org stable/contrib Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/contrib Release
Err http://ftp.us.debian.org stable/non-free Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Hit http://debian.isg.ee.ethz.ch woody/madwifi Packages
Ign http://debian.isg.ee.ethz.ch woody/madwifi Release
Hit http://debian.isg.ee.ethz.ch woody/madwifi Sources
Ign http://debian.isg.ee.ethz.ch woody/madwifi Release
Hit http://debian.isg.ee.ethz.ch woody/airo-mpi Packages
Ign http://debian.isg.ee.ethz.ch woody/airo-mpi Release
Hit http://debian.isg.ee.ethz.ch woody/airo-mpi Sources
Ign http://debian.isg.ee.ethz.ch woody/airo-mpi Release
Ign http://ftp.us.debian.org stable/non-free Release
Err http://ftp.us.debian.org stable/non-US/main Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/non-US/main Release
Err http://ftp.us.debian.org stable/non-US/contrib Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://security.debian.org testing/updates/main Packages
Ign http://ftp.us.debian.org stable/non-US/contrib Release
Err http://ftp.us.debian.org stable/non-US/non-free Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/non-US/non-free Release
Hit http://security.debian.org testing/updates/main Release
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/contrib Release
Err http://ftp.us.debian.org stable/main Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/main Release
Err http://ftp.us.debian.org stable/contrib Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/contrib Release
Err http://ftp.us.debian.org stable/non-free Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/non-free Release
Err http://ftp.us.debian.org stable/non-US/main Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/non-free Release
Ign http://ftp.us.debian.org stable/non-US/main Release
Err http://ftp.us.debian.org stable/non-US/contrib Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/non-US/contrib Release
Err http://ftp.us.debian.org stable/non-US/non-free Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org stable/non-US/non-free Release
Err http://ftp.us.debian.org testing/main Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/main Release
Err http://ftp.us.debian.org testing/contrib Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/contrib Release
Err http://ftp.us.debian.org testing/non-free Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-free Release
Err http://ftp.us.debian.org testing/non-US/main Packages

301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/main Release
Err http://ftp.us.debian.org testing/non-US/contrib Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/contrib Release
Err http://ftp.us.debian.org testing/non-US/non-free Packages
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/non-free Release
Err http://ftp.us.debian.org testing/main Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/main Release
Err http://ftp.us.debian.org testing/contrib Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/contrib Release
Err http://ftp.us.debian.org testing/non-free Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-free Release
Err http://ftp.us.debian.org testing/non-US/main Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/main Release
Err http://ftp.us.debian.org testing/non-US/contrib Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/contrib Release
Err http://ftp.us.debian.org testing/non-US/non-free Sources
301 Moved Permanently [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org testing/non-US/non-free Release
Hit http://ftp.us.debian.org unstable/main Packages
Hit ftp://ftp.gwdg.de woody/main Packages
Hit http://ftp.us.debian.org unstable/main Release
Hit http://ftp.us.debian.org unstable/contrib Packages
Hit http://ftp.us.debian.org unstable/contrib Release
Hit http://ftp.us.debian.org unstable/non-free Packages
Hit http://ftp.us.debian.org unstable/non-free Release
Err http://ftp.us.debian.org unstable/non-US/main Packages
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/main Release
Err http://ftp.us.debian.org unstable/non-US/contrib Packages
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/contrib Release
Err http://ftp.us.debian.org unstable/non-US/non-free Packages
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/non-free Release
Hit http://ftp.us.debian.org unstable/main Sources
Hit http://ftp.us.debian.org unstable/main Release
Get:1 ftp://ftp.gwdg.de woody/main Release
Hit http://ftp.us.debian.org unstable/contrib Sources
Hit http://ftp.us.debian.org unstable/contrib Release
Hit http://ftp.us.debian.org unstable/non-free Sources
Hit http://ftp.us.debian.org unstable/non-free Release
Err http://ftp.us.debian.org unstable/non-US/main Sources
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/main Release
Err http://ftp.us.debian.org unstable/non-US/contrib Sources
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/contrib Release
Err http://ftp.us.debian.org unstable/non-US/non-free Sources
404 Not Found [IP: 204.152.189.120 80]
Ign http://ftp.us.debian.org unstable/non-US/non-free Release
Hit http://ftp.us.debian.org ../project/experimental/main Packages
Hit http://ftp.us.debian.org ../project/experimental/main Release
Hit http://ftp.us.debian.org ../project/experimental/contrib Packages
Hit http://ftp.us.debian.org ../project/experimental/contrib Release
Hit http://ftp.us.debian.org ../project/experimental/non-free Packages
Hit http://ftp.us.debian.org ../project/experimental/non-free Release
Hit http://ftp.us.debian.org ../project/experimental/main Sources
Hit http://ftp.us.debian.org ../project/experimental/main Release
Hit http://ftp.us.debian.org ../project/experimental/contrib Sources
Hit http://ftp.us.debian.org ../project/experimental/contrib Release
Ign ftp://ftp.gwdg.de woody/main Release
Hit http://ftp.us.debian.org ../project/experimental/non-free Sources
Hit http://ftp.us.debian.org ../project/experimental/non-free Release
Hit ftp://ftp.gwdg.de woody/non-free Packages
Get:2 ftp://ftp.gwdg.de woody/non-free Release
Ign ftp://ftp.gwdg.de woody/non-free Release
Hit ftp://ftp.gwdg.de woody/main Sources
Get:3 ftp://ftp.gwdg.de woody/main Release
Ign ftp://ftp.gwdg.de woody/main Release
Hit ftp://ftp.gwdg.de woody/non-free Sources
Get:4 ftp://ftp.gwdg.de woody/non-free Release
Ign ftp://ftp.gwdg.de woody/non-free Release
Hit ftp://ftp.gwdg.de unstable/main Packages
Get:5 ftp://ftp.gwdg.de unstable/main Release
Ign ftp://ftp.gwdg.de unstable/main Release
Hit ftp://ftp.gwdg.de unstable/non-free Packages
Get:6 ftp://ftp.gwdg.de unstable/non-free Release
Ign ftp://ftp.gwdg.de unstable/non-free Release
Hit ftp://ftp.gwdg.de unstable/main Sources
Get:7 ftp://ftp.gwdg.de unstable/main Release
Ign ftp://ftp.gwdg.de unstable/main Release
Hit ftp://ftp.gwdg.de unstable/non-free Sources
Get:8 ftp://ftp.gwdg.de unstable/non-free Release
Ign ftp://ftp.gwdg.de unstable/non-free Release
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/main/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/contrib/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/non-free/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/main/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/contrib/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/non-free/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/main/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/contrib/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/stable/non-free/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/main/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/contrib/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/stable/non-US/non-free/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/main/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/contrib/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/non-free/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/main/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/contrib/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/non-free/binary-i386/Packages.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/main/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/contrib/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian/dists/testing/non-free/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/main/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/contrib/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/pub/debian-non-US/dists/testing/non-US/non-free/source/Sources.gz 301 Moved Permanently [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/main/binary-i386/Packages.gz 404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/contrib/binary-i386/Packages.gz 404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/non-free/binary-i386/Packages.gz 404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/main/source/Sources.gz 404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/contrib/source/Sources.gz 404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://ftp.us.debian.org/debian-non-US/dists/unstable/non-US/non-free/source/Sources.gz 404 Not Found [IP: 204.152.189.120 80]
Reading Package Lists... Done
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/main Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-US/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_pub_debian-non-US_dists_testing_non-US_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.



I dont really know what it's trying to tell me. Anyone know? Also is there a basic guide to how apt-get works and how i should use it with knoppix. Debian has always interested me just the installers seamed to be too complicated. with knoppix it's very straight forward :)

Thanx for the help.

Cuddles
05-07-2004, 06:03 AM
Bfc,

Yep, I've seen it, and I used to get the same thing. I hard drive installed Knoppix v3.3, and my first apt-get update came up with "pretty close" to the same results...

If you look at the "man apt-get" from a konsole prompt, you will find that apt uses the /etc/apt/sources.list file to know where and what to get from... All of the locations that are being hit, ignored, and in some of your cases, "permanently moved", are all listed in that file...

What I ended up doing, was keeping the list of what you have in your post viewable, editing the /etc/apt/sources.list file, and placing a "#" in front of the permanently moved, and the not found entries. Then saving the file, and exiting. Then try another apt-get update to see if you got them all. My apt-get is now cleaned out of those entries, by the use of commenting them out.

I know, its a pain, but it makes for faster, and nicer looking apt-get's :D
Cuddles

Durand Hicks
05-07-2004, 03:33 PM
An alternate method is to edit the /etc/apt/sources.list and change all of the
http://ftp.us.debian.org lines to read http://ftp.de.debian.org. That's a german mirror but it should work without giving you problems. If you comment out the faulty mirrors, you'll reduce the amount of packages available to download and update, so I find it better to change the mirrors as needed so I can continue to get all of the updates I want/need.

bfc
05-07-2004, 09:47 PM
thanx, worked great, now if i could get 3d acceleration with my 9700 :( 3 hours+ trying to just install graphix drivers just isnt right.

kelmo
05-08-2004, 12:09 AM
bfc, try this site for details on howto get ati drivers running.

http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html