Run the script
/usr/local/cpanel/scripts/check_cpanel_pkgs
Options
You can use the following options with the /usr/local/cpanel/scripts/check_cpanel_pkgs
script:
Options | Description |
---|---|
--download-only |
Downloads any missing packages to the /usr/local/cpanel/tmp/rpm.versions file, then exits.
|
--fix |
Shows any problems and automatically corrects them. |
--list-only |
Lists altered packages and exits. |
--long-list |
Shows the altered packages and files in an easily-parsed format. |
--no-broken |
Installs missing packages and uninstalls unneeded packages. The script does not check for broken packages. |
--no-digest |
Skips file-digest checks. The script does not check for changes to the file contents. |
--nodir |
The script does not read the /var/cpanel/rpm.versions.d directory. |
--notify |
Sends a notification that lists any altered packages. Then, the script describes any actions that the system performed. |
--targets |
Filters packages based on provided targets (comma-delimited). |
--findonly |
Detect and report any RPM problems, but do not make any changes. |
--rebuildonly |
Unconditionally rebuild the RPM database. |
Example
For example, to use the --fix
option, run the following command:
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
If you still need issue with your cPanel installation and need help, please submit a ticket.