[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum Traceback in yummain.main(sys.argv[1:]) ...

On 31/10/2007, Oliver (savage) wrote:
> Hi folks, my yum configuration seems to be messed up and I can't figure out what went wrong.
> yum clean all
> yum makecache
> yum check-update

Fine. But you might need to "rpm --rebuilddb", too.

> ---> Package kernel.x86_64 0: set to be updated

What do you get for "rpm -qa kernel\*"?

> --> Processing Dependency: /boot/vmlinuz- for package: alsa-kmdl-

That's not a Fedora package. Where does it come from?
What do you get for "rpm -qa alsa-kmdl\*"? It is older than the kernel update.

> ---> Package kernel.x86_64 0: set to be installed
> ---> Package kernel.x86_64 0: set to be erased

> I checked /boot/vmlinuz- and it seems to be ok.

How did you check it? It doesn't matter whether the file exists. When
verifying you must prove that the file exists in the RPM database (rpm
--query --whatprovides /boot/vmlinuz- and is still
available in the update transaction. Updates can remove files, too.
Also show "repoquery --whatprovides /boot/vmlinuz-").

> yum info kernel _(or anything else)_
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 105, in main
>     result, resultmsgs = base.doCommands()
>   File "/usr/share/yum-cli/cli.py", line 282, in doCommands
>     return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
>   File "/usr/share/yum-cli/yumcommands.py", line 168, in doCommand
>     rip = base.listPkgs(ypl.installed, 'Installed Packages', basecmd)
>   File "/usr/share/yum-cli/output.py", line 129, in listPkgs
>     self.infoOutput(pkg)
>   File "/usr/share/yum-cli/output.py", line 99, in infoOutput
>     print _("Summary: %s") % enc(pkg.summary)
>   File "/usr/share/yum-cli/output.py", line 86, in enc
>     t = gettext.dgettext(d, s)
>   File "/usr/lib64/python2.5/gettext.py", line 530, in dgettext
>     codeset=_localecodesets.get(domain))
>   File "/usr/lib64/python2.5/gettext.py", line 478, in translation
>     t = _translations.setdefault(key, class_(open(mofile, 'rb')))
>   File "/usr/lib64/python2.5/gettext.py", line 180, in __init__
>     self._parse(fp)
>   File "/usr/lib64/python2.5/gettext.py", line 313, in _parse
>     v = v.split(';')
> AttributeError: 'list' object has no attribute 'split'
> Any ideas ???

What does "rpm -q specspo" print?
Does "rpm -qai kernel" work?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]