LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-28-2007, 07:24 PM   #1
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Rep: Reputation: 30
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!
 
Old 03-01-2007, 06:10 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.

Last edited by Junior Hacker; 03-01-2007 at 06:12 AM.
 
Old 03-03-2007, 10:48 AM   #3
ranjith_asp
LQ Newbie
 
Registered: Jan 2007
Location: india
Distribution: fedora core-6 64 bit
Posts: 13

Rep: Reputation: 0
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 :-(
 
Old 03-03-2007, 05:14 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.

Last edited by Junior Hacker; 03-03-2007 at 05:16 PM.
 
Old 03-09-2007, 05:46 PM   #5
dennisl
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
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.
 
Old 03-26-2007, 07:41 AM   #6
TimoP
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
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.
 
Old 03-28-2007, 11:16 AM   #7
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
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.
 
Old 03-29-2007, 08:49 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum updater running slow sparckis Linux - Newbie 2 01-22-2007 08:43 PM
Software updater joint SUSE / openSUSE 1 10-12-2006 04:29 AM
Problem with Software Updater julian.osorio Linux - Software 0 08-08-2006 03:49 PM
Software updater in 10.1 leupi SUSE / openSUSE 1 07-13-2006 09:33 PM
error when running yum updater lsimon4180 Linux - Software 1 01-15-2005 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration