System in weird state, can't uninstall Protontricks
Hey there, I'm finding my Bazzite install to be in a weird state that I'm not quite sure how to get out of.
Specifically, I somehow have Protontricks installed as a user package (
/usr/bin/protontricks
) which I didn't install via Homebrew (there is no protontricks brew package). I suspect this is due to some weird shit I did early on in my deck's life when the package manager was still nix-env/Fleek as opposed to Homebrew as it is now, when I was installing things haphazardly by running nix-env -i {pkg}
- though I don't remember exactly how it got on my system in the first place.
This version of protontricks there is outdated (1.11.0 from Dec 2023), and I'd rather it not be installed to my system if possible and only have the Flatpak version. I'm unsure how to uninstall it from /usr/bin: I tried running rpm-ostree reset
and rebooting my Deck, but I have no idea what I'm doing (never used an immutable distro before).
Does anyone know how to uninstall it, or more ideally uninstall all system-level packages I might have added in the past?
Am I just a dumbo and Protontricks is installed as part of Bazzite?3 Replies
everything in
/usr
is from system packages, if you did not layer it, its installed as part of bazzite and you need to wait for fedora to update the package
if youre using nix, you get no support as we do not use it or provide it and it regularly breaks selinux (we used to provide it before as a nice gesture until we saw it broke selinux)Yeah im wondering (i.e. i forgot) if i maybe installed it using nix when it was still provided by Bazzite. This would’ve been a little over a year ago, when Bazzite had just released, before Homebrew was added to the distro
It looks like Fedora 41 has in its repos the most recent version but not installed by default, which is why im still confused that the one in
/usr
is so outdated
Is there no way to reset system packages to like a fresh install state?/usr is always provided by the image unless layered
To reset any layers use
rpm-ostree reset