“/bin/sh is needed by” metele un “rpm –rebuildb”

 

a veces al actualizar paquetes protesta y todo esta en orden ¿que es? regenera la BBDD de los rpm

 

[root@hn15 CU-2.6.18-028stab068.3]# rpm -ivh *.rpm
error: Failed dependencies:
        /bin/sh is needed by vzkernel-2.6.18-028stab068.3.x86_64
        /bin/sh is needed by vzkernel-devel-2.6.18-028stab068.3.x86_64
        /bin/sh is needed by vzmodules-2.6.18-028stab068.3.x86_64
[root@hn15 CU-2.6.18-028stab068.3]# rpm -ivh *.rpm –force
error: Failed dependencies:
        /bin/sh is needed by vzkernel-2.6.18-028stab068.3.x86_64
        /bin/sh is needed by vzkernel-devel-2.6.18-028stab068.3.x86_64
        /bin/sh is needed by vzmodules-2.6.18-028stab068.3.x86_64
[root@hn15 CU-2.6.18-028stab068.3]# rpm –rebuilddb
[root@hn15 CU-2.6.18-028stab068.3]# rpm -ivh *.rpm
Preparing…                ########################################### [100%]
   1:vzkernel               ########################################### [ 33%]
   2:vzkernel-devel         ########################################### [ 67%]
   3:vzmodules              ########################################### [100%]
[root@hn15 CU-2.6.18-028stab068.3]#

This entry was posted in linux, VZ and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *