error: Changed directories are not supported yet (i'm only trying to install a package with dnf)

I'm trying to install git, standard procedure:
sudo dnf install git
sudo dnf install git
after confirming to install git and its dependencies, this error appears:
error: Changed directories are not supported yet
error: Changed directories are not supported yet
but i don't want to change any directories? i'm just trying to install git... This is on a fresh install of bazzite; I've only installed programs from the startup app and steam so far, no package shenanigans in the terminal or anything yet.
4 Replies
Johnny Appleseed
I would expect that git is already preinstalled on bazzite, but if not you would install it with brew most likely universal blue/bazzite doesn't really use dnf outside of containers and that redirects to rpm-ostree on the main system which is the least favorable way to install stuff
Johnny Appleseed
Universal Blue
Installing and Managing Software on Bazzite
Linux Package Formats Package formats ranked from most recommended for daily usage: Click the name of each package format for more information on how to use it on Bazzite. Flatpak - Universal package format using a permissions-based model; use for most graphical applications. ujust - Custom scripts maintained by Bazzite & Universal Blue cont...
Frostbyte924
Frostbyte924OP3mo ago
thanks, i'll look into that. git is in fact installed, but just doesn't show up as an installed package when using dnf 🤷‍♂️
Johnny Appleseed
yeah can be a tad tricky there because dnf is just an alias to rpm-ostree you can use rpm -q "git-core" (or a different fedora package name) for instance or rpm -qa to list all the system level installed stuff but the tooling around seeing what's installed can be a bit iffy not to mention you might have stuff from homebrew/flatpak/exported from a distrobox/etc installed as a user
Want results from more Discord servers?
Add your server