Autor |
Nachricht |
|
Titel: apt-get doesnt work
Verfasst am: 10.07.2006, 13:13 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
Does anyone know what this means or how to fix? Or could you point me in the right direction? I've searched the forums but havent found the right answer yet. Thanks for any help.
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_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
apt-get-update
0% [Connecting to ftp.us.debian.org (1.0.0.0)] [Connecting to ftp.de.debian.org (1.0.0.0)] [Connecting to kanotix.com (1.0.0.0)]
Then no response. |
|
|
|
|
|
|
Titel: RE: apt-get doesnt work
Verfasst am: 10.07.2006, 13:19 Uhr
|
|
Anmeldung: 12. Mar 2004
Beiträge: 275
Wohnort: Paris-France
|
|
do you have internet? is it through a proxy?
it looks like it just doesn't have ftp access to the mirrors |
|
|
|
|
|
|
Titel: RE: apt-get doesnt work
Verfasst am: 10.07.2006, 13:33 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
Internet works fine.lan and wifi. I do use a proxy. |
|
|
|
|
|
|
Titel: RE: apt-get doesnt work
Verfasst am: 10.07.2006, 16:08 Uhr
|
|
Team Member
Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
read up on apt-proxy please
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 17:08 Uhr
|
|
Team Member
Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
apt-proxy is probably one of the most improperly named applications since it actually has nothing to do with using apt from behind a proxy.
This is a common misconception. apt-proxy is:
Zitat:
A small proxy for caching apt-get requests for multiple Debian boxes behind a finite-bandwidth link. It builds up a partial mirror and serves later requests for the same file from that cache.
The proper way to use apt from behind a proxy is by putting your proxy info into a file:
Code:
/etc/apt/apt.conf
Mine looks like so:
Code:
Acquire::http::Proxy "http://web-proxy.rose.hp.com:8080"
If you also need authentification it would follow this pattern:
Code:
Acquire::http::Proxy "http://MYDOMAIN\MYNAME:MYPASS@MY.PROXY.COM:MYPORT"
You can test all of this before hand simply by exporting the proxy then running apt-get from the same shell you ran export through. Example:
Code:
http_proxy="http://<my.proxy.address>:<proxy port number>"
export http_proxy
Since we are on the proxy topic I might also mention that wget uses /etc/wgetrc for it's proxy configuration. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 19:12 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
may be the netcard works but the router has diconnected, the same message occure, or the ftp-serer is in service state at the moment. Than try it later. |
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 20:06 Uhr
|
|
Team Member
Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
mzilikazi,
thanks for clarification. i never used proxies in my life, so i had a misconception there. someone should rename that package.
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 21:18 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
Thanks Mzilikazi
I think this is putting me in the right direction, but this is the response I get after editing /etc/apt/apt.conf I get this message:
E: Syntax error /etc/apt/apt.conf:3: Extra junk at end of file
Any suggestions?
Thanks
|
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 22:03 Uhr
|
|
Team Member
Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
firegrass hat folgendes geschrieben::
Thanks Mzilikazi
I think this is putting me in the right direction, but this is the response I get after editing /etc/apt/apt.conf I get this message:
E: Syntax error /etc/apt/apt.conf:3: Extra junk at end of file
Any suggestions?
Thanks
Ah that might be my fault. I forgot a semicolon at the end. Here is copy/paste of my apt.conf:
Code:
APT::Default-Release "unstable";
APT::Cache-Limit 12582912;
Apt::Get::Purge;
Acquire::http::Proxy "http://web-proxy.rose.hp.com:8080";
See the semicolon at the end? Sorry about that. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
|
|
Titel:
Verfasst am: 10.07.2006, 22:50 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
Thanks Mzilikazi
I've done that and now I get:
Err http://ftp.de.debian.org testing Release.gpg
Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
Err http://kanotix.com sid Release.gpg
Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
Err http://ftp.us.debian.org unstable Release.gpg
Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
Failed to fetch http://ftp.us.debian.org/debian/dists/u ... elease.gpg Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
Failed to fetch http://ftp.de.debian.org/debian/dists/t ... elease.gpg Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
Failed to fetch http://kanotix.com/files/debian/dists/sid/Release.gpg Could not connect to proxy.iprimus.com.au:8080 (1.0.0.0), connection timed out
I'm starting to think it's a router problem. I've tried to enable port 8080, but no joy.
I'll keep thinking about this and try again.
I've had to work hard to get things like Video card, DVD playback, mp3 playback,wireless and more to work. I'm now at the stage where I only have Windoze for Flight Sim and DVD Xcopy. If I can get this Apt problem fixed It will be perfect. I love Kanotix, it's the only distro I've tried so far that recognises most of my hardware without major problems.
I also REALLY appreciate all the help that is available here.
Thank you! |
|
|
|
|
|
|
Titel:
Verfasst am: 11.07.2006, 13:09 Uhr
|
|
Team Member
Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
Hmmm is Iprimus your ISP? It seems that your ISP is requiring you to use a proxy? If so I would *assume* that you do not need to do any further configuration except at your gateway (router) itself. If that's the case perhaps you simply need to correct your sources.list. Please remove the Acquire line from apt.conf and update your sources.list like so:
Code:
su
wget -O/etc/apt/sources.list http://kanotix.com/files/fix/sources.list
apt-get update
|
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
|
|
Titel:
Verfasst am: 11.07.2006, 14:20 Uhr
|
|
Team Member
Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
|
|
I am not sure how applicable this is , if at all applicable
First apt-get update
Next
apt-key could be
apt-get install kanotix-keyrings for debian and kanotix keys, gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
then it could be:
apt-key-proxy
By: mzilikazi
Date: 2005 August 30
gpg --keyserver-options http-proxy --keyserver wwwkeys.eu.pgp.net --recv-keys : then: apt-key add /root/.gnupg/pubring.gpg
********* edit do again apt-get update
I am on ozemail/iinet here in AUS.. never had a problem with them and they do have a FTP site for debian.. as a free DL (so not counting towards total DL limits, just havent been bothered to find out how...That said,, why should iprimus be worried about whom you DL from)
(((((All Blacks buggered the Wallabies,in Cup , good stuff.. evil grin))) (( waits for the piper )) |
_________________ Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
|
|
|
|
|
|
Titel:
Verfasst am: 15.07.2006, 00:00 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
I just tried kpackage and apt-get while using a wireless connection away from home and it all works OK!
Therefore I'm now assuming that it could be a router problem at home. Now I'm getting closer.
I'll try a few things when I get home.
Bluewater- Most Australians seem to have forgotten how long the Kiwis owned the Bledisloe Cup,36 years I think. We win a couple of games then we think we own the world! At least we have cricket! |
|
|
|
|
|
|
Titel:
Verfasst am: 25.07.2006, 13:18 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
I tried at home. It doesn't work! Is there a port I should forward in the ADSL router? |
|
|
|
|
|
|
Titel:
Verfasst am: 25.07.2006, 17:49 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
port 20 and 21 should be open the normal ftp-ports. |
|
|
|
|
|
|
Titel:
Verfasst am: 25.07.2006, 22:52 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
This is the error I now get. It seems like something to do with gpg keys. I'll search the forums to try and find an answer. If anyone can work out an answer from this I'd appreciate it. This is the last thing I have to do to make my Linux install 100% functional.
Thanks
Err http://kanotix.com sid Release.gpg
Could not connect to kanotix.com:80 (1.0.0.0), connection timed out
Err http://ftp.de.debian.org unstable Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Err http://ftp.de.debian.org testing Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch http://ftp.de.debian.org/debian/dists/u ... elease.gpg Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch http://ftp.de.debian.org/debian/dists/t ... elease.gpg Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch http://kanotix.com/files/debian/dists/sid/Release.gpg Could not connect to kanotix.com:80 (1.0.0.0), connection timed out
Reading package lists... Done
W: Couldn't stat source package list http://ftp.de.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://kanotix.com sid/main Packages (/var/lib/apt/lists/kanotix.com_files_debian_dists_sid_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://kanotix.com sid/contrib Packages (/var/lib/apt/lists/kanotix.com_files_debian_dists_sid_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://kanotix.com sid/non-free Packages (/var/lib/apt/lists/kanotix.com_files_debian_dists_sid_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. |
|
|
|
|
|
|
Titel: Puppy works
Verfasst am: 11.08.2006, 11:34 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
I've tried Puppy Linux at home and I can update and wget with no problems. So maybe it's a config problem in my Kanotix. I've reinstalled a couple of times but that hasn't helped. Anymore suggestions! |
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 11:43 Uhr
|
|
Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Yes, try this to test your connection: Boot off the Kanotix live cd (not hd install!), open Konsole and enter the following commands:
Code:
ping kanotix.com -c 4
su
fix-unionfs
apt-get update
Post any error messages you may get. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 12:09 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
PING kanotix.com (85.10.195.118) 56(84) bytes of data.
--- kanotix.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms
knoppix@0[knoppix]$ su
root@0[knoppix]# fix-unionfs
Activating Unionfs now.
root@0[knoppix]# apt-get update
Get:1 http://kanotix.com sid Release.gpg [189B]
Get:2 http://kanotix.com sid Release [16.9kB]
Get:3 http://kanotix.com sid/main Packages [47.1kB]
Get:4 http://kanotix.com sid/contrib Packages [3030B]
Get:5 http://kanotix.com sid/non-free Packages [6979B]
Get:6 http://kanotix.com sid/main Sources [12.7kB]
Get:7 http://kanotix.com sid/contrib Sources [1503B]
Get:8 http://kanotix.com sid/non-free Sources [2873B]
Err http://ftp.de.debian.org unstable Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Err http://ftp.de.debian.org testing Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Fetched 91.2kB in 4m0s (380B/s)
Failed to fetch http://ftp.de.debian.org/debian/dists/u ... elease.gpg Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch http://ftp.de.debian.org/debian/dists/t ... elease.gpg Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Reading package lists... Done
W: Couldn't stat source package list http://ftp.de.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/main Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/contrib Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org testing/non-free Packages (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_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.
Does this mean anything to you? It started off positively but ended like this. |
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 12:09 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
I'm sending this from LiveCD |
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 12:15 Uhr
|
|
Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
After booting off the cd, did you do anything to set up a network/Internet connection, or did you just enter the commands I posted? |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 12:17 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
I just entered the commands you posted without touching anything. The network was already connected. |
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 12:25 Uhr
|
|
Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
O.k., there are three possibilities:
1. The proxy server of your ISP is set up in a very strange way; not very likely:
Zitat:
I've tried Puppy Linux at home and I can update and wget with no problems.
2. There's something wrong with the data on the cd.
Please boot again and enter
Code:
testcd
in the line with the boot options.
The test will take a few minutes. Be patient and watch the output on the screen until KDE comes up.
3. Or your network card has a driver problem.[/quote] |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
Zuletzt bearbeitet von ockham23 am 11.08.2006, 13:23 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 13:19 Uhr
|
|
Anmeldung: 18. Feb 2006
Beiträge: 22
|
|
The CD tested OK,no problems.
The network card seems to work OK, I can connect to the net and send and receive email.
As I said before, I can get packages and wget with Puppy linux ok, so I don't think it is my service provider.
This is now the only problem stopping me from enjoying Kanotix %100, but it is the best distro I have used so far with everything I need.
I'm using kanotix-2005-04. I don't want to use a later Kanotix as I want to use Open Office 2.0. And my wireless card won't work when I update my kernel.I don't want to try another distro. If I cant fix this I'll just wait for an updated 64 bit version when it has Open Office without chroot. |
|
|
|
|
|
|
Titel:
Verfasst am: 11.08.2006, 13:47 Uhr
|
|
Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
I am puzzled: You get DNS resolution for kanotix.com, but you can't ping it; you can download from Kanotix http server, but ftp results in a timeout. Can you ping any other web address such as www.google.com?
The de.debian.org server is o.k., I just tested it with Kanotix-2005-04 and received only two apt-get error messages about gpg keys, which is normal behavior for 2005-04. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
|
|