On Wed, 2006-03-15 at 12:17 -0500, William Warren wrote:
yum apparently still can't cope with transparent proxies. I tried the following and got the yum http behind proxy error:
Is there an ftp version of the mirrorlist or are those of us that have to use transparent proxies stuck without this new feature?
[root@joshua ~]# yum install yum-plugin-fastestmirror Setting up Install Process Setting up repositories Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.3 MB 03:07 dag : ################################################## 3832/3832 Added 72 new packages, deleted 5 old in 9.48 seconds primary.xml.gz 100% |=========================| 75 kB 00:00 update : ################################################## 185/185 Added 30 new packages, deleted 0 old in 0.96 seconds Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for yum-plugin-fastestmirror to pack into transaction set. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://styx.biochem.wfubmc.edu/mirror/CentOS/4/extras/i386/RPMS/yum-plugin-f...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://centos.mirror.nac.net/4/extras/i386/RPMS/yum-plugin-fastestmirror-0.2...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://mirrors.cat.pdx.edu/centos/4/extras/i386/RPMS/yum-plugin-fastestmirro...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://www.gtlib.gatech.edu/pub/centos/4/extras/i386/RPMS/yum-plugin-fastest...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://centos.cs.ucr.edu/centos/4/extras/i386/RPMS/yum-plugin-fastestmirror-...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://yum.math.hmc.edu/os/centos/4/extras/i386/RPMS/yum-plugin-fastestmirro...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 43 B 00:00 http://mirror.trouble-free.net/centos/4/extras/i386/RPMS/yum-plugin-fastestm...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://updates.interworx.info/centos/4/extras/i386/RPMS/yum-plugin-fastestmi...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://mirror.cs.wisc.edu/pub/mirrors/linux/centos/4/extras/i386/RPMS/yum-pl...: [Errno -1] Header is not complete. Trying other mirror. yum-plugin-fastestmirror- 100% |=========================| 13 kB 00:00 http://centos.neoservers.com/4/extras/i386/RPMS/yum-plugin-fastestmirror-0.2...: [Errno -1] Header is not complete. Trying other mirror. Error: failure: RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm from extras: [Errno 256] No more mirrors to try. [root@joshua ~]#
I am using Yum behind a transparent Squid proxy and it works great for me. I am also using DansGuardian. One thing I *DID* have to do was to add an exception IP address for my CentOS box in the DansGuardian access lists.