Yum hasal..

Üdv!

Mi ez?

Indítanám, hogy "yum install" valami, és ezt mondja:

Loaded plugins: downloadonly, keys, presto, skip-broken
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 84, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
enabled_plugins=self.optparser._splitArg(opts.enableplugins))
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 189, in _getConfig
startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 355, in doPluginSetup
plugin_types, confpath, disabled_plugins, enabled_plugins)
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 160, in __init__
self.run('config')
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/skip-broken.py", line 110, in config_hook
help="skip packages with broken dependencies")
File "/usr/lib/python2.5/optparse.py", line 1014, in add_option
self._check_conflict(option)
File "/usr/lib/python2.5/optparse.py", line 989, in _check_conflict
option)
optparse.OptionConflictError: option --skip-broken: conflicting option string(s): --skip-broken

Hozzászólások

esetleg ha leszedned egy proba erejeig a skip-broken plugint?

---
Apple iMac 20"
áéíóöőúüű

Hali!

A felállás:
- 5-ös RHEL (amiben up2date helyett sajnos már yum van)
- lokális satellite szerver
- ennek megfelelő /etc/sysconfig/rhn/up2date konfig file
- /etc/yum.repos.d könyvtár üres

Jelenség:

# ----- próbálunk update-elni (de a yum install is u.e. adja csak másik csomagra)
[root@combos 64b /etc/yum.repos.d]$ yum -y update
Loaded plugins: rhnplugin
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package firstboot.x86_64 0:1.4.27.7-1.el5 set to be updated
--> Processing Dependency: firstboot-tui = 1.4.27.7-0 for package: firstboot
---> Package firstboot-tui.x86_64 0:1.4.27.7-1.el5 set to be updated
--> Finished Dependency Resolution
firstboot-1.4.27.7-1.el5.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> Missing Dependency: firstboot-tui = 1.4.27.7-0 is needed by package firstboot-1.4.27.7-1.el5.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: firstboot-tui = 1.4.27.7-0 is needed by package firstboot-1.4.27.7-1.el5.x86_64 (rhel-x86_64-server-5)

# ----- ezek vannak már telepítve
[root@combos 64b /etc/yum.repos.d]$ rpm -qa | grep firstboot
firstboot-tui-1.4.27.3-1.el5
firstboot-1.4.27.3-1.el5

# ----- a yum szerint ebből lehetne választani
[root@combos 64b /etc/yum.repos.d]$ yum list|grep firstboot
firstboot.noarch 1.4.27.3-1.el5 installed
firstboot-tui.noarch 1.4.27.3-1.el5 installed
firstboot.x86_64 1.4.27.7-1.el5 rhel-x86_64-server-5
firstboot-tui.x86_64 1.4.27.7-1.el5 rhel-x86_64-server-5

# ----- egy kis erőszak, hátha...
[root@combos 64b /etc/yum.repos.d]$ yum -y install firstboot.x86_64 firstboot-tui.x86_64
Loaded plugins: rhnplugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package firstboot.x86_64 0:1.4.27.7-1.el5 set to be updated
--> Processing Dependency: firstboot-tui = 1.4.27.7-0 for package: firstboot
---> Package firstboot-tui.x86_64 0:1.4.27.7-1.el5 set to be updated
--> Finished Dependency Resolution
firstboot-1.4.27.7-1.el5.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> Missing Dependency: firstboot-tui = 1.4.27.7-0 is needed by package firstboot-1.4.27.7-1.el5.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: firstboot-tui = 1.4.27.7-0 is needed by package firstboot-1.4.27.7-1.el5.x86_64 (rhel-x86_64-server-5)

# ----- a satellite-en ezek vannak
find .|grep firstboot | grep "1.4.27" | sort
./es5/Server/firstboot-1.4.27.2-1.el5.noarch.rpm
./es5/Server/firstboot-1.4.27.3-1.el5.noarch.rpm
./es5/Server/firstboot-1.4.27.7-1.el5.i386.rpm
./es5/Server/firstboot-1.4.27.7-1.el5.ppc.rpm
./es5/Server/firstboot-1.4.27.7-1.el5.x86_64.rpm
./es5/Server/firstboot-tui-1.4.27.2-1.el5.noarch.rpm
./es5/Server/firstboot-tui-1.4.27.3-1.el5.noarch.rpm
./es5/Server/firstboot-tui-1.4.27.7-1.el5.i386.rpm
./es5/Server/firstboot-tui-1.4.27.7-1.el5.ppc.rpm
./es5/Server/firstboot-tui-1.4.27.7-1.el5.x86_64.rpm
./RPMS/firstboot-1.4.27.2-1.el5.noarch.rpm
./RPMS/firstboot-1.4.27.3-1.el5.noarch.rpm
./RPMS/firstboot-1.4.27.7-1.el5.i386.rpm
./RPMS/firstboot-1.4.27.7-1.el5.ppc.rpm
./RPMS/firstboot-1.4.27.7-1.el5.x86_64.rpm
./RPMS/firstboot-tui-1.4.27.2-1.el5.noarch.rpm
./RPMS/firstboot-tui-1.4.27.3-1.el5.noarch.rpm
./RPMS/firstboot-tui-1.4.27.7-1.el5.i386.rpm
./RPMS/firstboot-tui-1.4.27.7-1.el5.ppc.rpm
./RPMS/firstboot-tui-1.4.27.7-1.el5.x86_64.rpm

Jól látszik, hogy -0 végű csomag nincs és nem is volt. Ha letöltjük a csomagokat, akkor az rpm gyakorlatilag csont nélkül települ.

Mit lehet csinálni, hogy magához térjen?

Köszi!
(help)