first let explain i am new to linux and bugzilla and NO IDEA WHAT SO EVER how
to report this correctly.
I FOUND FIX HALF WAY THRU WRIGHTING THIS REPORT
FIX LISTED @ BOTTOM
Description of problem:
I installed ALL avial. yum components on 3 dif machines ( all the same OS) with
Add/Remove Packages (checked anything that said yum* -about 6-8 things i think)
now when I reopen Addd/Remove Packages or kyum or yumex i get an error
Component: Software Manager
Summary: TBfef41469 versionlock.py:45:exclude_hook:PluginYumExit: Unable to
read version lock configuration: [Errno 5] OSError: [Errno 2] No such file or
Traceback (most recent call last):
File "/usr/sbin/pirut", line 390, in ?
File "/usr/sbin/pirut", line 386, in main
File "/usr/sbin/pirut", line 299, in run
File "/usr/sbin/pirut", line 310, in doRefresh
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 154, in
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 164, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/versionlock.py", line 45, in exclude_hook
raise PluginYumExit('Unable to read version lock configuration: %s' % e)
PluginYumExit: Unable to read version lock configuration: [Errno 5] OSError:
[Errno 2] No such file or directory: '/etc/yum/pluginconf.d/versionlock.list'
Local variables in innermost frame:
conduit: <yum.plugins.MainPluginConduit instance at 0xb320340c>
e: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/yum/
^^^^This error was produced by Add/Remove Packages ^^^
yumex is saying "error in loading repository data"
and here is a copy of the out put
Mirrordetection : default
Yum Version : 2.6.1 (/usr/share/yum-cli)
Loading "fedorakmod" plugin
Loading "protectbase" plugin
Loading "versionlock" plugin
Loading "installonlyn" plugin
Loading "kernel-module" plugin
0 packages excluded due to repository protections
Reading version lock configuration
I did not get a chance to install Kyum on this computer so the kyum report will
come from a differant one with an older kernel
Version-Release number of selected component (if applicable):
open any yum type app
Steps to Reproduce:
it does not work
list of avail apps
Talking with my brother on skype we just solved it!!!
and he think is related to yum-utils and yum-utils-plugins
versionlock -Allow locking packages to certain versions
!OK HOW TO FIX!
[17:07:26] kynalohikaarme: /etc/yum/pluginconf.d/versionlock.conf
[17:07:35] … set enable = 0
[17:07:44] … SOLVED!!!
The versionlock plugin is designed to fail if the
/etc/yum/pluginconf.d/versionlock.list file is missing, so if you installed the
yum-versionlock plugin you have to create the file.
It is not a good idea to install all available yum plugins, most of them is
created to solve a special purpose, so if you don't need the special
functionality, the don't install the plugins.
use 'rpm -qa | grep yum-' to list the yum components.
you can remove all except these one. (FC6 & FC7)
'yum remove yum-versionlock' etc to remove the plugins.
*** Bug 245659 has been marked as a duplicate of this bug. ***