11.5. Managing Packages on the Base Operating System of Satellite or Capsule
To install and update packages on the Satellite or Capsule base operating system, you must enter the satellite-maintain packages
command.
Satellite prevents users from installing and updating packages with yum
because yum
might also update the packages related to Satellite or Capsule and result in system inconsistency.
The satellite-maintain packages
command restarts some services on the operating system where you run it because it runs the satellite-installer
command after installing packages.
Procedure
To install packages on Satellite or Capsule, enter the following command:
# satellite-maintain packages install package_1 package_2
To update specific packages on Satellite or Capsule, enter the following command:
# satellite-maintain packages update package_1 package_2
To update all packages on Satellite or Capsule, enter the following command:
# satellite-maintain packages update
Using yum to Check for Package Updates
If you want to check for updates using yum
, enter the command to install and update packages manually and then you can use yum
to check for updates:
# satellite-maintain packages unlock # yum check update # satellite-maintain packages lock
Updating packages individually can lead to package inconsistencies in Satellite or Capsule. For more information about updating packages in Satellite, see Updating Satellite Server.
Enabling yum for Satellite or Capsule Package Management
If you want to install and update packages on your system using yum
directly and control the stability of the system yourself, enter the following command:
# satellite-maintain packages unlock
Restoring Package Management to the Default Settings
If you want to restore the default settings and enable Satellite or Capsule to prevent users from installing and updating packages with yum
and ensure the stability of the system, enter the following command:
# satellite-maintain packages lock