system crash while yumming and ...

Akshay Vyas akshayvyas29 at gmail.com
Sun Apr 29 05:17:56 UTC 2012


this might fix the problem

download PyXML-0.8.4-27.fc17.x8664.rpm, expat-2.1.0-1.fc17.x8664.rpm,
and expat-devel-2.0.1-12.fc17.x86_64 from rpmfind and install them
manually using rpm -ivh with the --force option.

On Sun, Apr 29, 2012 at 10:37 AM, Frederic Muller <fred at cm17.com> wrote:
> Hi!
>
> As the title says it all, I am now left with the following error message
> every time I try to yum update on F17:
>
>    sudo yum update
>    Loaded plugins: langpacks, presto, refresh-packagekit
>    Traceback (most recent call last):
>    File "/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 146, in main
>    result, resultmsgs = base.doCommands()
>    File "/usr/share/yum-cli/cli.py", line 485, in doCommands
>    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
> self.extcmds)
>    File "/usr/share/yum-cli/yumcommands.py", line 405, in doCommand
>    return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
>    File "/usr/share/yum-cli/cli.py", line 878, in updatePkgs
>    self.update()
>    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4351, in
> update
>    updates = self.up.getUpdatesTuples()
>    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1022, in
> <lambda>
>    up = property(fget=lambda self: self._getUpdates(),
>    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 827, in
> _getUpdates
>    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(),
> self.pkgSack.simplePkgList())
>    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1003, in
> <lambda>
>    pkgSack = property(fget=lambda self: self._getSacks(),
>    File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 767, in
> _getSacks
>    self.repos.populateSack(which=repos)
>    File "/usr/lib/python2.7/site-packages/yum/repos.py", line 265, in
> populateSack
>    self.doSetup()
>    File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in doSetup
>    self.ayum.plugins.run('postreposetup')
>    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/langpacks.py", line 79, in postreposetup_hook
>    for event, elem in iterparse(infile):
>    File "<string>", line 107, in next
>    cElementTree.ParseError: no element found: line 1, column 0
>
> Could someone be kind enough to tell me how to fix this?
>
> Thanks a lot.
>
> Fred
> --
> test mailing list
> test at lists.fedoraproject.org
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/test



-- 

Akshay vyas


More information about the test mailing list