LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   yum/up2date problem with Fedora Core2 (https://www.linuxquestions.org/questions/fedora-35/yum-up2date-problem-with-fedora-core2-153695/)

Space_Balls 03-05-2004 12:33 AM

yum/up2date problem with Fedora Core2
 
I have the following problem: I can't run yum, since it gives me the following error:
Code:

Unable to find pid
Gathering header information file(s) from server(s)
Server: Fedora Core 1.90 - Development Tree
Finding updated packages
Downloading needed headers
Traceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 253, in main
    clientStuff.download_headers(HeaderInfo, nulist)
  File "/usr/share/yum/clientStuff.py", line 919, in download_headers
    cachedbdict = returnCacheDBHeaders(nulist)
  File "/usr/share/yum/clientStuff.py", line 901, in returnCacheDBHeaders
    mi = cachedb.dbMatch()
UnboundLocalError: local variable 'cachedb' referenced before assignment

I also cannot run the Red Hat Network Alert Icon, but I can run up2date fine in console.

My yum.conf looks like this:

Code:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1

#[base]
#name=Fedora Core $releasever - $basearch - Base
#baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever

#[updates-released]
#name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://fedora.redhat.com/updates/testing/fedora-core-$releasever

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://mirrors.kernel.org/fedora/core/development/$basearch/


[development]
name=Fedora Core $releasever - Development Tree
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

As you can see, I have a mirror commented out, but I only did this to check if my mirror had anything to do with this problen, which it apperently doesn't

I'm running Kernel 2.6.3-118smp, and I believe I have pretty much the latest version of all software installed(I was able to use yum, but after updates this error occurred :Pengy: )

I googled about this, and couldn't find anything that seemed to be relating to my problem!:scratch:

Ed-MtnBiker 03-05-2004 01:12 AM

This cleaned up some similar errors I was getting with yum. Maybe it will help with the problem you're experiencing.

[root@localhost]# rm -Rf /var/cache/yum/*

Elyson 03-05-2004 05:23 AM

Hi there,
I have exact the same problem here,

Space_Balls 03-05-2004 08:12 AM

I still get the same error as before. Also, could ths be related to why my RH network utility doesn't start

Elyson 03-05-2004 09:25 AM

hey mine also won´t start, looks we are trapped in the same way.

schaez 03-05-2004 02:08 PM

I installed libgnomeui and yum from rawhide to get it working again.

Space_Balls 03-05-2004 04:42 PM

Yes, that is what is what I was thinking right now, that not installing gnome was the mistake, since I had a Fedora Core2 installation both with gnome and KDE, and it worked fine...
whats to best way to go about installing GNOMe without doing a whole reinstall?

schaez 03-05-2004 05:39 PM

I can't take credit for it, I saw it on the fedora-test-list. I just grabbed the two rpm's and installed them manually.

I'm using apt to update/install and the mirrors only have the test release not rawhide so I only wanted the two RPM's. I needed yum to update Evolution though.


All times are GMT -5. The time now is 04:28 AM.