apt-get update connection problem
hi all Im new to this however I dont beleive the problem being experienced is due to my newbiehoodism in my sources.list file I have the following entry + deb ftp://security.debian.org/ stable/updates main contrib non-free there are other entries for acouple of mirrors and yes they all work fine - however when apt-get tries to connect to secuirty.debian.org I get the following message Err ftp://security.debian.org stable/updates/* Packages Unable to fetch file, server said 'Failed to open file. ' and then at the end of the apt-get update ; apt-get install option I get Failed to fetch ftp://security.debian.org/dists/stable/updates/main/binary-i386/Packages Unable to fetch file, server said 'Failed to open file. ' Failed to fetch ftp://security.debian.org/dists/stable/updates/contrib/binary-i386/Packages Unable to fetch file, server said 'Failed to open file. ' Failed to fetch ftp://security.debian.org/dists/stable/updates/non-free/binary-i386/Packages Unable to fetch file, server said 'Failed to open file. ' W: Couldn't stat source package list ftp://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://security.debian.org stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://security.debian.org stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_stable_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. Reading Package Lists... Done Building Dependency Tree... Done 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: Couldn't stat source package list ftp://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://security.debian.org stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list ftp://security.debian.org stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_stable_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 Can anyone shed any light on this ... I dont beleive it to be a config problem on my side as I can connect to ftp://security.debian.org via lynx and all other sources in my sources.list dont ahve a problem connecting either. Im running kernel 2.2.20 on Deb 3.0 muchly appreciated --jarrod
Re: apt-get update connection problem
Hi Jarrod, On Wed, Jul 31, 2002, Jarrod Friedland wrote: hi all Im new to this however I dont beleive the problem being experienced is due to my newbiehoodism in my sources.list file I have the following entry + deb ftp://security.debian.org/ stable/updates main contrib non-free I've noticed this as well. In my experience, I've seen that the security upgrades via 'apt-get' only work with the http protocol specified in the above 'sources.list' line, even though all my other 'sources.list' line work fine with the ftp protocol. So, I'd guess that the following would work for you as well: deb http://security.debian.org/ stable/updates main contrib non-free Hopefully, others on this list can comment as to why this is so, and as to whether security.debian.org plans to allow ftp 'apt-get' upgrades. HTH, and take care, Daniel -- Daniel A. Freedman Laboratory for Atomic and Solid State Physics Department of Physics Cornell University
Re: apt-get update connection problem
Previously Jarrod Friedland wrote: deb ftp://security.debian.org/ stable/updates main contrib non-free Try http instead of ftp, If you insist on using ftp (which might be a bit slower) try ftp://security.debian.org/debian-security as the base path. Wichert. -- _ /[EMAIL PROTECTED] This space intentionally left occupied \ | [EMAIL PROTECTED]http://www.wiggy.net/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Re: apt-get update connection problem
Sorry all - just to clarify I have tied the http option aswell still give me the same errors --jarrod On Tue, 30 Jul 2002, Daniel Freedman wrote: Hi Jarrod, On Wed, Jul 31, 2002, Jarrod Friedland wrote: hi all Im new to this however I dont beleive the problem being experienced is due to my newbiehoodism in my sources.list file I have the following entry + deb ftp://security.debian.org/ stable/updates main contrib non-free I've noticed this as well. In my experience, I've seen that the security upgrades via 'apt-get' only work with the http protocol specified in the above 'sources.list' line, even though all my other 'sources.list' line work fine with the ftp protocol. So, I'd guess that the following would work for you as well: deb http://security.debian.org/ stable/updates main contrib non-free Hopefully, others on this list can comment as to why this is so, and as to whether security.debian.org plans to allow ftp 'apt-get' upgrades. HTH, and take care, Daniel
Re: apt-get update connection problem
Problem solved thanks to Wichert... I used the full path of ftp://security.debian.org/debian-security and it works fine ... thanks again --jarrod On Wed, 31 Jul 2002, Wichert Akkerman wrote: Previously Jarrod Friedland wrote: deb ftp://security.debian.org/ stable/updates main contrib non-free Try http instead of ftp, If you insist on using ftp (which might be a bit slower) try ftp://security.debian.org/debian-security as the base path. Wichert.