[CentOS-es] Problema con Yum
Gonzalo
gonzalomr en gmail.com
Vie Mayo 4 21:21:30 UTC 2007
Que version de centos tienes??
On 5/4/07, Gabriel <gabrielbueno77 en yahoo.com.ar> wrote:
> Buenas a todos,
>
> Estoy teniendo un problema con el yum que no me deja instalar nada:
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> [root en localhost ~]# yum update
> Loading "installonlyn" plugin
> Loading "priorities" plugin
> Loading "changelog" plugin
> Loading "tsflags" plugin
> Loading "downloadonly" plugin
> Loading "fedorakmod" plugin
> Loading "skip-broken" plugin
> Loading "fastestmirror" plugin
> Loading "kernel-module" plugin
> Loading "allowdowngrade" plugin
> Loading "protectbase" plugin
> Setting up Update Process
> Setting up repositories
> base 100% |=========================| 1.1 kB
> 00:00
> updates 100% |=========================| 951 B
> 00:00
> addons 100% |=========================| 951 B
> 00:00
> extras 100% |=========================| 1.1 kB
> 00:00
> Loading mirror speeds from cached hostfile
> Reading repository metadata in from local files
> 0 packages excluded due to repository priority protections
> 0 packages excluded due to repository protections
> Resolving Dependencies
> 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 135, in main
> (result, resultmsgs) = base.buildTransaction()
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 447, in
> buildTransaction
> self.plugins.run('preresolve')
> File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in
> run
> func(conduitcls(self, self.base, conf, **kwargs))
> File "/usr/lib/yum-plugins/kernel-module.py", line 60, in
> preresolve_hook
> instpkgs = conduit.getRpmDB().getPackages()
> AttributeError: 'RPMDBPackageSack' object has no attribute 'getPackages'
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> Al parecer es un error que tiene que ver con la base de los rpm...
> Ya intente hacer un rpmdb --rebuilddb pero sigue todo igual.
> A alguien se le ocurre que puede llegar a ser esto y como resolverlo ??
>
> Saludos y muchas gracias.
>
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> http://lists.centos.org/mailman/listinfo/centos-es
>
>
--
Gonzalo M. Rios
Registered User LINUX #237889
Más información sobre la lista de distribución CentOS-es