Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / Deleting modules and extensions

Deleting modules and extensions

Publication Date: 22 Sep 2023

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

  1. Start YaST and select Software › Add-On Products.

    Installed Add-on Products dialog
    Figure 1: YaST Installed Add-on Products for SUSE Linux Enterprise Server
  2. Choose the module or extension that you want to remove, and click Delete. Confirm the warning saying that all packages from the selected component will be removed.

    Warning
    Warning: Deleting modules

    Never delete the Basesystem Module. It is also not recommended to delete the Server Applications Module for SUSE Linux Enterprise Server, or the SUSE Linux Enterprise Workstation Extension and Desktop Applications Module for SUSE Linux Enterprise Desktop.

  3. 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
    Warning: No updates for packages from deleted modules and extensions

    If 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.

  4. Click Accept to remove the selected packages.

  5. Click OK.

4 Deleting modules and extensions from the command line

  1. 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
    
    [...]
  2. Run the commands in the listing for the modules or extensions you want to delete.

    Warning
    Warning: Deleting modules

    Never delete the Basesystem Module. It is also not recommended to delete the Server Applications Module for SUSE Linux Enterprise Server, or the SUSE Linux Enterprise Workstation Extension and Desktop Applications Module for SUSE Linux Enterprise Desktop.

  3. 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.

    1. List the packages that are no longer associated with a repository:

      > sudo zypper packages --orphaned
    2. Remove the packages:

      > sudo zypper remove PACKAGE_NAMES
    Warning
    Warning: No updates for packages from deleted modules and extensions

    If 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 Add-on Products

A component might not appear in YaST › Software › Add-on Products if the installation of that component was interrupted. You can still list and delete the component from the command line.