Yum hangs at "Setting up Package Sacks"

Problem:
There is a bug on Fedora 11 when yum update hangs when trying to connect via proxy when it tries to access https sites
It stucks at:
“Setting up Package Sacks”

Solution:
Proxy should be preset to work there are 2 ways one is to
set it in /etc/yum.conf
proxy=http://my_proxy.com:port/
Or set it as a system variable doing:
# export http_proxy=http://User:Password@ProxyServer:Port

Then we should edit the repository files:
/etc/yum.repos.d/fedora-rawhide.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora.repo

Change all https to http

Also we may use:
Avoid error of yum missing dependency:
# yum –skip-broken -y -v update
or just:
# yum -y -v update

In my opinion its shame there is not a more clear error message or timeout explaining the simple error, I am used to debian apt-get and so far Fedora yum is losing.

2 Thoughts

  1. I assumed YUM would have used the system’s proxy settings. -guess not.
    I updated /etc/yum.conf like you said and it worked. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

VAMOVE *

*