Cannot delete libopenssl1_1 package - too many dependencies

It is already deleted in TW.
It’ll deleted in the next Leap (Leap 16.0)?

What output do you get from: rpm -q --whatrequires libopenssl1_1?

For me (not the OP)

# rpm -q --whatrequires libopenssl1_1
no package requires libopenssl1_1
#

And now, let’s try this (personally, I have no reason to remove it, but thought I’d contribute)

# zypper rm  libopenssl1_1
Reading installed packages...
Resolving package dependencies...

The following 207 packages are going to be REMOVED:
  NetworkManager-openconnect NetworkManager-openconnect-lang acpica alsa-plugins-pulse apparmor-utils apparmor-utils-lang
  autoyast2-installation cifs-utils discover-backend-flatpak discover-backend-fwupd 

[snipped a bunch of listed files ]

  yast2-services-manager yast2-slp yast2-snapper yast2-sound yast2-storage-ng yast2-sysconfig yast2-transfer yast2-update
  yast2-users yast2-vm zypper-lifecycle-plugin

The following 5 patterns are going to be REMOVED:
  kde kde_plasma kde_yast yast2_basis yast2_desktop

207 packages to remove.

Same results, 500+ packages to remove with

sudo zypper rm --dry-run libopenssl1_1
:~> LANG=C rpm -q --whatrequires libopenssl1_1
no package requires libopenssl1_1

The problem apparently is with libcrypto.so.1.1()(64bit):

localhost:~ # rpm -q --whatrequires 'libcrypto.so.1.1()(64bit)'
python3-pycurl-7.43.0.2-4.3.1.x86_64
libevent-2_1-8-2.1.8-2.23.x86_64
python3-cryptography-3.3.2-150400.23.1.x86_64
nvidia-compute-G06-570.86.16-lp156.31.1.x86_64
ruby2.5-stdlib-2.5.9-150000.4.32.1.x86_64
libopenssl1_1-1.1.1w-150600.5.9.1.x86_64
libostree-1-1-2024.10-150500.3.9.4.x86_64
python-2.7.18-150000.71.1.x86_64
python3-base-3.6.15-150300.10.81.1.x86_64
localhost:~ #

and libopenssl1_1 is the only package providing that:

localhost:~ # rpm -q --whatprovides 'libcrypto.so.1.1()(64bit)'
libopenssl1_1-1.1.1w-150600.5.9.1.x86_64
localhost:~ #

BTW,

can work with libopenssl3.
But others, yes, cannot.

@Svyatko why do you need to delete, it’s a Leap 15.6 supported package…

Then you should read Post #2 and consult with @hendersj about your response … that Admin asked for the output.

I simply responded to the suggestion.

@Svyatko:

Here on Leap 15.6 –

 > rpm --query --whatrequires libopenssl1_1
openssl-1_1-1.1.1w-150600.5.9.1.x86_64
 > rpm --query --whatrequires libopenssl1_1-32bit
no package requires libopenssl1_1-32bit
 > rpm --query --whatrecommends libopenssl1_1
no package recommends libopenssl1_1
 > rpm --query --whatsuggests libopenssl1_1
no package suggests libopenssl1_1
 > rpm --query --whatrecommends libopenssl1_1-32bit
no package recommends libopenssl1_1-32bit
 > rpm --query --whatsuggests libopenssl1_1-32bit
no package suggests libopenssl1_1-32bit
 > 
 > rpm --query --whatrequires openssl-1_1
no package requires openssl-1_1
 > rpm --query --whatrequires openssl-3
openssl-3.1.4-150600.2.1.noarch
 >

N.B.: “openssl-3” – it was installed when I upgraded to Leap 15.6 on the 16th of June last year – together with “openssl-1_1” …
Since then, both the “3” and the “1_1” OpenSSL version have received patches and updates but, recently the “1_1” version has been quiet …

Which package needs the “1_1” OpenSSL version?

 > rpm --query --requires php7-openssl
config(php7-openssl) = 7.4.33-150400.4.43.1
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.1.1()(64bit)
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
libssl.so.1.1()(64bit)
libssl.so.1.1(OPENSSL_1_1_0)(64bit)
php = 7.4.33
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
 >

