yum has broke in fedora 16 problem::solved

When i was updating my Fedora 16. In the last phase of update, during Cleanup of packages process, my laptop gets shutdown.When i restarted the laptop and started to install or uninstall any package after fedora update it given so many errors of yum. I have searched for google not get satisfactory result. The error is given below.

[root@chandankumar chandankumar]# yum reinstall lokalize

Loaded plugins: axelget, fastestmirror, langpacks, presto, refresh-packagekit

Repository google-chrome is listed more than once in the configuration

No metadata available for adobe-linux-i386

No metadata available for fedora

No metadata available for google-chrome

No metadata available for rpmfusion-free

repomd.xml | 3.3 kB 00:00

update rpmfusion-free-updates metadata sucessfully

No metadata available for rpmfusion-nonfree

repomd.xml | 3.3 kB 00:00

update rpmfusion-nonfree-updates metadata sucessfully

No metadata available for updates

Finish Download MetaData of Enabled Repo

Loading mirror speeds from cached hostfile

* fedora: mirror.cse.iitk.ac.in

* rpmfusion-free: mirror.cse.iitk.ac.in

* rpmfusion-free-updates: mirror.cse.iitk.ac.in

* rpmfusion-nonfree: mirror.cse.iitk.ac.in

* rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in

* updates: mirror.cse.iitk.ac.in

Resolving Dependencies

–> Running transaction check

—> Package kdesdk-lokalize.i686 0:4.8.3-1.fc16 will be reinstalled

–> Finished Dependency Resolution

Dependencies Resolved


Package Arch Version Repository Size



kdesdk-lokalize i686 4.8.3-1.fc16 updates 721 k

Transaction Summary


Reinstall 1 Package

Total download size: 721 k

Installed size: 1.7 M

Is this ok [y/N]: y

Downloading Packages:

Traceback (most recent call last):

File “/usr/bin/yum”, line 29, in <module>

yummain.user_main(sys.argv[1:], exit_code=True)

File “/usr/share/yum-cli/yummain.py”, line 321, in user_main

errcode = main(args)

File “/usr/share/yum-cli/yummain.py”, line 229, in main

return_code = base.doTransaction()

File “/usr/share/yum-cli/cli.py”, line 547, in doTransaction

problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 2180, in downloadPkgs

self.plugins.run(‘predownload’, pkglist=pkglist)

File “/usr/lib/python2.7/site-packages/yum/plugins.py”, line 187, in run

func(conduitcls(self, self.base, conf, **kwargs))

File “/usr/lib/yum-plugins/axelget.py”, line 272, in predownload_hook

downloaded_drpm_pkgs = download_drpm(conduit)

File “/usr/lib/yum-plugins/axelget.py”, line 71, in download_drpm

presto_info[repo.id] = presto.PrestoParser(filename).getDeltas()

File “/usr/lib/yum-plugins/presto.py”, line 523, in __init__

for event, elem in iterparse(fo):

File “<string>”, line 91, in next

cElementTree.ParseError: mismatched tag: line 8722, column 6

[root@chandankumar chandankumar]#

When i shown this error on #fedora-channel they told that yum has broken.

The reason of breaking of yum is the plugins axelget.py that i have installed to increase yum downloading speed.

To overcome this error, i have tried the following commands related to you.

#yum clean all

#yum repolist enabled

#yum –disableplugin=presto makecache

# yum –disablerepo=\* –enablerepo=fedora makecache

#yum –disableplugin=axelget makecache

But nothing has happened.

i have queried for the repo’s list by using the command #rpm -qa, to see that my rpm list is working smoothly and yum is not working.

At last i have thought to remove that package from yum plugin. Go to /usr/lib/yum-plugins/ directory and list that package and remove that yum  plugin that causing yum to be broken by using rm command. After that everything is working fine.

i have done the following things.

  1. [root@chandankumar yum-plugins]# ls
  2. axelget.py   fastestmirror.py   fastestmirror.pyo  langpacks.pyc  presto.py   presto.pyo             refresh-packagekit.pyc
  3. axelget.pyc  fastestmirror.pyc  langpacks.py       langpacks.pyo  presto.pyc  refresh-packagekit.py  refresh-packagekit.pyo
  4. [root@chandankumar yum-plugins]# rm axelget.py axelget.pyc
  5. rm: remove regular file `axelget.py’? yes
  6. rm: remove regular file `axelget.pyc’? yes
  7. [root@chandankumar yum-plugins]# ls
  8. fastestmirror.py   fastestmirror.pyo  langpacks.pyc  presto.py   presto.pyo             refresh-packagekit.pyc
  9. fastestmirror.pyc  langpacks.py       langpacks.pyo  presto.pyc  refresh-packagekit.py  refresh-packagekit.pyo
  10. [root@chandankumar yum-plugins]# cd —
  11. [root@chandankumar ~]# yum reinstall lokalize
  12. Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
  13. Repository google-chrome is listed more than once in the configuration
  14. Loading mirror speeds from cached hostfile
  15.  * fedora: mirror.cse.iitk.ac.in
  16.  * rpmfusion-free: mirror.cse.iitk.ac.in
  17.  * rpmfusion-free-updates: mirror.cse.iitk.ac.in
  18.  * rpmfusion-nonfree: mirror.cse.iitk.ac.in
  19.  * rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in
  20.  * updates: mirror.cse.iitk.ac.in
  21. Resolving Dependencies
  22. –> Running transaction check
  23. —> Package kdesdk-lokalize.i686 0:4.8.3-1.fc16 will be reinstalled
  24. –> Finished Dependency Resolution
  25. Dependencies Resolved
  26. ======================================================================================================================================
  27.  Package                              Arch                      Version                            Repository                    Size
  28. ======================================================================================================================================
  29. Reinstalling:
  30.  kdesdk-lokalize                      i686                      4.8.3-1.fc16                       updates                      721 k
  31. Transaction Summary
  32. ======================================================================================================================================
  33. Reinstall  1 Package
  34. Total download size: 721 k
  35. Installed size: 1.7 M
  36. Is this ok [y/N]: y
  37. Downloading Packages:
  38. ^[[Bkdesdk-lokalize-4.8.3-1.fc16.i686.rpm                60% [=========================                 ]  16 kB/s | 437 kB     00:18 kdesdk-lokalize-4.8.3-1.fc16.i686.rpm                                                                          | 721 kB     00:42
  39. Running Transaction Check
  40. Running Transaction Test
  41. Transaction Test Succeeded
  42. Running Transaction
    After that yum is happy with me!!!
    Thanks to Khaytsus , fenrus02 and juanmabc on #fedora channel on freenode.