RPM
Package Manager Settings
Remove rpm.versions system configuration
This function removes RPM data. When you call this function, it performs the same actions as the following command:
/usr/local/cpanel/scripts/update_local_rpm_versions --del section.key value
For more information, read our rpm.versions system documentation.
Note:
After you call this function, we strongly recommend that you run the /usr/local/cpanel/scripts/check_cpanel_pkgs script.
get/delete_rpm_version
Query parameters
keystring required
Example:3rdparty
The RPM's target.
sectionstring required
Example:rpm_groups
The RPM's section within the rpm.versions file.
valuestring required
Example:cpanel-pcre
The RPM name.
Response
HTTP Request was successful.
Example response
{
"data": {
"status": 1
},
"metadata": {
"command": "delete_rpm_version",
"reason": "OK",
"result": 1,
"version": 1
}
}