Error while installing Rocm

Followintg the steps from Quick Start (Linux) — ROCm Documentation Home
When I get to Install ROCm Runtimes, I get the error:

sudo zypper install rocm-hip-libraries
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
Paketabhängigkeiten werden aufgelöst...

Das folgende empfohlene Paket wurde automatisch gewählt:
  libdrm-amdgpu

Die folgenden 31 NEUEN Pakete werden installiert:
  amdgpu-core comgr hipblas hipblaslt hipcc hip-devel hipfft hip-runtime-amd hipsolver hipsparse hsa-rocr libdrm-amdgpu
  libdrm-amdgpu-common openmp-extras-runtime perl-File-BaseDir perl-File-Which perl-IPC-System-Simple rccl rocalution
  rocblas rocfft rocm-core rocm-hip-libraries rocm-hip-runtime rocminfo rocm-language-runtime rocm-llvm rocm-smi-lib
  rocrand rocsolver rocsparse

31 neue Pakete zu installieren.
Gesamtgröße des Downloads: 1,37 GiB. Bereits im Cache gespeichert: 0 B. Nach der Operation werden zusätzlich 11,0 GiB
belegt.
Fortfahren? [j/n/v/...? zeigt alle Optionen] (j): j
Abrufen: amdgpu-core-1:5.6.50600-1609671.noarch (amdgpu)                                             (1/31),   8,3 KiB    
Abrufen: amdgpu-core-5.6.50600-1609671.noarch.rpm ................................................................[fertig]
Abrufen: libdrm-amdgpu-common-1.0.0.50600-1609671.noarch (amdgpu)                                    (2/31),   8,6 KiB    
Abrufen: libdrm-amdgpu-common-1.0.0.50600-1609671.noarch.rpm .....................................................[fertig]
Abrufen: libdrm-amdgpu-1:2.4.115.50600-1609671.x86_64 (amdgpu)                                       (3/31),  82,9 KiB    
Abrufen: libdrm-amdgpu-2.4.115.50600-1609671.x86_64.rpm .............................................[fertig (15,7 KiB/s)]
Abrufen: perl-File-Which-1.22-1.22.noarch (SUSE:SLE-15:Update)                                       (4/31),  29,2 KiB    
Abrufen: perl-File-Which-1.22-1.22.noarch.rpm .......................................................[fertig (27,0 KiB/s)]
Abrufen: perl-IPC-System-Simple-1.25-1.24.noarch (SUSE:SLE-15:Update)                                (5/31),  37,8 KiB    
Abrufen: perl-IPC-System-Simple-1.25-1.24.noarch.rpm .............................................................[fertig]
Abrufen: rocm-core-5.6.0.50600-sles154.67.x86_64 (rocm)                                              (6/31),  15,4 KiB    
Abrufen: rocm-core-5.6.0.50600-sles154.67.x86_64.rpm .............................................................[fertig]
Abrufen: rocrand-2.10.17.50600-sles154.67.x86_64 (rocm)                                              (7/31),  19,0 MiB    
Abrufen: rocrand-2.10.17.50600-sles154.67.x86_64.rpm .................................................[fertig (3,2 MiB/s)]
Abrufen: rocm-smi-lib-5.0.0.50600-sles154.67.x86_64 (rocm)                                           (8/31), 830,0 KiB    
Abrufen: rocm-smi-lib-5.0.0.50600-sles154.67.x86_64.rpm ............................................[fertig (559,7 KiB/s)]
Abrufen: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 (rocm)                                       (9/31), 886,0 MiB    
Abrufen: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm ........................................[Fehler (468,1 KiB/s)]
Zeitüberschreitung beim Zugriff auf 'https://repo.radeon.com/rocm/zyp/zypper/rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm'.
Abbrechen, wiederholen, ignorieren? [a/w/i] (w): 
Neuversuch...
Abrufen: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm ..........................................[Fehler (3,2 MiB/s)]
Fehler beim Download (curl) für 'https://repo.radeon.com/rocm/zyp/zypper/rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm':
Fehlercode: 'Write error'
Fehlermeldung: 'Failure writing output to destination'

