Zypper searching for obselete packages:

Hi, reading about some usage of zypper I come across a command of interest to me and would like your insight if possible. --obsoletes-pkg Search for all packages that obsolete any of the package(s) matched by
the input parameters. This information is located here as follows:

> zypper help search 
search (se) [OPTIONS] [QUERYSTRING] ...

Search for packages matching any of the given search strings.

* and ? wildcards can also be used within search strings. If a search string is enclosed in '/',
it's interpreted as a regular expression.

  Command options:

    --match-substrings      Search for a match to partial words (default).
    --match-words           Search for a match to whole words only.
-x, --match-exact           Searches for an exact match of the search strings.
    --provides              Search for packages which provide the search strings.
    --requires              Search for packages which require the search strings.
    --recommends            Search for packages which recommend the search strings.
    --supplements           Search for packages which supplement the search strings.
    --conflicts             Search packages conflicting with search strings.
    --obsoletes             Search for packages which obsolete the search strings.
    --suggests              Search for packages which suggest the search strings.
    --provides-pkg          Search for all packages that provide any of the provides of the
                            package(s) matched by the input parameters.
    --requires-pkg          Search for all packages that require any of the provides of the
                            package(s) matched by the input parameters.
    --recommends-pkg        Search for all packages that recommend any of the provides of the
                            package(s) matched by the input parameters.
    --supplements-pkg       Search for all packages that supplement any of the provides of the
                            package(s) matched by the input parameters.
    --conflicts-pkg         Search for all packages that conflict with any of the package(s) matched
                            by the input parameters.
    --obsoletes-pkg         Search for all packages that obsolete any of the package(s) matched by
                            the input parameters.
    --suggests-pkg          Search for all packages that suggest any of the provides of the
                            package(s) matched by the input parameters.
-t, --type <TYPE>           Search only for packages of the specified type.
-n, --name                  Useful together with dependency options, otherwise searching in package
                            name is default.
-f, --file-list             Search for a match in the file list of packages.
-d, --search-descriptions   Search also in package summaries and descriptions. Default: false
-C, --case-sensitive        Perform case-sensitive search. Default: false
-s, --details               Show each available version in each repository on a separate line.
                            Default: false
-v, --verbose               Like --details, with additional information where the search has matched
                            (useful for search in dependencies). Default: false
-i, --installed-only        Show only installed packages.
-u, --not-installed-only    Show only packages which are not installed.
    --sort-by-name          Sort packages by name (default).
    --sort-by-repo          Sort packages by repository.
-r, --repo <ALIAS|#|URI>    Work only with the specified repository.

>
> zypper --obsoletes-pkg
The flag --obsoletes-pkg is not known.
>

I am wondering which part of the command is missing in passing: zypper --obseletes-pkg? Perhaps is this the [Query String] missing?

> zypper --obsoletes-pkg /dev/sda
The flag --obsoletes-pkg is not known.
>

Thanks

I see > zypper search --obsoletes-pkg

Now my question is I see it found the following:

> sudo zypper refresh
[sudo] password for root: 
Retrieving repository 'Games' metadata .............................................................................................................[done]
Building repository 'Games' cache ..................................................................................................................[done]
Repository 'repo-non-free' is up to date.                                                                                                                 
Repository 'Main Repository (OSS)' is up to date.                                                                                                         
Repository 'home:pzz (openSUSE_Tumbleweed)' is up to date.                                                                                                
Repository 'libdvdcss2' is up to date.                                                                                                                    
Repository 'repo-non-oss' is up to date.                                                                                                                  
Repository 'repo-openh264' is up to date.                                                                                                                 
Repository 'repo-oss' is up to date.                                                                                                                      
Repository 'update-tumbleweed' is up to date.                                                                                                             
Retrieving repository 'packman-essentials' metadata ................................................................................................[done]
Building repository 'packman-essentials' cache .....................................................................................................[done]
All repositories have been refreshed.

Now

