- Plesk for Linux
Packages available for update from "yum update" command not shown in System Updates in Plesk. Why does it happen?
Repositories from packages shown in "yum update" are not the same as the ones that were installed initially, as shown in Home > Tools & Settings > System Updates > All Packages tab.
For stability and reliability reasons, the System Updates tool installs updates for each package from the repository from which this package was initially installed. Such a mode is called "safe updates" and is used in Plesk by default, and it's enabled by default by the " Enable safe updates for system packages " option ( Tools & Settings > System Updates > Settings tab).
How to verify that updates are from a different repository?
- Connect to the server via SSH ;
- Run the following command:
# yum update
- In "Installing" and "Updating" sections, check repository name of the package.
In the following example, the repository for the package "python-perf" is "centosplus":
# yum update
python-perf( package ) x86_64 3.10.0-693.11.1.el7.centos.plus centosplus( repository ) 5.1
4. In Plesk, go to Home > Tools & Settings > System Updates > " All Packages " tab, and search for those packages mentioned in step 3 and compare them. The repository is displayed in the round brackets. For example:
How to force installing those updates?
If it is needed to make the YUM package updates available on Plesk as well, consider disabling the "Enable safe updates for system packages" option:
- In Plesk, go to Tools & Settings > System Updates > Settings tab;
- Uncheck the "Enable security updates for system packages" option;
- Scroll down and click Apply to save changes;
However, keep in mind that if "Safe Updates" is disabled, the System Updates tool no longer ensures that the updates are installed from the same repository as an initial package.
For more information regarding System Updates, please check its correspondent documentation: System Updates (Plesk for Linux only)