RPM is not getting installed for PE3.2

asked 2014-04-28 06:23:13 -0600

skit gravatar image

updated 2014-04-28 08:10:02 -0600

I want to install Puppet Enterprise 3.2 with automated answer file and by creating a rpm. When I am trying to install this rpm by using yum install <rpm name=""> , it gets stuck because this yum command get lock of yum and when installer implicitly calls for yum to install another packages, it is not able to get hold of yum.

To resolve this, I tried to install this rpm with rpm -ivh <rpm name=""> . It got installed successfully once but later on it is giving me following warning and gets stuck.

Warning: RPMDB altered outside of yum.

Any help is appreciated.

Thanks, SKIT

edit retag flag offensive close merge delete

Comments

instead of rpm -ivh try rpm -Uvh. Does that make a difference?

spuder gravatar imagespuder ( 2014-04-28 11:11:09 -0600 )edit

man yum. Check the clean and history sections. You probably want to try 'yum history new' and if that dont work, 'yum clean all'

jonuwz gravatar imagejonuwz ( 2014-04-28 11:54:20 -0600 )edit

@spuder, I have tried rpm -Uvh as well. But facing the same issue. @jonuwz : I have done yum clean all and yum history sync also.. but facing the same issue.

skit gravatar imageskit ( 2014-04-29 02:32:26 -0600 )edit

puppet enterprise installation itself use yum install to install all the puppet packages as per the answer file. and when I use yum install <my rpm="">, it creates a yum lock. when i try rpm -i <my rpm=""> , internal yum command which is thrown by installer, complains about the RPMDB alteration.

skit gravatar imageskit ( 2014-04-29 02:35:43 -0600 )edit