> sudo zypper dup
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 35 packages are going to be upgraded:
  gdk-pixbuf-loader-libheif libheif1 libheif-aom libheif-dav1d libheif-ffmpeg libheif-jpeg libheif-openjpeg libheif-rav1e libheif-svtenc libopenal1
  libopenal1-32bit libvdpau_nouveau libvlc5 libvlccore9 libvulkan_intel libvulkan_intel-32bit libvulkan_lvp libvulkan_radeon libvulkan_radeon-32bit
  Mesa-dri Mesa-dri-32bit Mesa-gallium Mesa-gallium-32bit Mesa-libva Mesa-vulkan-device-select Mesa-vulkan-device-select-32bit openal-soft-data openclonk
  openclonk-data vlc vlc-codec-gstreamer vlc-lang vlc-noX vlc-qt vlc-vdpau

35 packages to upgrade.
Overall download size: 191.3 MiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: libopenal1-32bit-1.22.2-24.78.x86_64 (Games)                                                                             (1/35), 434.5 KiB    
Retrieving: libopenal1-32bit-1.22.2-24.78.x86_64.rpm .................................................................................[done (362.3 KiB/s)]
Retrieving: openal-soft-data-1.22.2-24.78.noarch (Games)                                                                             (2/35), 109.4 KiB    
Retrieving: openal-soft-data-1.22.2-24.78.noarch.rpm .................................................................................[done (196.0 KiB/s)]
Retrieving: openclonk-data-8.1-16.192.noarch (Games)                                                                                 (3/35), 106.7 MiB    
Retrieving: openclonk-data-8.1-16.192.noarch.rpm .......................................................................................[done (1.1 MiB/s)]
Retrieving: libopenal1-1.22.2-24.78.x86_64 (Games)                                                                                   (4/35), 458.0 KiB    
Retrieving: libopenal1-1.22.2-24.78.x86_64.rpm .......................................................................................[done (460.3 KiB/s)]
Retrieving: openclonk-8.1-16.192.x86_64 (Games)                                                                                      (5/35),   2.7 MiB    
Retrieving: openclonk-8.1-16.192.x86_64.rpm ..........................................................................................[done (308.0 KiB/s)]
Retrieving: libvdpau_nouveau-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                       (6/35),   3.8 MiB    
Retrieving: libvdpau_nouveau-23.2.1-1699.364.pm.15.x86_64.rpm ........................................................................[done (228.0 KiB/s)]
Retrieving: Mesa-dri-32bit-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                         (7/35),   9.1 MiB    
Retrieving: Mesa-dri-32bit-23.2.1-1699.364.pm.15.x86_64.rpm ..........................................................................[done (245.6 KiB/s)]
Retrieving: Mesa-libva-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                             (8/35),   4.0 MiB    
Retrieving: Mesa-libva-23.2.1-1699.364.pm.15.x86_64.rpm ..............................................................................[done (141.2 KiB/s)]
Retrieving: Mesa-dri-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                               (9/35),   8.9 MiB    
Retrieving: Mesa-dri-23.2.1-1699.364.pm.15.x86_64.rpm ................................................................................[done (162.4 KiB/s)]
Retrieving: Mesa-vulkan-device-select-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                             (10/35),  61.7 KiB    
Retrieving: Mesa-vulkan-device-select-23.2.1-1699.364.pm.15.x86_64.rpm ................................................................[done (61.7 KiB/s)]
Retrieving: Mesa-vulkan-device-select-32bit-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                       (11/35),  61.7 KiB    
Retrieving: Mesa-vulkan-device-select-32bit-23.2.1-1699.364.pm.15.x86_64.rpm ..........................................................[done (55.9 KiB/s)]
Retrieving: libvlccore9-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                              (12/35), 470.3 KiB    
Retrieving: libvlccore9-3.0.20-1699.5.pm.7.x86_64.rpm ................................................................................[done (226.9 KiB/s)]
Retrieving: Mesa-gallium-32bit-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                    (13/35),  12.6 MiB    
Retrieving: Mesa-gallium-32bit-23.2.1-1699.364.pm.15.x86_64.rpm ......................................................................[done (146.1 KiB/s)]
Retrieving: Mesa-gallium-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                          (14/35),  12.1 MiB    
Retrieving: Mesa-gallium-23.2.1-1699.364.pm.15.x86_64.rpm ............................................................................[done (354.5 KiB/s)]
Retrieving: libheif1-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                                 (15/35), 301.1 KiB    
Retrieving: libheif1-1.17.6-1699.4.pm.3.x86_64.rpm ...................................................................................[done (268.2 KiB/s)]
Retrieving: gdk-pixbuf-loader-libheif-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                (16/35),  23.6 KiB    
Retrieving: gdk-pixbuf-loader-libheif-1.17.6-1699.4.pm.3.x86_64.rpm ....................................................................[done (1.0 KiB/s)]
Retrieving: libvulkan_radeon-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                      (17/35),   2.3 MiB    
Retrieving: libvulkan_radeon-23.2.1-1699.364.pm.15.x86_64.rpm ........................................................................[done (291.9 KiB/s)]
Retrieving: libvulkan_intel-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                       (18/35),   5.9 MiB    
Retrieving: libvulkan_intel-23.2.1-1699.364.pm.15.x86_64.rpm .........................................................................[done (230.7 KiB/s)]
Retrieving: libvulkan_lvp-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                         (19/35),   1.8 MiB    
Retrieving: libvulkan_lvp-23.2.1-1699.364.pm.15.x86_64.rpm ...........................................................................[done (186.7 KiB/s)]
Retrieving: libvulkan_intel-32bit-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                 (20/35),   5.8 MiB    
Retrieving: libvulkan_intel-32bit-23.2.1-1699.364.pm.15.x86_64.rpm ...................................................................[done (184.1 KiB/s)]
Retrieving: libvulkan_radeon-32bit-23.2.1-1699.364.pm.15.x86_64 (packman-essentials)                                                (21/35),   2.4 MiB    
Retrieving: libvulkan_radeon-32bit-23.2.1-1699.364.pm.15.x86_64.rpm ..................................................................[done (130.3 KiB/s)]
Retrieving: libvlc5-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                                  (22/35),  85.1 KiB    
Retrieving: libvlc5-3.0.20-1699.5.pm.7.x86_64.rpm .....................................................................................[done (72.7 KiB/s)]
Retrieving: libheif-jpeg-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                             (23/35),  26.8 KiB    
Retrieving: libheif-jpeg-1.17.6-1699.4.pm.3.x86_64.rpm ................................................................................[done (26.3 KiB/s)]
Retrieving: libheif-dav1d-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                            (24/35),  23.3 KiB    
Retrieving: libheif-dav1d-1.17.6-1699.4.pm.3.x86_64.rpm ................................................................................[done (1.0 KiB/s)]
Retrieving: libheif-ffmpeg-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                           (25/35),  27.1 KiB    
Retrieving: libheif-ffmpeg-1.17.6-1699.4.pm.3.x86_64.rpm ..............................................................................[done (27.1 KiB/s)]
Retrieving: libheif-rav1e-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                            (26/35),  27.6 KiB    
Retrieving: libheif-rav1e-1.17.6-1699.4.pm.3.x86_64.rpm ...............................................................................[done (23.5 KiB/s)]
Retrieving: libheif-openjpeg-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                         (27/35),  28.6 KiB    
Retrieving: libheif-openjpeg-1.17.6-1699.4.pm.3.x86_64.rpm ............................................................................[done (20.7 KiB/s)]
Retrieving: libheif-aom-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                              (28/35),  33.2 KiB    
Retrieving: libheif-aom-1.17.6-1699.4.pm.3.x86_64.rpm .................................................................................[done (23.5 KiB/s)]
Retrieving: libheif-svtenc-1.17.6-1699.4.pm.3.x86_64 (packman-essentials)                                                           (29/35),  26.5 KiB    
Retrieving: libheif-svtenc-1.17.6-1699.4.pm.3.x86_64.rpm ..............................................................................[done (24.9 KiB/s)]
Retrieving: vlc-noX-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                                  (30/35),   3.7 MiB    
Retrieving: vlc-noX-3.0.20-1699.5.pm.7.x86_64.rpm ....................................................................................[done (200.5 KiB/s)]
Retrieving: vlc-lang-3.0.20-1699.5.pm.7.noarch (packman-essentials)                                                                 (31/35),   5.4 MiB    
Retrieving: vlc-lang-3.0.20-1699.5.pm.7.noarch.rpm ...................................................................................[done (168.7 KiB/s)]
Retrieving: vlc-codec-gstreamer-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                      (32/35),  45.5 KiB    
Retrieving: vlc-codec-gstreamer-3.0.20-1699.5.pm.7.x86_64.rpm .........................................................................[done (32.0 KiB/s)]
Retrieving: vlc-qt-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                                   (33/35),   1.1 MiB    
Retrieving: vlc-qt-3.0.20-1699.5.pm.7.x86_64.rpm .....................................................................................[done (154.8 KiB/s)]
Retrieving: vlc-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                                      (34/35), 690.0 KiB    
Retrieving: vlc-3.0.20-1699.5.pm.7.x86_64.rpm ........................................................................................[done (112.4 KiB/s)]
Retrieving: vlc-vdpau-3.0.20-1699.5.pm.7.x86_64 (packman-essentials)                                                                (35/35),  61.9 KiB    
Retrieving: vlc-vdpau-3.0.20-1699.5.pm.7.x86_64.rpm ...................................................................................[done (46.0 KiB/s)]