If, you still have PHP7 installed then, you’ll need the “1_1” OpenSSL version.
PHP8 is available for Leap 15.6 but, I haven’t installed it to date.

Like SLES, SLED is based on openSUSE Tumbleweed and shares a common codebase with openSUSE Leap. Software package libopenssl1_1 is part of this common codebase.

libopenssl1_1 is included in the repository “Basesystem” for SLES15 SP6 and SLED15 SP6.

# zypper search -i -s libopenssl1_1
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name          | Type  | Version             | Arch   | Repository
---+---------------+-------+---------------------+--------+------------------------------------
i  | libopenssl1_1 | Paket | 1.1.1w-150600.5.9.1 | x86_64 | SLE-Module-Basesystem15-SP6-Updates

    Hinweis: Für eine erweiterte Suche inkl. nicht momentan aktivierter Remote-Ressourcen bitte
    'zypper search-packages' verwenden.

All software packages in this repository are supported by SUSE with support level L3. Read this:

for more information about support level L3.

# zypper info libopenssl1_1
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...


Informationen zu Paket libopenssl1_1:
-------------------------------------
Repository         : SLE-Module-Basesystem15-SP6-Updates
Name               : libopenssl1_1
Version            : 1.1.1w-150600.5.9.1
Arch               : x86_64
Anbieter           : SUSE LLC <https://www.suse.com/>
Support Level      : Stufe 3
Installierte Größe : 3.9 MiB
Installiert        : Ja (automatisch)
Status             : aktuell
Quellpaket         : openssl-1_1-1.1.1w-150600.5.9.1.src
Upstream-URL       : https://www.openssl.org/
Zusammenfassung    : Secure Sockets and Transport Layer Security
Beschreibung       : 
    OpenSSL is a software library to be used in applications that need to
    secure communications over computer networks against eavesdropping or
    need to ascertain the identity of the party at the other end.
    OpenSSL contains an implementation of the SSL and TLS protocols.

And check output of “zypper lifecycle”:

# rpm -qa |grep -i lifecycle
lifecycle-data-sle-module-python3-1-150400.9.3.1.noarch
lifecycle-data-sle-module-development-tools-1-150200.3.33.1.noarch
zypper-lifecycle-plugin-0.6.1601367426.843fe7a-1.60.noarch
lifecycle-data-sle-module-desktop-applications-1-5.4.1.x86_64
lifecycle-data-sle-module-basesystem-2-150600.20.1.x86_64
lifecycle-data-sle-module-desktop-productivity-1-9.4.1.x86_64

Short version: It is the job of the company SUSE to patch all known security holes in this common codebase. SUSE has the job to deliver security updates for libopenssl1_1 to SLES15 SP6, SLED15 SP6 and openSUSE Leap 15.6 until 2025-12-31.

And as you can read in the SLES15 SP6 release notes, SUSE will replace OpenSSL 1.1 with a fresher version.

Stay relaxed:

Python 3.6 is upstream end-of-life since 4 years (2021-12-31):

But SUSE still provides security updates for this oldie. Here a fresh (2025) security update from SUSE for Python 3.6:

Ultimately, as others noted, on 15.6 it is still needed, as it’s a core package.

Leap 16.0 (at least in my Alpha install) does not appear to have this package installed.

Because of this discussion:

But possibly it is libopenssl1_0_0 which was discussed.
IDK how it is related to libopenssl1_1 and what dotNET 8 requires in the end.

Installation of .NET SDK and .NET Runtime is officially supported by Microsoft for the common codebase of SLES15 SP6, SLED15 SP6 and openSUSE Leap 15.6 (until 2025-12-31).

Please read chapter “Dependencies” in the install instructions for .NET SDK/Runtime on (open-)SUSE linux distributions:

# rpm -q --requires dotnet-runtime-deps-8.0 
krb5
libicu
libopenssl1_1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

The installation of .NET SDK/Runtime on any rolling release linux distribution, like openSUSE TumbleWeed, is of course not supported by Microsoft.