Abbrechen, wiederholen, ignorieren? [a/w/i/...? zeigt alle Optionen] (a): w
Abrufen: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm ..........................................[Fehler (3,5 MiB/s)]
Fehler beim Download (curl) für 'https://repo.radeon.com/rocm/zyp/zypper/rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm':
Fehlercode: 'Write error'
Fehlermeldung: 'Failure writing output to destination'

Abbrechen, wiederholen, ignorieren? [a/w/i/...? zeigt alle Optionen] (a): i
Warnung: Ihre Wahl, ein Problem mit dem Herunterladen oder der Installation eines Pakets zu ignorieren, führt möglicherweise zu beschädigten Abhängigkeiten anderer Pakete. Es wird empfohlen, nach Beenden des Vorgangs 'zypper verify' auszuführen.
Abrufen: rocfft-1.0.23.50600-sles154.67.x86_64 (rocm)                                               (10/31), 108,7 MiB    
Abrufen: rocfft-1.0.23.50600-sles154.67.x86_64.rpm ...................................................[fertig (3,5 MiB/s)]
Abrufen: hsa-rocr-1.9.0.50600-sles154.67.x86_64 (rocm)                                              (11/31), 491,4 KiB    
Abrufen: hsa-rocr-1.9.0.50600-sles154.67.x86_64.rpm ................................................[fertig (463,7 KiB/s)]
Abrufen: comgr-2.5.0.50600-sles154.67.x86_64 (rocm)                                                 (12/31),  36,5 MiB    
Abrufen: comgr-2.5.0.50600-sles154.67.x86_64.rpm .....................................................[fertig (2,6 MiB/s)]
Abrufen: hipfft-1.0.12.50600-sles154.67.x86_64 (rocm)                                               (13/31),  21,8 KiB    
Abrufen: hipfft-1.0.12.50600-sles154.67.x86_64.rpm ...............................................................[fertig]
Abrufen: rocminfo-1.0.0.50600-sles154.67.x86_64 (rocm)                                              (14/31),  31,9 KiB    
Abrufen: rocminfo-1.0.0.50600-sles154.67.x86_64.rpm ..............................................................[fertig]
Abrufen: openmp-extras-runtime-16.56.0.50600-sles154.67.x86_64 (rocm)                               (15/31),   8,3 MiB    
Abrufen: openmp-extras-runtime-16.56.0.50600-sles154.67.x86_64.rpm ...................................[fertig (2,0 MiB/s)]
Abrufen: rocm-language-runtime-5.6.0.50600-sles154.67.x86_64 (rocm)                                 (16/31),   7,0 KiB    
Abrufen: rocm-language-runtime-5.6.0.50600-sles154.67.x86_64.rpm .................................................[fertig]
Abrufen: perl-File-BaseDir-0.09-bp155.2.12.noarch (openSUSE-Leap-15.5-1)                            (17/31),  30,2 KiB    
Abrufen: perl-File-BaseDir-0.09-bp155.2.12.noarch.rpm ..............................................[fertig (219,1 KiB/s)]
Abrufen: hipcc-1.0.0.50600-sles154.67.x86_64 (rocm)                                                 (18/31),   1,1 MiB    
Abrufen: hipcc-1.0.0.50600-sles154.67.x86_64.rpm ...................................................[fertig (991,7 KiB/s)]
Abrufen: hip-devel-5.6.31061.50600-sles154.67.x86_64 (rocm)                                         (19/31), 245,6 KiB    
Abrufen: hip-devel-5.6.31061.50600-sles154.67.x86_64.rpm ...........................................[fertig (111,7 KiB/s)]
Abrufen: hip-runtime-amd-5.6.31061.50600-sles154.67.x86_64 (rocm)                                   (20/31),   8,9 MiB    
Abrufen: hip-runtime-amd-5.6.31061.50600-sles154.67.x86_64.rpm .......................................[fertig (1,3 MiB/s)]
Abrufen: rocsparse-2.5.2.50600-sles154.67.x86_64 (rocm)                                             (21/31),  44,1 MiB    
Abrufen: rocsparse-2.5.2.50600-sles154.67.x86_64.rpm .................................................[fertig (2,6 MiB/s)]
Abrufen: rocm-hip-runtime-5.6.0.50600-sles154.67.x86_64 (rocm)                                      (22/31),  10,1 KiB    
Abrufen: rocm-hip-runtime-5.6.0.50600-sles154.67.x86_64.rpm ......................................................[fertig]
Abrufen: rocblas-3.0.0.50600-sles154.67.x86_64 (rocm)                                               (23/31), 126,6 MiB    
Abrufen: rocblas-3.0.0.50600-sles154.67.x86_64.rpm ...................................................[fertig (3,1 MiB/s)]
Abrufen: rccl-2.16.5.50600-sles154.67.x86_64 (rocm)                                                 (24/31),  32,6 MiB    
Abrufen: rccl-2.16.5.50600-sles154.67.x86_64.rpm .....................................................[fertig (3,6 MiB/s)]
Abrufen: hipsparse-2.3.6.50600-sles154.67.x86_64 (rocm)                                             (25/31),  57,1 KiB    
Abrufen: hipsparse-2.3.6.50600-sles154.67.x86_64.rpm .............................................................[fertig]
Abrufen: rocsolver-3.22.0.50600-sles154.67.x86_64 (rocm)                                            (26/31), 122,8 MiB    
Abrufen: rocsolver-3.22.0.50600-sles154.67.x86_64.rpm ................................................[Fehler (2,8 MiB/s)]
Fehler beim Download (curl) für 'https://repo.radeon.com/rocm/zyp/zypper/rocsolver-3.22.0.50600-sles154.67.x86_64.rpm':
Fehlercode: 'Write error'
Fehlermeldung: 'Failure writing output to destination'

