Running transaction
[1/2] Prepare transaction 100% | 0.0 B/s | 1.0 B | 00m01s
>>> Running pre-uninstall scriptlet: sniffnet-0:1.3.0-1.x86_64
>>> Error in pre-uninstall scriptlet: sniffnet-0:1.3.0-1.x86_64
>>> Scriptlet output:
>>> empty space is an invalid capability, did you mean -r?
>>>
>>> [RPM] %preun(sniffnet-0:1.3.0-1.x86_64) scriptlet failed, exit status 1
Transaction failed: Rpm transaction failed.
That Sniffnet app does not appear on my Software app - I bet I found it there months ago and I installed to try, then I forget about this app. how to remove? I have already launched dnf autoremove and clean all
This doesn’t look like it’s a package from the official Fedora package repositories?
If the package is really so broken that it prevents you from uninstalling it, you should be able to bypass the broken scriptlet(s) by using something like this to uninstall it:
sudo rpm --erase --noscripts sniffnet
HOWEVER, if the package does some cleanup in those scriptlets that are actually required for the software to get removed cleanly, those cleanup steps will not run if you do it this way.
Mmmh that might be. However on a side note, it is strange that the commands:
sudo dnf list installed
and
sudo dnf repolist all
both give an empty output.
So to list all the packages I had to use rpm -qa but I wonder what is broken on my system if those normal commands do not work anymore. I was trying to list my repos and check if there are repos to remove.