Yum, Yumes, and Software updater are not working
I do not at all understand this one. I updated FC6 a couple weeks ago with no problems. Then yesterday I attempted to use the normal yum update command while in root and I got an error message right after it listed all the available updates.
Then I tried Yumex and it did the same thing. So I tried Software Updater and it did the exact same thing. Having had problems with Yum before I thought it might work today, 2/28/2007. However that did not happen I got the same exact error message again and it is as follows; _______________________________________________________TBb09601ffComponent: Software Updater Summary: TBb09601ff packages.py:35:comparePoEVR:AttributeError: 'NoneType' object has no attribute 'epoch' Traceback (most recent call last): File "/usr/sbin/pup", line 433, in _apply self.applyChanges(self.mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 559, in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 328, in checkDeps (result, msgs) = self.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 442, in buildTransaction self.plugins.run('postresolve', rescode=rescode, restring=restring) File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fedorakmod.py", line 273, in postresolve_hook newKernels + installedKernels) File "/usr/lib/yum-plugins/fedorakmod.py", line 228, in installAllKmods table = resolveVersions(interesting + modules) File "/usr/lib/yum-plugins/fedorakmod.py", line 152, in resolveVersions elif sameName == None: File "/usr/lib/python2.4/site-packages/yum/packages.py", line 191, in __eq__ if comparePoEVR(self, other) == 0 and self.arch == other.arch and self.name == other.name: File "/usr/lib/python2.4/site-packages/yum/packages.py", line 35, in comparePoEVR (e2, v2, r2) = (po2.epoch, po2.ver, po2.rel) AttributeError: 'NoneType' object has no attribute 'epoch' Local variables in innermost frame: po2: None v1: 1.0.9746 e1: 0 r1: 1.2.6.19_1.2911.fc6 po1: kmod-nvidia - 1.0.9746-1.2.6.19_1.2911.fc6.i686 _______________________________________________________ Does anyone have any idea of what has happened and how I can fix it? Of course, I am not a programmer so I hope that is not necessary. Please help! :scratch: :scratch: |
Did you recently add Atrpms as a repository?
I had a similar error after I was at their web site, at their set-up site http://atrpms.net/install.html they had these lines that I highlighted and copied/pasted to yum.conf: -[atrpms] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms gpgcheck=1 Notice the space before [atrpms], after filling a bug report, bugzzila people asked me to send all my repo.d files and yum.conf because they figured there was a typo in one of them, that was the problem, this is how it should look: [atrpms] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms gpgcheck=1 If this is not your problem, you should re-create the error, copy & paste it into kwrite and give it a name with the .txt extension and fill a bug report at bugzzila, and send the error as an attachment. EDIT: I had to put a dash in the first one as this page does not leave a space at the beginning of a sentence. |
Am a new user of FOSS
and am using FC6 64bit since am not aware abt yums n all.. wat i do is jus to use software updater,, when ever i boot in to linux it automatically shows some 221 updates available.. when i give apply updates.. it retrieves the updates frm net and checks for software dependencies and it is not applyin the updates :-( |
Ok
This is how it usually works with the GUI software updater (or yum via command line). When it gives you an error and can't apply the updates, in that little error window will be the word "Details", click on that and read what it says. Usually it will say something like, "There is a conflict with package xxxxxx while trying to update package yyyyyy". Take the check mark out of the box (GUI Software Updater), next to package yyyyyy and hit apply to apply the rest of the updates. Do this for every package in the "Details" list that produced an error, then we can work on the packages that give the errors after all the other updates are applied. Here is a link to a thread where I give some examples of how I work around them: http://www.linuxquestions.org/questi...d.php?t=526377 The last post I mentioned how I had three updates after installing Amarok that gave me a big list of these conflict errors. I had to remove Amarok and all it's long list of dependencies, then apply the update packages via command line using their full package name before re-installing Amarok to circumvent the errors. |
Checkmark the 'Disable plugins' option in the Yum Extender Launcher window when you start up yumex. This disables the 'fedorakmod' plugin.
It worked for me when I had the same problem. |
On my machine the package yum-fedorakmod caused the problem, when
it was updated. After the update there was a file /etc/yum/pluginconf.d/fedorakmod.conf.rpmnew which should replace the fedorkamod.conf in the same directory. Since a manual replacement yum and yumex work fine. |
I had problems with yum too, especially when I had started using it first time. Until I went here and did exactly as told. Try it. ;)
I hope that helps too. As for the rest, do exactly as the people here are telling you. |
Slightly different case of same thing
H.
I have fc6 here, but mainly use fc5 as I haven't migrated from it yet. FC6 won't update. These console commands all fail rpm --rebuilddb rpm -initdb Both complain they can't open database, and to run database recovery. Whassat? Error -30977 Yum update goes away and talks to every repository on the Internet, and then talk to the database, it suddenly starts raining python scripts and I get a list of them one after the other. If I leave this a few days, so this happens, the console font gets screwed up. If I retry, it stops the 6 scripts at once. I tried under X (I use initdefault 3) and it updated "flawlessly" but when I exited X THAT console font was screwed and all the error messages were there. /var/yum/yum.log shows _no_errors. /var/log/rpmpkgs likewise. What to hack? |
All times are GMT -5. The time now is 04:18 AM. |