Abbrechen, wiederholen, ignorieren? [a/w/i/...? zeigt alle Optionen] (a): i
Warnung: Ihre Wahl, ein Problem mit dem Herunterladen oder der Installation eines Pakets zu ignorieren, führt möglicherweise zu beschädigten Abhängigkeiten anderer Pakete. Es wird empfohlen, nach Beenden des Vorgangs 'zypper verify' auszuführen.
Abrufen: rocalution-2.1.9.50600-sles154.67.x86_64 (rocm)                                            (27/31),   3,2 MiB    
Abrufen: rocalution-2.1.9.50600-sles154.67.x86_64.rpm ................................................[fertig (3,2 MiB/s)]
Abrufen: hipsolver-1.8.0.50600-sles154.67.x86_64 (rocm)                                             (28/31),  63,0 KiB    
Abrufen: hipsolver-1.8.0.50600-sles154.67.x86_64.rpm .............................................................[fertig]
Abrufen: hipblas-1.0.0.50600-sles154.67.x86_64 (rocm)                                               (29/31),  83,4 KiB    
Abrufen: hipblas-1.0.0.50600-sles154.67.x86_64.rpm ...............................................................[fertig]
Abrufen: hipblaslt-0.2.0.50600-sles154.67.x86_64 (rocm)                                             (30/31), 915,4 KiB    
Abrufen: hipblaslt-0.2.0.50600-sles154.67.x86_64.rpm ...............................................[fertig (703,7 KiB/s)]
Abrufen: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 (rocm)                                    (31/31),   7,3 KiB    
Abrufen: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64.rpm ....................................................[fertig]
Die Installation wurde mit einem Fehler abgeschlossen.

When you do not want to do this in the German section of these forums, then please see that your tools output their messages in English. Precede your command with LANG=C. E.g.

LANG=C zypper install rocm-hip-libraries

Then, you seem to have repositories outside the standard set. So please at least show what you have:

LANG=C zypper lr -d

And I see mentioning of sles154 somewhere in the messages. That is not openSUSE 15.5 (as you said you are using).

My repositories:

#  | Alias                                | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service
---+--------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
 1 | amdgpu                               | amdgpu                                                                                      | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://repo.radeon.com/amdgpu/latest/sle/15.5/main/x86_64                             | 
 2 | home_interstar001_Monitoringplugins  | Branch project for package monitoring-plugins (15.5)                                        | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/home:/interstar001:/Monitoringplugins/15.5/ | 
 3 | https-download.opensuse.org-8593c13e | SUSE:SLE-15:Update                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/distribution/leap/15.4/repo/oss/                         | 
 4 | openSUSE-Leap-15.5-1                 | openSUSE-Leap-15.5-1                                                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.5/repo/oss                           | 
 5 | repo-backports-debug-update          | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.5/backports_debug/                         | 
 6 | repo-backports-update                | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/backports/                               | 
 7 | repo-debug                           | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.5/repo/oss/                    | 
 8 | repo-debug-non-oss                   | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.5/repo/non-oss/                | 
 9 | repo-debug-update                    | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.5/oss/                               | 
10 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.5/non-oss/                           | 
11 | repo-non-oss                         | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/                      | 
12 | repo-openh264                        | Open H.264 Codec (openSUSE Leap)                                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/                                     | 
13 | repo-oss                             | Haupt-Repository                                                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.5/repo/oss/                          | 
14 | repo-sle-debug-update                | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.5/sle/                               | 
15 | repo-sle-update                      | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/sle/                                     | 
16 | repo-source                          | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.5/repo/oss/                   | 
17 | repo-update                          | Hauptaktualisierungs-Repository                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/oss                                      | 
18 | repo-update-non-oss                  | Aktualisierungs-Repository (Nicht-Open-Source-Software)                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.5/non-oss/                                 | 
19 | rocm                                 | rocm                                                                                        | Yes     | ( p) Yes  | No      |   50     | rpm-md | https://repo.radeon.com/rocm/zyp/zypper                                                | 

My command (LANG=C zypper install -f rocm-hip-libraries) runned again:

Loading repository data...
Reading installed packages...
Forcing installation of 'rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64' from repository 'rocm'.
Resolving package dependencies...

The following recommended package was automatically selected:
  libdrm-amdgpu

The following 31 NEW packages are going to be installed:
  amdgpu-core comgr hip-devel hip-runtime-amd hipblas hipblaslt hipcc hipfft hipsolver hipsparse hsa-rocr libdrm-amdgpu
  libdrm-amdgpu-common openmp-extras-runtime perl-File-BaseDir perl-File-Which perl-IPC-System-Simple rccl rocalution
  rocblas rocfft rocm-core rocm-hip-libraries rocm-hip-runtime rocm-language-runtime rocm-llvm rocm-smi-lib rocminfo
  rocrand rocsolver rocsparse

31 new packages to install.
Overall download size: 1008.8 MiB. Already cached: 391.9 MiB. After the operation, additional 11.0 GiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
In cache amdgpu-core-5.6.50600-1609671.noarch.rpm                                                    (1/31),   8.2 KiB    
In cache libdrm-amdgpu-common-1.0.0.50600-1609671.noarch.rpm                                         (2/31),   8.5 KiB    
In cache libdrm-amdgpu-2.4.115.50600-1609671.x86_64.rpm                                              (3/31),  82.7 KiB    
In cache perl-File-Which-1.22-1.22.noarch.rpm                                                        (4/31),  29.2 KiB    
In cache perl-IPC-System-Simple-1.25-1.24.noarch.rpm                                                 (5/31),  37.8 KiB    
In cache rocm-core-5.6.0.50600-sles154.67.x86_64.rpm                                                 (6/31),  15.4 KiB    
In cache rocrand-2.10.17.50600-sles154.67.x86_64.rpm                                                 (7/31),  19.0 MiB    
In cache rocm-smi-lib-5.0.0.50600-sles154.67.x86_64.rpm                                              (8/31), 830.0 KiB    
Retrieving: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 (rocm)                                    (9/31), 886.0 MiB    
Retrieving: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm ........................................[error (3.1 MiB/s)]
Download (curl) error for 'https://repo.radeon.com/rocm/zyp/zypper/rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm':
Error code: Write error
Error message: Failure writing output to destination

Abort, retry, ignore? [a/r/i/...? shows all options] (a):

