Introduction
You may want to make your own RPM or make changes to files owned by an RPM package and want to prevent the RPM from being updated or to get warnings about changes made to that RPM manually. We have documentation here covering how to do this:
Procedure
Example: You want to set Roundcube to unmanaged because a plugin was installed that changed files owned by the Roundcube RPM files, so you would run this command:
/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.roundcube unmanaged
This command modifies /var/cpanel/rpm.versions.d/local.versions
with the change.
In order for the RPM to update later on if needed then this must be undone with this change:
/scripts/update_local_rpm_versions --del target_settings.roundcube
And if needed, the changes must be re-installed again and the RPM set back to unmanaged.
The target name of the RPM or RPM group can be obtained from the /usr/local/cpanel/etc/rpm.versions
file.
Comments
0 comments
Article is closed for comments.