FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I won't hesitate to say i'm a total newb when it comes to Linux
but got severely sick of win$hit so have resorted and converted
I recently just got YUM installed and when I type " yum update "
I get the following
Unable to find pid
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 233, in main
clientStuff.get_package_info_from_servers(serverlist, HeaderInfo)
File "/usr/share/yum/clientStuff.py", line 846, in get_package_info_from_servers
progress_obj=None)
File "/usr/share/yum/clientStuff.py", line 1327, in grab
bandwidth, conf.retries, retrycodes, checkfunc)
File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
progress_obj, throttle, bandwidth)
File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
fo = urllib2.urlopen(url)
File "/usr/lib/python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 487, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: HTTPResponse instance has no attribute 'code'
From your output you posted, you're running Red Hat Linux 9, not Fedora 9 (it's been "Fedora" since 7, by the way, not "Fedora Core". Just a friendly FYI). Red Hat Linux 9 has been End of Life since 2004, which means no new updates, and no new package installs. Yum was never meant to run on RHL 9, either.
The version number reset at RHL 9 because Red Hat forked RHL into two different distributions: "Fedora Core" (later Fedora) for the Linux community and "Red Hat Enterprise Linux" for the Enterprise world. We're now at Red Hat Enterprise Linux 5 and Fedora 9.
To double-check that you're running the wrong version, run this command:
cat /etc/redhat-release
If it says something like:
Red Hat Linux release 9 (Shrike)
then you're running the very old, no longer supported RHL 9. Your best bet would be to install Fedora 9, available from fedoraproject.org. On the other hand, if it says:
Fedora release 9 (Sulphur)
you are running Fedora 9, and the problem remains unresolved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.