I tried again after making my /var partition bigger

$sudo LANG=C zypper install -f rocm-hip-libraries
[sudo] Passwort für root: 
Das hat nicht funktioniert, bitte nochmal probieren.
[sudo] Passwort für root: 
Loading repository data...
Reading installed packages...
Forcing installation of 'rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64' from repository 'rocm'.
Resolving package dependencies...

The following recommended package was automatically selected:
  libdrm-amdgpu

The following 31 NEW packages are going to be installed:
  amdgpu-core comgr hip-devel hip-runtime-amd hipblas hipblaslt hipcc hipfft hipsolver hipsparse hsa-rocr libdrm-amdgpu
  libdrm-amdgpu-common openmp-extras-runtime perl-File-BaseDir perl-File-Which perl-IPC-System-Simple rccl rocalution
  rocblas rocfft rocm-core rocm-hip-libraries rocm-hip-runtime rocm-language-runtime rocm-llvm rocm-smi-lib rocminfo
  rocrand rocsolver rocsparse

31 new packages to install.
Overall download size: 1008.8 MiB. Already cached: 391.9 MiB. After the operation, additional 11.0 GiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
In cache amdgpu-core-5.6.50600-1609671.noarch.rpm                                                    (1/31),   8.2 KiB    
In cache libdrm-amdgpu-common-1.0.0.50600-1609671.noarch.rpm                                         (2/31),   8.5 KiB    
In cache libdrm-amdgpu-2.4.115.50600-1609671.x86_64.rpm                                              (3/31),  82.7 KiB    
In cache perl-File-Which-1.22-1.22.noarch.rpm                                                        (4/31),  29.2 KiB    
In cache perl-IPC-System-Simple-1.25-1.24.noarch.rpm                                                 (5/31),  37.8 KiB    
In cache rocm-core-5.6.0.50600-sles154.67.x86_64.rpm                                                 (6/31),  15.4 KiB    
In cache rocrand-2.10.17.50600-sles154.67.x86_64.rpm                                                 (7/31),  19.0 MiB    
In cache rocm-smi-lib-5.0.0.50600-sles154.67.x86_64.rpm                                              (8/31), 830.0 KiB    
Retrieving: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 (rocm)                                    (9/31), 886.0 MiB    
Retrieving: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm .........................................[done (2.8 MiB/s)]
rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm:
    Header V4 RSA/SHA512 Signature, key ID 9386b48a1a693c5c: NOKEY

warning: /var/tmp/AP_0xehzI21/rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 1a693c5c: NOKEY
Looking for gpg key ID 1A693C5C in cache /var/cache/zypp/pubkeys.

New repository or package signing key received:

  Repository:       rocm
  Key Fingerprint:  CA8B B472 7A47 B4D0 9B4E E896 9386 B48A 1A69 3C5C
  Key Name:         AMD MLSE DevOps <dl.MLSE.DevOps@amd.com>
  Key Algorithm:    RSA 4096
  Key Created:      Thu Feb  3 02:25:55 2022
  Key Expires:      Tue Feb  2 02:25:43 2027
  Subkey:           30C07AF01A6D36BA 2016-08-01 [expires: 2027-02-02]
  Rpm Name:         gpg-pubkey-1a693c5c-61fb9193



    Note: Signing data enables the recipient to verify that no modifications occurred after the data
    were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
    and in extreme cases even to a system compromise.

    Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's name. If
    you are not sure whether the presented key is authentic, ask the repository provider or check
    their web site. Many providers maintain a web page showing the fingerprints of the GPG keys they
    are using.

