I installed centos 4.2 but I cant get yum working, i always get a timeout error with repodata/primary.xml.gz from base. How can i solve this?
On 11/19/05, Roger D Vargas luo_hei@yahoo.es wrote:
I installed centos 4.2 but I cant get yum working, i always get a timeout error with repodata/primary.xml.gz from base. How can i solve this?
Are you behind a proxy? Can you paste the URL that yum complains about into your web browser and retrieve the file? Can you ping the repository server?
Thanks, Greg
Greg Knaddison wrote:
On 11/19/05, Roger D Vargas luo_hei@yahoo.es wrote:
I installed centos 4.2 but I cant get yum working, i always get a timeout error with repodata/primary.xml.gz from base. How can i solve this?
Are you behind a proxy? Can you paste the URL that yum complains about into your web browser and retrieve the file? Can you ping the repository server?
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
On Sun, 2005-11-20 at 10:09 -0500, Roger D Vargas wrote:
Greg Knaddison wrote:
On 11/19/05, Roger D Vargas luo_hei@yahoo.es wrote:
I installed centos 4.2 but I cant get yum working, i always get a timeout error with repodata/primary.xml.gz from base. How can i solve this?
Are you behind a proxy? Can you paste the URL that yum complains about into your web browser and retrieve the file? Can you ping the repository server?
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
On 11/20/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
There's also a FAQ on the subject:
http://wiki.linux.duke.edu/YumFaq#Q5
And if that doesn't help you could search your error on the yum listserve using this faq:
http://wiki.linux.duke.edu/YumFaq#Q10
Regards, Greg
Yum doesn't work well with transparent proxies
Never seen a problem myself, what difficulties did you experience?
Pete
Greg Knaddison wrote:
On 11/20/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
There's also a FAQ on the subject:
http://wiki.linux.duke.edu/YumFaq#Q5
And if that doesn't help you could search your error on the yum listserve using this faq:
http://wiki.linux.duke.edu/YumFaq#Q10
Regards, Greg _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Johnny Hughes wrote:
On Sun, 2005-11-20 at 10:09 -0500, Roger D Vargas wrote:
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
The same problem.
On Mon, 2005-11-21 at 08:27 -0500, Roger D Vargas wrote:
Johnny Hughes wrote:
On Sun, 2005-11-20 at 10:09 -0500, Roger D Vargas wrote:
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
The same problem.
Ok guys ... mirror.centos.org is a RRDNS set of mirrors that are controlled by CentOS.org.
If you are in the US or EU, you probably will be OK using it.
If you are behind a transparent proxy server, maybe not so well. Also if you are not in the US or EU you might have timeout issues.
For anyone having problems, the best thing to do is to move to mirrors that are closer to you ...
You can find a mirror at:
http://www.centos.org/modules/tinycontent/index.php?id=13
These mirrors are not controlled by CentOS, but you may find that you get better performance by using one of these mirrors ... especially during a new update set release cycle.
You would edit the file /etc/yum.repos.d/CentOS-Base.repo (or remark out those entries in CentOS-Base.repo and add a new .repo file) and change the baseurl= to point to the new directory on the closest mirrors.
I changed mirror and stil have the problem. The file starts downloading, but at 40-60% aborts with a timeout error, no matter what mirror Im using. I have used yum since a lot of time ago with fedora 2 without problems.
Johnny Hughes wrote:
On Mon, 2005-11-21 at 08:27 -0500, Roger D Vargas wrote:
Johnny Hughes wrote:
On Sun, 2005-11-20 at 10:09 -0500, Roger D Vargas wrote:
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
Yum doesn't work well with transparent proxies
you can set proxy info within the etc/yum.conf file ...
see "man yum.conf" for proxy info
The same problem.
Ok guys ... mirror.centos.org is a RRDNS set of mirrors that are controlled by CentOS.org.
If you are in the US or EU, you probably will be OK using it.
If you are behind a transparent proxy server, maybe not so well. Also if you are not in the US or EU you might have timeout issues.
For anyone having problems, the best thing to do is to move to mirrors that are closer to you ...
You can find a mirror at:
http://www.centos.org/modules/tinycontent/index.php?id=13
These mirrors are not controlled by CentOS, but you may find that you get better performance by using one of these mirrors ... especially during a new update set release cycle.
You would edit the file /etc/yum.repos.d/CentOS-Base.repo (or remark out those entries in CentOS-Base.repo and add a new .repo file) and change the baseurl= to point to the new directory on the closest mirrors.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 11/21/05, Roger D Vargas luo_hei@yahoo.es wrote:
I changed mirror and stil have the problem. The file starts downloading, but at 40-60% aborts with a timeout error, no matter what mirror Im using. I have used yum since a lot of time ago with fedora 2 without problems.
I've seen this problem before and it was related to firewall/proxy rules and was fixed by changing to a faster mirror (this was a laptop, so it was also fixed by moving that machine to a network outside of that particular proxy).
Also, did you change to an HTTP mirror or FTP mirror? Please try an FTP mirror and let us know how that works.
Regards, Greg
I solved the problem increasing the timeout from 30 to 60 seconds.
Greg Knaddison wrote:
On 11/21/05, Roger D Vargas luo_hei@yahoo.es wrote:
I changed mirror and stil have the problem. The file starts downloading, but at 40-60% aborts with a timeout error, no matter what mirror Im using. I have used yum since a lot of time ago with fedora 2 without problems.
I've seen this problem before and it was related to firewall/proxy rules and was fixed by changing to a faster mirror (this was a laptop, so it was also fixed by moving that machine to a network outside of that particular proxy).
Also, did you change to an HTTP mirror or FTP mirror? Please try an FTP mirror and let us know how that works.
Regards, Greg _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Roger D Vargas wrote:
The proxy is open for that server. I can download the file using wget. And the problem still persists today.
Yum doesn't work well with transparent proxies you can set proxy info within the etc/yum.conf file ... see "man yum.conf" for proxy info
The same problem.
move to a ftp mirror, list at http://www.centos.org/mirrors
On Sat, 2005-11-19 at 20:16 -0500, Roger D Vargas wrote:
I installed centos 4.2 but I cant get yum working, i always get a timeout error with repodata/primary.xml.gz from base. How can i solve this?
We were having an issue with one of the servers in mirror.centos.org, which should now be solved.
Try it again now.