How to Set or Unset Package Management
Last modified: 2025 September 24
This document was previously titled How to Set or Unset RPM Management. Beginning in version 98, we added .deb packages to our codebase to allow cPanel & WHM installations on Ubuntu® systems.
Overview
If you do not want cPanel & WHM’s rpm.versions system to manage a package, you can set its target to an unmanaged state. This document provides steps for how to set targets to both the managed and unmanaged states.
Common unmanaged package problems
We strongly recommend that you allow the rpm.versions system to manage all targets.
You may experience problems with certain services if cPanel & WHM does not manage them:
- The rpm.versions system does not update unmanaged packages. These packages require manual upgrades and maintenance.
- If you upgrade a server with unmanaged FTP targets, problems may occur in cPanel’s FTP-related interfaces. For more information, read our How to Restore Missing FTP Interfaces in cPanel documentation.
- Unmanaged targets may become upgrade blockers for a future version of cPanel & WHM.
Why is my target set to unmanaged?
The targets for the following services may be in the unmanaged state, even if you did not change them:
- FTP —
proftpdandpure-ftpd - NSD —
nsdWarning:We removed the NSD nameserver in cPanel & WHM version 106 and this target in cPanel & WHM version 112. For more information, read our cPanel Deprecation Plan.
What is an rpm.versions target?
The rpm.versions system uses target settings. This determines whether the system will install or uninstall a target’s specific packages. The /usr/local/cpanel/etc/rpm.versions file contains the target_settings section. This contains the cPanel-provided default status for each target.
For example, cPanel provides a distribution of Clam AntiVirus Scanner (ClamAV®). This consists of the following packages:
-
cpanel-clamav -
cpanel-clamav-virusdefs -
cpanel-perl-123-file-scan-clamavNote:123represents the server’s cPanel Perl version.
In this example, the /usr/local/cpanel/etc/rpm.versions file’s setting for the clamav target controls the ClamAV packages. It also determines how the rpm.versions system manages these components. For more information, read our rpm.versions file documentation.
List of targets
This lists the associated targets for cPanel & WHM services:
- Third-party software —
3rdpartyWarning:Never set this target to
unmanaged. It could cause serious problems on your server. - Analog Stats —
analog - AWStats —
awstats - ClamAV Scanner —
clamav - Composer —
composerWarning:We removed this target in cPanel & WHM version 130. For more information, read our cPanel Deprecation Plan.
- cPanel —
cpanelWarning:Never set this target to the
unmanagedstate. This can cause serious problems on your server. - cPanel Developer Tools —
cpanel-develNote:This controls the files that allow you to rebuild certain packages provided by cPanel.
- cPanel privilege management —
cpanel-wrapWarning:Never set this target to
unmanaged. It could cause serious problems on your server. - Exim —
eximWarning:Only experienced users should set this target to
unmanaged. If you do not understand the effects of the change, it can cause serious problems on your server. - FTP —
proftpdorpure-ftpd - Git —
git - Mailman —
mailman - Munin —
munin - MyDNS —
mydnsWarning:We removed the MyDNS nameserver in cPanel & WHM version 106 and this target in cPanel & WHM version 112. For more information, read our cPanel Deprecation Plan.
- NSD —
nsdWarning:We removed the NSD nameserver in cPanel & WHM version 106 and this target in cPanel & WHM version 112. For more information, read our cPanel Deprecation Plan.
- Obsolete services —
obsolete - Passive OS Fingerprinting —
p0f - PHPMyAdmin —
phpmy - Pluggable Authentication Modules —
pam - Perl 5.32 —
perl532Warning:- Never set this target to the
unmanagedstate. This can cause serious problems on your server. - We removed this target in cPanel & WHM version 112.
- Never set this target to the
- Perl 5.36 —
perl536Warning:Never set this target to the
unmanagedstate. This can cause serious problems on your server. - Perl 5.42 —
perl542Warning:Never set this target to the
unmanagedstate. This can cause serious problems on your server. - PHP —
cpanel-php81,cpanel-php83,cpanel-php84Note:- We added the
cpanel-php84target in cPanel & WHM version 130. - We added the
cpanel-php83target in cPanel & WHM version 120. - We added the
cpanel-php81target in cPanel & WHM version 110.
- We added the
- PowerDNS —
powerdns - Roundcube Webmail —
roundcube - cPanel Site Publisher —
sitepublisher - SQLite —
sqlite - cPanel user interface —
userinterface - Webalizer —
webalizer
Set a target to unmanaged
To set a target to the unmanaged state, perform the following steps:
-
Run the following command. In this example,
servicerepresents the name of the service that you want to set to theunmanagedstate:/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.service unmanagedNote:To set FTP services to the
unmanagedstate, you must run this command for both thepure-ftpdandproftpdtargets. -
Confirm that the target is now unmanaged. Open the following file in your preferred text editor:
Notice the target’s/var/cpanel/rpm.versions.d/local.versionsunmanagedvalue. For example, if you use theroundcubetarget, this file might look like the following example:1 2 3 4 5 6 7 8 9 10 11file_format: version: 2 install_targets: {} rpm_groups: {} rpm_locations: {} srpm_sub_packages: {} srpm_versions: {} target_settings: cpanel-devel: installed roundcube: unmanaged url_templates: {}
Return a target to managed
To return an unmanaged target to the managed state, perform the following steps:
-
Run the following command. In this example,
targetrepresents the name of the target that you want to set to the managed state:/usr/local/cpanel/scripts/update_local_rpm_versions --del target_settings.serviceNote:- This script’s
--deloption returns a target to its default managed state. This can be either an installed or uninstalled state. - To set FTP services to the
managedstate, you must run this command for both thepure-ftpdandproftpdtargets.
- This script’s
-
Confirm that the target is no longer unmanaged. Open the following file in your preferred text editor:
Notice that the file no longer lists the target in the/var/cpanel/rpm.versions.d/local.versionstarget_settingshash. For example, if you use theroundcubetarget, this file might look like the following example:1 2 3 4 5 6 7 8 9 10file_format: version: 2 install_targets: {} rpm_groups: {} rpm_locations: {} srpm_sub_packages: {} srpm_versions: {} target_settings: cpanel-devel: installed url_templates: {}