Linux – Re-sign an rpm package

Working on the Puppet manifest to install the newrelic-sysmond package to all the nodes. I want to host the newrelic-sysmond.rpm on the company repository server but in that case the i have to re-sign the rpm.

What i need to do is to download the rpm from the New Relic repository, move it to the RPM build server and run the following command.

  • rpm --resign newrelic-sysmond-1.3.1.437-1.x86_64.rpm

 

You will be prompted to enter the passphrase and that’s it.

Done =)

Reference: Maximum RPM – Signing Packages

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s