Checking for file conflicts: .......................................................................................................................[done]
( 1/35) Installing: libopenal1-32bit-1.22.2-24.78.x86_64 ...........................................................................................[done]
( 2/35) Installing: openal-soft-data-1.22.2-24.78.noarch ...........................................................................................[done]
( 3/35) Installing: openclonk-data-8.1-16.192.noarch ...............................................................................................[done]
( 4/35) Installing: libopenal1-1.22.2-24.78.x86_64 .................................................................................................[done]
( 5/35) Installing: openclonk-8.1-16.192.x86_64 ....................................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvdpau_nouveau-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
( 6/35) Installing: libvdpau_nouveau-23.2.1-1699.364.pm.15.x86_64 ..................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-dri-32bit-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
( 7/35) Installing: Mesa-dri-32bit-23.2.1-1699.364.pm.15.x86_64 ....................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-libva-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
( 8/35) Installing: Mesa-libva-23.2.1-1699.364.pm.15.x86_64 ........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-dri-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
( 9/35) Installing: Mesa-dri-23.2.1-1699.364.pm.15.x86_64 ..........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-vulkan-device-select-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(10/35) Installing: Mesa-vulkan-device-select-23.2.1-1699.364.pm.15.x86_64 .........................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-vulkan-device-select-32bit-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(11/35) Installing: Mesa-vulkan-device-select-32bit-23.2.1-1699.364.pm.15.x86_64 ...................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvlccore9-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(12/35) Installing: libvlccore9-3.0.20-1699.5.pm.7.x86_64 ..........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-gallium-32bit-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(13/35) Installing: Mesa-gallium-32bit-23.2.1-1699.364.pm.15.x86_64 ................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/Mesa-gallium-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(14/35) Installing: Mesa-gallium-23.2.1-1699.364.pm.15.x86_64 ......................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif1-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(15/35) Installing: libheif1-1.17.6-1699.4.pm.3.x86_64 .............................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/gdk-pixbuf-loader-libheif-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(16/35) Installing: gdk-pixbuf-loader-libheif-1.17.6-1699.4.pm.3.x86_64 ............................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvulkan_radeon-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(17/35) Installing: libvulkan_radeon-23.2.1-1699.364.pm.15.x86_64 ..................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvulkan_intel-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(18/35) Installing: libvulkan_intel-23.2.1-1699.364.pm.15.x86_64 ...................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvulkan_lvp-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(19/35) Installing: libvulkan_lvp-23.2.1-1699.364.pm.15.x86_64 .....................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvulkan_intel-32bit-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(20/35) Installing: libvulkan_intel-32bit-23.2.1-1699.364.pm.15.x86_64 .............................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvulkan_radeon-32bit-23.2.1-1699.364.pm.15.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(21/35) Installing: libvulkan_radeon-32bit-23.2.1-1699.364.pm.15.x86_64 ............................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libvlc5-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(22/35) Installing: libvlc5-3.0.20-1699.5.pm.7.x86_64 ..............................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-jpeg-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(23/35) Installing: libheif-jpeg-1.17.6-1699.4.pm.3.x86_64 .........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-dav1d-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(24/35) Installing: libheif-dav1d-1.17.6-1699.4.pm.3.x86_64 ........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-ffmpeg-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(25/35) Installing: libheif-ffmpeg-1.17.6-1699.4.pm.3.x86_64 .......................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-rav1e-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(26/35) Installing: libheif-rav1e-1.17.6-1699.4.pm.3.x86_64 ........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-openjpeg-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(27/35) Installing: libheif-openjpeg-1.17.6-1699.4.pm.3.x86_64 .....................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-aom-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(28/35) Installing: libheif-aom-1.17.6-1699.4.pm.3.x86_64 ..........................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/libheif-svtenc-1.17.6-1699.4.pm.3.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(29/35) Installing: libheif-svtenc-1.17.6-1699.4.pm.3.x86_64 .......................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/vlc-noX-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(30/35) Installing: vlc-noX-3.0.20-1699.5.pm.7.x86_64 ..............................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/noarch/vlc-lang-3.0.20-1699.5.pm.7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(31/35) Installing: vlc-lang-3.0.20-1699.5.pm.7.noarch .............................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/vlc-codec-gstreamer-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(32/35) Installing: vlc-codec-gstreamer-3.0.20-1699.5.pm.7.x86_64 ..................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/vlc-qt-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(33/35) Installing: vlc-qt-3.0.20-1699.5.pm.7.x86_64 ...............................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/vlc-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(34/35) Installing: vlc-3.0.20-1699.5.pm.7.x86_64 ..................................................................................................[done]
warning: /var/cache/zypp/packages/packman-essentials/x86_64/vlc-vdpau-3.0.20-1699.5.pm.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(35/35) Installing: vlc-vdpau-3.0.20-1699.5.pm.7.x86_64 ............................................................................................[done]
Running post-transaction scripts ...................................................................................................................[done]
 
