LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-15-2006, 02:12 AM   #1
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 51
what is versionlock??


Hi guys,

Im unable to do an update,list,etc any packages at all.

i get this error
Code:
Process 2988 (yum) has been started.
Please be patient, this may be a lengthy operation...

(Command being executed: yum -y info updates).

*** 
*** 
*** Unable to read version lock configuration: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/yum/pluginconf.d/versionlock.list'
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "downloadonly" plugin
Loading "changelog" plugin
Loading "protectbase" plugin
Loading "versionlock" plugin
Loading "tsflags" plugin
Loading "kernel-module" plugin
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository protections
Reading version lock configuration
Process exited normally with code 1.
KYum, Pup, Yumex all return errors.

HELP
Thanks
 
Old 05-15-2006, 03:05 AM   #2
MRMadhav
Member
 
Registered: Nov 2005
Location: Mauritius
Distribution: PCQLinux, SUSE Linux,Fedora Core 5, Fedora Core 6, Knoppix Live, Kubuntu Edgy, PCLinuxOS
Posts: 167

Rep: Reputation: 30
Hey I am also getting these errors. It began when i updated yum and installed more utilities to yum via yumex. Perhaps if i revert back this will be fixed but i don't know how to do that! Any suggestions?
 
Old 05-15-2006, 03:56 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Original Poster
Rep: Reputation: 51
Update

Hi,

Yes i installed them too and the problems started.

But now ok.

i did this.
Code:
[root@shrilinx shrikant]# yum list installed | grep yum
kyum.i386                                0.7.5-3.fc5            installed
yum.noarch                               2.6.1-0.fc5            installed
yum-changelog.noarch                     0.6-2.fc5              installed
yum-downloadonly.noarch                  0.6-2.fc5              installed
yum-fastestmirror.noarch                 0.6-2.fc5              installed
yum-kernel-module.noarch                 0.6-2.fc5              installed
yum-protectbase.noarch                   0.6-2.fc5              installed
yum-tsflags.noarch                       0.6-2.fc5              installed
yum-utils.noarch                         0.6-2.fc5              installed
yumex.noarch                             1.0.0-1.0.fc5          installed
Then
Code:
[root@shrilinx shrikant]# yum remove yum-versionlock
Its all fine now.

But can someone plz tell what happened here?

Thanks
 
Old 07-14-2006, 03:05 PM   #4
Theorist
Member
 
Registered: Jun 2006
Distribution: FC5, FC3, RHEL 3, Debian 3.1, Debian 3.0
Posts: 56

Rep: Reputation: 15
Hi shrikant.odugoudar,
versionlock plugin for YUM is for you to prevent YUM from updating the versions or "lock the version" of some selected packages if you wish to, by mentioning it in /etc/yum/pluginconf.d/versionlock.list file. This plugin is not needed if you do not intend to do so.

Once this plugin is installed, every time when YUM starts, it checks for the existence of /etc/yum/pluginconf.d/versionlock.list file. Since, it is by default not created, the simple way to solve this issue is to create a blank file named versionlock.list in /etc/yum/pluginconf.d/ folder. Try doing it.

With Regards,
Theorist
 
  


Reply

Tags
plugin, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



All times are GMT -5. The time now is 09:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration