Sometime ago I had MS Edge installed via microsoft repo using the following command:
zypper ar -f --gpgcheck-allow-unsigned https://packages.microsoft.com/yumrepos/edge/ edge-yum
Now when I try to uninstall it (as want to install it using flatpak), I get the following error:
zypper rm microsoft-edge-stable
Reading installed packages…
Resolving package dependencies…
The following 2 packages are going to be REMOVED:
microsoft-edge-stable microsoft-edge-stable
2 packages to remove.
Package install size change:
| 0 B required by packages that will be installed
-1.21 GiB | - 1.21 GiB released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/…? shows all options] (y): y
/var/tmp/rpm-tmp.zA9CoG: line 191: syntax error near unexpected token }' /var/tmp/rpm-tmp.zA9CoG: line 191: }’
error: %preun(microsoft-edge-stable-147.0.3912.72-1.x86_64) scriptlet failed, exit status 2
error: microsoft-edge-stable-147.0.3912.72-1.x86_64: erase failed
(1/2) Removing: microsoft-edge-stable-147.0.3912.72-1.x86_64 …[error]
Removal of (1992)microsoft-edge-stable-147.0.3912.72-1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Any hints or tips how to solve this issue?