[Errno 22] invalid mode ('w') or filename: '//var/lib/yum/rpmdb-indexes/conflicts.tmp'

Can anyone help me with this error?

sudo yum install perl-Gtk2-WebKit
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Gtk2-WebKit.i686 0:0.09-1.fc15 will be installed
--> Processing Dependency: perl(Gtk2) for package: perl-Gtk2-WebKit-0.09-1.fc15.i686
--> Running transaction check
---> Package perl-Gtk2.i686 0:1.224-2.fc15 will be installed
--> Processing Dependency: perl(Cairo) >= 1.00 for package: perl-Gtk2-1.224-2.fc15.i686
--> Processing Dependency: perl(Pango) >= 1.220 for package: perl-Gtk2-1.224-2.fc15.i686
--> Processing Dependency: perl(Pango) for package: perl-Gtk2-1.224-2.fc15.i686
--> Running transaction check
---> Package perl-Cairo.i686 0:1.060-6.fc15 will be installed
---> Package perl-Pango.i686 0:1.221-2.fc15 will be installed


[Errno 22] invalid mode ('w') or filename: '//var/lib/yum/rpmdb-indexes/version.tmp'

I have tried to use these commands to fix it with no luck.

updatedb
yum clean all 
1 Like