>

Passing: zypper search --obsoletes-pkg located 35 packages obsolete. I had just run sudo zypper dup 2 hours prior to zypper search --obsoletes-pkg How often should one consider ‘searching obsoletes’?
Why the warnings about NOKEY? How serious is this?

Thanks

This is not needed at all. zypper dup is everything you need to upgrade Tumbleweed.

Upgrading Tumbleweed can leave behind unneeded packages. In case of trouble users may want to delete them:

6700k:~ # rmu
Reading installed packages...
Resolving package dependencies...

The following 4 packages are going to be REMOVED:
  libusb-1_0-devel python3-solv scout systemd-devel

4 packages to remove.
After the operation, 2.4 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): 
(1/4) Removing libusb-1_0-devel-1.0.26-1.7.x86_64 ....................................................................................................................................................................................[done]
(2/4) Removing scout-0.2.7+20230124.b4e3468-1.2.noarch ...............................................................................................................................................................................[done]
(3/4) Removing systemd-devel-254.5-8.1.x86_64 ........................................................................................................................................................................................[done]
(4/4) Removing python3-solv-0.7.27-1.2.x86_64 ........................................................................................................................................................................................[done]
Running post-transaction scripts .....................................................................................................................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
 
6700k:~ # 

There is a difference between unneeded and obsolete packages. Read the zypper man page…

