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

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

 



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:2.6.23.1-10.fc7 set to be updated

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

> --> Processing Dependency: /boot/vmlinuz-2.6.22.9-91.fc7 for package: alsa-kmdl-2.6.22.9-91.fc7

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:2.6.23.1-10.fc7 set to be installed
> ---> Package kernel.x86_64 0:2.6.22.5-76.fc7 set to be erased

> ERROR: MISSING DEPENDENCY: /BOOT/VMLINUZ-2.6.22.9-91.FC7 IS NEEDED BY PACKAGE ALSA-KMDL-2.6.22.9-91.FC7
>
> I checked /boot/vmlinuz-2.6.22.9-91.fc7 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-2.6.22.9-91.fc7) and is still
available in the update transaction. Updates can remove files, too.
Also show "repoquery --whatprovides /boot/vmlinuz-2.6.22.9-91.fc7").

> 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?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux