Deleting modules and extensions
1 Environment #
This document applies to the following products and product versions:
SUSE Linux Enterprise Server 15 SP3, 15 SP2, 15 SP1, 15 GA
SUSE Linux Enterprise Server for SAP Applications 15 SP3, 15 SP2, 15 SP1, 15 GA
SUSE Linux Enterprise High Availability Extension 15 SP3, 15 SP2, 15 SP1, 15 GA
SUSE Linux Enterprise High Performance Computing 15 SP3, 15 SP2, 15 SP1, 15 GA
SUSE Linux Enterprise Desktop 15 SP3, 15 SP2, 15 SP1, 15 GA
SUSE Linux Enterprise Real Time 15 SP3, 15 SP2, 15 SP1, 15 GA
2 Introduction #
You can delete modules and extensions that are no longer required, either with YaST or from the command line.
When you delete a module or extension from the command line, you must remove the associated packages manually. If you want all of the associated packages to be removed automatically, use YaST to delete the module or extension.
3 Deleting modules and extensions with YaST #
Start YaST and select
› .Figure 1: YaST for SUSE Linux Enterprise Server #Choose the module or extension that you want to remove, and click
. Confirm the warning saying that all packages from the selected component will be removed.Warning: Deleting modulesNever delete the
. It is also not recommended to delete the for SUSE Linux Enterprise Server, or the and for SUSE Linux Enterprise Desktop.When the YaST software manager opens, review the packages to be removed. It is strongly recommended to remove all of the selected packages. If you keep some packages, you must remove at least the
*-release
package for each deleted module or extension.Warning: No updates for packages from deleted modules and extensionsIf you choose to keep packages from deleted modules or extensions, you will no longer receive updates for these packages. Because this includes security fixes, keeping these packages might introduce a security risk to your system.
Click
to remove the selected packages.Click
.
4 Deleting modules and extensions from the command line #
List the available modules and extensions:
>
sudo SUSEConnect --list-extensions
You will see output similar to the following:
AVAILABLE EXTENSIONS AND MODULES Basesystem Module 15 SP3 x86_64 (Activated) Deactivate with: SUSEConnect -d -p sle-module-basesystem/15.3/x86_64 SUSE Cloud Application Platform Tools Module 15 SP3 x86_64 Activate with: SUSEConnect -p sle-module-cap-tools/15.3/x86_64 SUSE Package Hub 15 SP3 x86_64 (Activated) Deactivate with: SUSEConnect -d -p PackageHub/15.3/x86_64 [...]
Run the commands in the listing for the modules or extensions you want to delete.
Warning: Deleting modulesNever delete the
. It is also not recommended to delete the for SUSE Linux Enterprise Server, or the and for SUSE Linux Enterprise Desktop.Remove the packages that belonged to the deleted modules or extensions. Only the *-release packages are removed automatically. It is strongly recommended to remove all of the remaining packages.
List the packages that are no longer associated with a repository:
>
sudo zypper packages --orphaned
Remove the packages:
>
sudo zypper remove PACKAGE_NAMES
Warning: No updates for packages from deleted modules and extensionsIf you choose to keep packages from deleted modules or extensions, you will no longer receive updates for these packages. Because this includes security fixes, keeping these packages might introduce a security risk to your system.
5 Summary #
All deleted components are deregistered, and the associated repositories are removed from your system.
If you chose to keep any packages from the deleted components, these packages are longer associated with a repository and will not receive updates.
6 Troubleshooting #
- Module or extension is not listed in
A component might not appear in
› › if the installation of that component was interrupted. You can still list and delete the component from the command line.