And don‘t use aliases like „rmu“ if you want to be a help for linux beginners…

@panorain be careful when following Karl‘s recommendations as his hosts and setups are rarely compareable with setups from normal users and admins…

1 Like

The zypper command itself is missing. --obsoletes-pkg is not a zypper command nor is it a global zypper option. You do realize that you first displayed help for zypper search command and then omitted search entirely?

I do understand now that I omitted the “search” entirely yes. I do understand that I first display help for the search command. I understand that --obsoletes-pkg is a search command for application zypper I think yes. Really my question is now: that no "" are needed for the search --obsoletes-pkg string in passing zypper search --obsoletes-pkg I see that “search” is a zypper command and --obsoletes-pkg is a search command.

Thank you for the insight into this topic.

As described in the man page, simply use a wildcard “*”. In that way you don’t need to specify a search term.

ich@rennsemmel:~> LANG=C sudo zypper se --obsoletes-pkg *
Loading repository data...
Reading installed packages...
No matching items found.
ich@rennsemmel:~>

But to clearify some missunderstandings from you:

No, you simply refreshed your repository cache. This is not even necessary as zypper refresh is automatically done by zypper dup.

As already said above, this is not necessary at all. A zypper dup will always compare your package database on your computer against available packages on the mirror and upgrades to the newest version.

Thank you for your clarity into this. As I was sleeping I was thinking about comparing the image (wording in my head) correctly called package database on the machine here, to the image on the openSUSE mirror.