Do you want to reject the key, or trust always? [r/a/?] (r): a
In cache rocfft-1.0.23.50600-sles154.67.x86_64.rpm                                                  (10/31), 108.7 MiB    
In cache hsa-rocr-1.9.0.50600-sles154.67.x86_64.rpm                                                 (11/31), 491.4 KiB    
In cache comgr-2.5.0.50600-sles154.67.x86_64.rpm                                                    (12/31),  36.5 MiB    
In cache hipfft-1.0.12.50600-sles154.67.x86_64.rpm                                                  (13/31),  21.8 KiB    
In cache rocminfo-1.0.0.50600-sles154.67.x86_64.rpm                                                 (14/31),  31.9 KiB    
In cache openmp-extras-runtime-16.56.0.50600-sles154.67.x86_64.rpm                                  (15/31),   8.3 MiB    
In cache rocm-language-runtime-5.6.0.50600-sles154.67.x86_64.rpm                                    (16/31),   7.0 KiB    
In cache perl-File-BaseDir-0.09-bp155.2.12.noarch.rpm                                               (17/31),  30.2 KiB    
In cache hipcc-1.0.0.50600-sles154.67.x86_64.rpm                                                    (18/31),   1.1 MiB    
In cache hip-devel-5.6.31061.50600-sles154.67.x86_64.rpm                                            (19/31), 245.6 KiB    
In cache hip-runtime-amd-5.6.31061.50600-sles154.67.x86_64.rpm                                      (20/31),   8.9 MiB    
In cache rocsparse-2.5.2.50600-sles154.67.x86_64.rpm                                                (21/31),  44.1 MiB    
In cache rocm-hip-runtime-5.6.0.50600-sles154.67.x86_64.rpm                                         (22/31),  10.1 KiB    
In cache rocblas-3.0.0.50600-sles154.67.x86_64.rpm                                                  (23/31), 126.6 MiB    
In cache rccl-2.16.5.50600-sles154.67.x86_64.rpm                                                    (24/31),  32.6 MiB    
In cache hipsparse-2.3.6.50600-sles154.67.x86_64.rpm                                                (25/31),  57.1 KiB    
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64 (rocm)                                         (26/31), 122.8 MiB    
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64.rpm ...............................................[done (3.2 MiB/s)]
In cache rocalution-2.1.9.50600-sles154.67.x86_64.rpm                                               (27/31),   3.2 MiB    
In cache hipsolver-1.8.0.50600-sles154.67.x86_64.rpm                                                (28/31),  63.0 KiB    
In cache hipblas-1.0.0.50600-sles154.67.x86_64.rpm                                                  (29/31),  83.4 KiB    
In cache hipblaslt-0.2.0.50600-sles154.67.x86_64.rpm                                                (30/31), 915.4 KiB    
In cache rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64.rpm                                       (31/31),   7.3 KiB    

Checking for file conflicts: .......................................................................................[done]
( 1/31) Installing: amdgpu-core-1:5.6.50600-1609671.noarch .........................................................[done]
( 2/31) Installing: libdrm-amdgpu-common-1.0.0.50600-1609671.noarch ................................................[done]
( 3/31) Installing: libdrm-amdgpu-1:2.4.115.50600-1609671.x86_64 ...................................................[done]
( 4/31) Installing: perl-File-Which-1.22-1.22.noarch ...............................................................[done]
( 5/31) Installing: perl-IPC-System-Simple-1.25-1.24.noarch ........................................................[done]
update-alternatives: using /opt/rocm-5.6.0 to provide /opt/rocm (rocm) in auto mode
( 6/31) Installing: rocm-core-5.6.0.50600-sles154.67.x86_64 ........................................................[done]
( 7/31) Installing: rocrand-2.10.17.50600-sles154.67.x86_64 ........................................................[done]
( 8/31) Installing: rocm-smi-lib-5.0.0.50600-sles154.67.x86_64 .....................................................[done]
        installing package rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 needs 2960MB on the /opt filesystem
( 9/31) Installing: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 ................................................[error]
Installation of rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): r
        installing package rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 needs 2960MB on the /opt filesystem
( 9/31) Installing: rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 ................................................[error]
Installation of rocm-llvm-16.0.0.23243.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
        installing package rocfft-1.0.23.50600-sles154.67.x86_64 needs 681MB on the /opt filesystem
