Tinkered with amdgpu and ran into the follwing problem:
Reading installed packages...
Resolving package dependencies...
The following package is going to be REMOVED:
amdgpu-dkms
1 package to remove.
After the operation, 224.1 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): (1/1) Removing amdgpu-dkms-1:5.9.10.69-1234663.noarch ....error]
Removal of (115)amdgpu-dkms-1:5.9.10.69-1234663.noarch(@System) failed:
Error: Subprocess failed. Error: RPM failed: Error! There are no instances of module: amdgpu
5.9.10.69-1234663 located in the DKMS tree.
error: %preun(amdgpu-dkms-1:5.9.10.69-1234663.noarch) scriptlet failed, exit status 3
error: amdgpu-dkms-1:5.9.10.69-1234663.noarch: erase failed
Abort, retry, ignore? [a/r/i] (a): Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
**3400G:~ #** dkms remove -m amdgpu -v 5.9.10.69-1234663 --all --rpm_safe_upgrade
Error! There are no instances of module: amdgpu
5.9.10.69-1234663 located in the DKMS tree.
**3400G:~ #**
I am unfamiliar with dkms. Thus I am unsure which changes to make by hand. Will manual removal of the files of the package and running ‘dracut -f’ afterwards fix the problem?
I want to get rid of amdgpu-pro and use again amdgpu. I made sure all packages from amdgpu-pro-local are removed, ran dracut -f and rebooted. But display-manager is still broken.
Tried that, but no success. Removed Mesa. Reinstalled package Mesa and patterns removed. This undid the changes made by ./amdgpu-install:
**3400G:~ #** zypper rm --dry-run Mesa
Reading installed packages...
Resolving package dependencies...
The following 28 packages are going to be REMOVED:
Mesa Mesa-dri Mesa-gallium Mesa-libGL1 kcm_tablet kcm_tablet-lang patterns-base-x11 patterns-base-x11_enhanced patterns-games-games patterns-kde-kde patterns-kde-kde_plasma plasma5-session-wayland xf86-input-evdev xf86-input-joystick xf86-input-keyboard xf86-input-libinput xf86-input-vmmouse xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-mach64 xf86-video-r128 xf86-video-vesa xorg-x11-driver-video xorg-x11-server xorg-x11-server-Xvfb xorg-x11-server-extra
The following 5 patterns are going to be REMOVED:
games kde kde_plasma x11 x11_enhanced
28 packages to remove.
After the operation, 83.5 MiB will be freed.
**Continue? [y/n/v/...? shows all options] (y): **
**3400G:~ #**