zypper --help

Usage:

zypper [--GLOBAL-OPTIONS] <COMMAND> [--COMMAND-OPTIONS] [ARGUMENTS]
zypper <SUBCOMMAND> [--COMMAND-OPTIONS] [ARGUMENTS]

Global Options:

--help, -h              Help.
--version, -V           Output the version number.
--promptids             Output a list of zypper's user prompts.
--config, -c <FILE>     Use specified config file instead of the default.
--userdata <STRING>     User defined transaction id used in history and plugins.
--quiet, -q             Suppress normal output, print only error messages.
--verbose, -v           Increase verbosity.
--color
--no-color              Whether to use colors in output if tty supports it.
--no-abbrev, -A         Do not abbreviate text in tables. Default: false
--table-style, -s <INTEGER>
                        Table style (0-11).
--non-interactive, -n   Do not ask anything, use default answers automatically. Default: false
--non-interactive-include-reboot-patches
                        Do not treat patches as interactive, which have the rebootSuggested-flag
                        set. Default: false
--xmlout, -x            Switch to XML output.
--ignore-unknown, -i    Ignore unknown packages. Default: false
--terse, -t             Terse output for machine consumption. Implies --no-abbrev and
                        --no-color.


--reposd-dir, -D <DIR>  Use alternative repository definition file directory.
--cache-dir, -C <DIR>   Use alternative directory for all caches.
--raw-cache-dir <DIR>   Use alternative raw meta-data cache directory.
--solv-cache-dir <DIR>  Use alternative solv file cache directory.
--pkg-cache-dir <DIR>   Use alternative package cache directory.

Repository Options

--no-gpg-checks         Ignore GPG check failures and continue. Default: false
--gpg-auto-import-keys  Automatically trust and import new repository signing keys.
--plus-repo, -p <URI>   Use an additional repository.
--plus-content <TAG>    Additionally use disabled repositories providing a specific keyword. Try
                        '--plus-content debug' to enable repos indicating to provide debug
                        packages.
--disable-repositories  Do not read meta-data from repositories.
--no-refresh            Do not refresh the repositories.
--no-cd                 Ignore CD/DVD repositories.
--no-remote             Ignore remote repositories.
--releasever            Set the value of $releasever in all .repo files (default: distribution
                        version)

Target Options

--root, -R <DIR>        Operate on a different root directory.
--installroot <DIR>     Operate on a different root directory, but share repositories with the
                        host.
--disable-system-resolvables
                        Do not read installed packages.

Commands:

  help, ?               Print zypper help
  shell, sh             Accept multiple commands at once.

Repository Management:

  repos, lr             List all defined repositories.
  addrepo, ar           Add a new repository.
  removerepo, rr        Remove specified repository.
  renamerepo, nr        Rename specified repository.
  modifyrepo, mr        Modify specified repository.
  refresh, ref          Refresh all repositories.
  clean, cc             Clean local caches.

Service Management:

  services, ls          List all defined services.
  addservice, as        Add a new service.
  modifyservice, ms     Modify specified service.
  removeservice, rs     Remove specified service.
  refresh-services, refs
                        Refresh all services.

Software Management:

  install, in           Install packages.
  remove, rm            Remove packages.
  removeptf, rmptf      Remove (not only) PTFs.
  verify, ve            Verify integrity of package dependencies.
  source-install, si    Install source packages and their build dependencies.
  install-new-recommends, inr
                        Install newly added packages recommended by installed packages.

Update Management:

  update, up            Update installed packages with newer versions.
  list-updates, lu      List available updates.
  patch                 Install needed patches.
  list-patches, lp      List available patches.
  dist-upgrade, dup     Perform a distribution upgrade.
  patch-check, pchk     Check for patches.

Querying:

  search, se            Search for packages matching a pattern.
  info, if              Show full information for specified packages.
  patch-info            Show full information for specified patches.
  pattern-info          Show full information for specified patterns.
  product-info          Show full information for specified products.
  patches, pch          List all available patches.
  packages, pa          List all available packages.
  patterns, pt          List all available patterns.
  products, pd          List all available products.
  what-provides, wp     List packages providing specified capability.