(10/31) Installing: rocfft-1.0.23.50600-sles154.67.x86_64 .........................................................[error]
Installation of rocfft-1.0.23.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
(11/31) Installing: hsa-rocr-1.9.0.50600-sles154.67.x86_64 .........................................................[done]
(12/31) Installing: comgr-2.5.0.50600-sles154.67.x86_64 ............................................................[done]
(13/31) Installing: hipfft-1.0.12.50600-sles154.67.x86_64 ..........................................................[done]
(14/31) Installing: rocminfo-1.0.0.50600-sles154.67.x86_64 .........................................................[done]
(15/31) Installing: openmp-extras-runtime-16.56.0.50600-sles154.67.x86_64 ..........................................[done]
(16/31) Installing: rocm-language-runtime-5.6.0.50600-sles154.67.x86_64 ............................................[done]
(17/31) Installing: perl-File-BaseDir-0.09-bp155.2.12.noarch .......................................................[done]
(18/31) Installing: hipcc-1.0.0.50600-sles154.67.x86_64 ............................................................[done]
(19/31) Installing: hip-devel-5.6.31061.50600-sles154.67.x86_64 ....................................................[done]
(20/31) Installing: hip-runtime-amd-5.6.31061.50600-sles154.67.x86_64 ..............................................[done]
        installing package rocsparse-2.5.2.50600-sles154.67.x86_64 needs 40MB on the /opt filesystem
(21/31) Installing: rocsparse-2.5.2.50600-sles154.67.x86_64 .......................................................[error]
Installation of rocsparse-2.5.2.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
update-alternatives: using /opt/rocm-5.6.0/bin/rocm_agent_enumerator to provide /usr/bin/rocm_agent_enumerator (rocm_agent_enumerator) in auto mode
update-alternatives: using /opt/rocm-5.6.0/bin/rocminfo to provide /usr/bin/rocminfo (rocminfo) in auto mode
(22/31) Installing: rocm-hip-runtime-5.6.0.50600-sles154.67.x86_64 .................................................[done]
        installing package rocblas-3.0.0.50600-sles154.67.x86_64 needs 2638MB on the /opt filesystem
(23/31) Installing: rocblas-3.0.0.50600-sles154.67.x86_64 .........................................................[error]
Installation of rocblas-3.0.0.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
(24/31) Installing: rccl-2.16.5.50600-sles154.67.x86_64 ............................................................[done]
(25/31) Installing: hipsparse-2.3.6.50600-sles154.67.x86_64 ........................................................[done]
        installing package rocsolver-3.22.0.50600-sles154.67.x86_64 needs 508MB on the /opt filesystem
(26/31) Installing: rocsolver-3.22.0.50600-sles154.67.x86_64 ......................................................[error]
Installation of rocsolver-3.22.0.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
(27/31) Installing: rocalution-2.1.9.50600-sles154.67.x86_64 .......................................................[done]
(28/31) Installing: hipsolver-1.8.0.50600-sles154.67.x86_64 ........................................................[done]
(29/31) Installing: hipblas-1.0.0.50600-sles154.67.x86_64 ..........................................................[done]
(30/31) Installing: hipblaslt-0.2.0.50600-sles154.67.x86_64 ........................................................[done]
(31/31) Installing: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 ...............................................[done]

Retried again:

sudo LANG=C zypper install -f rocm-hip-libraries
[sudo] Passwort für root: 
Loading repository data...
Reading installed packages...
Forcing installation of 'rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64' from repository 'rocm'.
Resolving package dependencies...

The following package is going to be reinstalled:
  rocm-hip-libraries

The following 4 NEW packages are going to be installed:
  rocblas rocfft rocsolver rocsparse

4 new packages to install, 1 to reinstall.
Overall download size: 402.2 MiB. Already cached: 0 B. After the operation, additional 6.7 GiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: rocblas-3.0.0.50600-sles154.67.x86_64 (rocm)                                              (1/5), 126.6 MiB    
Retrieving: rocblas-3.0.0.50600-sles154.67.x86_64.rpm ..................................................[done (3.2 MiB/s)]
Retrieving: rocfft-1.0.23.50600-sles154.67.x86_64 (rocm)                                              (2/5), 108.7 MiB    
Retrieving: rocfft-1.0.23.50600-sles154.67.x86_64.rpm ..................................................[done (3.3 MiB/s)]
Retrieving: rocsparse-2.5.2.50600-sles154.67.x86_64 (rocm)                                            (3/5),  44.1 MiB    
Retrieving: rocsparse-2.5.2.50600-sles154.67.x86_64.rpm ................................................[done (2.2 MiB/s)]
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64 (rocm)                                           (4/5), 122.8 MiB    
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64.rpm ...............................................[done (1.9 MiB/s)]
Retrieving: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 (rocm)                                   (5/5),   7.3 KiB    
Retrieving: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64.rpm ...................................................[done]