Package Locks:

  addlock, al           Add a package lock.
  removelock, rl        Remove a package lock.
  locks, ll             List current package locks.
  cleanlocks, cl        Remove useless locks.

Locale Management:

  locales, lloc         List requested locales (languages codes).
  addlocale, aloc       Add locale(s) to requested locales.
  removelocale, rloc    Remove locale(s) from requested locales.

Other Commands:

  versioncmp, vcmp      Compare two version strings.
  targetos, tos         Print the target operating system ID string.
  licenses              Print report about licenses and EULAs of installed packages.
  download              Download rpms specified on the commandline to a local directory.
  source-download       Download source rpms for all installed packages to a local directory.
  needs-rebooting       Check if the reboot-needed flag was set.
  ps                    List running processes which might still use files and libraries deleted
                        by recent upgrades.
  purge-kernels         Remove old kernels.

Subcommands:

  subcommand            Lists available subcommands.
  appstream-cache       <No manual entry for zypper-appstream-cache>
  lifecycle             products and packages lifecycle information

Type ‘zypper help ’ to get command-specific help.

ich@rennsemmel:~> LANG=C sudo zypper se --obsoletes-pkg *

se is short for search

zypper help se
search (se) [OPTIONS] [QUERYSTRING] …

Search for packages matching any of the given search strings.

  • and ? wildcards can also be used within search strings. If a search string is enclosed in ‘/’,
    it’s interpreted as a regular expression.

    Command options:

    –match-substrings Search for a match to partial words (default).
    –match-words Search for a match to whole words only.
    -x, --match-exact Searches for an exact match of the search strings.
    –provides Search for packages which provide the search strings.
    –requires Search for packages which require the search strings.
    –recommends Search for packages which recommend the search strings.
    –supplements Search for packages which supplement the search strings.
    –conflicts Search packages conflicting with search strings.
    –obsoletes Search for packages which obsolete the search strings.
    –suggests Search for packages which suggest the search strings.
    –provides-pkg Search for all packages that provide any of the provides of the
    package(s) matched by the input parameters.
    –requires-pkg Search for all packages that require any of the provides of the
    package(s) matched by the input parameters.
    –recommends-pkg Search for all packages that recommend any of the provides of the
    package(s) matched by the input parameters.
    –supplements-pkg Search for all packages that supplement any of the provides of the
    package(s) matched by the input parameters.
    –conflicts-pkg Search for all packages that conflict with any of the package(s) matched
    by the input parameters.
    –obsoletes-pkg Search for all packages that obsolete any of the package(s) matched by
    the input parameters.
    –suggests-pkg Search for all packages that suggest any of the provides of the
    package(s) matched by the input parameters.
    -t, --type Search only for packages of the specified type.
    -n, --name Useful together with dependency options, otherwise searching in package
    name is default.
    -f, --file-list Search for a match in the file list of packages.
    -d, --search-descriptions Search also in package summaries and descriptions. Default: false
    -C, --case-sensitive Perform case-sensitive search. Default: false
    -s, --details Show each available version in each repository on a separate line.
    Default: false
    -v, --verbose Like --details, with additional information where the search has matched
    (useful for search in dependencies). Default: false
    -i, --installed-only Show only installed packages.
    -u, --not-installed-only Show only packages which are not installed.
    –sort-by-name Sort packages by name (default).
    –sort-by-repo Sort packages by repository.
    -r, --repo <ALIAS|#|URI> Work only with the specified repository.

* and ? wildcards can also be used within search strings. If a search string is enclosed in '/',
it's interpreted as a regular expression.

This above 2 sentences confuses me now some between * and ? wildcards (what they do).

I do have a more firm grasp of understanding than before. I do also know man zypper is a manual page for zypper

My question also for you is on top of zypper man page I see: ZYPPER(8) ZYPPER ZYPPER(8)

What does (8) specify in this instance?

Thanks

This post is mainly for reference.

Three types of wildcards

In Bash, wildcards are special characters that match multiple files. The three most common wildcards are:

Asterisk (*): Matches any number of characters, including no characters.
Question mark (?): Matches any single character.
Square brackets ([]): Matches any character enclosed in the brackets.

You can also use wildcards to list files, rename files, copy files, delete files and more.

Thanks

(8) specifies the manual “section”. See man man for information.