Checking for file conflicts: .......................................................................................[done]
        installing package rocblas-3.0.0.50600-sles154.67.x86_64 needs 2989MB on the /opt filesystem
(1/5) Installing: rocblas-3.0.0.50600-sles154.67.x86_64 ...........................................................[error]
Installation of rocblas-3.0.0.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): r
        installing package rocblas-3.0.0.50600-sles154.67.x86_64 needs 2989MB on the /opt filesystem
(1/5) Installing: rocblas-3.0.0.50600-sles154.67.x86_64 ...........................................................[error]
Installation of rocblas-3.0.0.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
        installing package rocfft-1.0.23.50600-sles154.67.x86_64 needs 1260MB on the /opt filesystem
(2/5) Installing: rocfft-1.0.23.50600-sles154.67.x86_64 ...........................................................[error]
Installation of rocfft-1.0.23.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
        installing package rocsparse-2.5.2.50600-sles154.67.x86_64 needs 408MB on the /opt filesystem
(3/5) Installing: rocsparse-2.5.2.50600-sles154.67.x86_64 .........................................................[error]
Installation of rocsparse-2.5.2.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
        installing package rocsolver-3.22.0.50600-sles154.67.x86_64 needs 859MB on the /opt filesystem
(4/5) Installing: rocsolver-3.22.0.50600-sles154.67.x86_64 ........................................................[error]
Installation of rocsolver-3.22.0.50600-sles154.67.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
(5/5) Installing: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 .................................................[done]
  1. A Leap 15.4 Repo:
3 | https-download.opensuse.org-8593c13e | SUSE:SLE-15:Update                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/distribution/leap/15.4/repo/oss/        
  1. If you enable Repos, please also enable the refresh…

After expanding /opt it works

 sudo LANG=C zypper install -f rocm-hip-libraries
[sudo] Passwort für root: 
Loading repository data...
Reading installed packages...
Forcing installation of 'rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64' from repository 'rocm'.
Resolving package dependencies...

The following package is going to be reinstalled:
  rocm-hip-libraries

The following 2 NEW packages are going to be installed:
  rocsolver rocsparse

2 new packages to install, 1 to reinstall.
Overall download size: 166.9 MiB. Already cached: 0 B. After the operation, additional 2.0 GiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: rocsparse-2.5.2.50600-sles154.67.x86_64 (rocm)                                            (1/3),  44.1 MiB    
Retrieving: rocsparse-2.5.2.50600-sles154.67.x86_64.rpm ................................................[done (2.2 MiB/s)]
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64 (rocm)                                           (2/3), 122.8 MiB    
Retrieving: rocsolver-3.22.0.50600-sles154.67.x86_64.rpm ...............................................[done (2.3 MiB/s)]
Retrieving: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 (rocm)                                   (3/3),   7.3 KiB    
Retrieving: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64.rpm ...................................................[done]

Checking for file conflicts: .......................................................................................[done]
(1/3) Installing: rocsparse-2.5.2.50600-sles154.67.x86_64 ..........................................................[done]
(2/3) Installing: rocsolver-3.22.0.50600-sles154.67.x86_64 .........................................................[done]
(3/3) Installing: rocm-hip-libraries-5.6.0.50600-sles154.67.x86_64 .................................................[done]

Are you running SLES as Server an need /var /tmp /opt /usr on separate partitions?

I always thought 20-40 is enough for most applications, but lately I found out, even 40 are not enough

I am using OpenSUSE Leap 15.5