PATH problems with hombrew
I am having several PATH problems with my bazzite install on my desktop PC
first sometimes brew packages are randomly not found for example
I have the
bazzite-cli
bling enabled and running cat gives
but i get this if I try to install bat
and when brew packages are working they override my system packages for example
Solution:Jump to solution
updated again and rebooted and its working now :shruggie:
anyway my unlinked systemd with
brew unlink systemd
and now no system packages are getting overriden to brew packages so seems like my brew problems are fixed...16 Replies
bashrc: https://bpa.st/7G3Q
bash_profile: https://bpa.st/SLTQ
.profile: https://bpa.st/4OFQ
enviroment.d: https://bpa.st/GNFA
env
command : https://dpaste.com/GEBADS9H9intrestingly if I run
bash
first then fish
bat
starts working.
so the issue is that fish is no longer seeing hombrew stuff in the path no idea why it was working earlier today....Probably because of this https://discord.com/channels/1072614816579063828/1237926270151688192/1274987454486675468
ah probably
at least my first problem.
still don't know whats up with my second problem of brew paths overriding system paths
Thats normal, happens to me as well. You can fix that with
brew unlink systemd
@Kyle Gospo and @j0rge where saying thats not supposed to happen https://discord.com/channels/1072614816579063828/1187140365115998291/1275670776871129189
thats with me
but thats with python, other dependencies (like systemd) might not be excluded by default from brew PATH
I had to unlink systemd in my case
gonna post this so we keep track of the problem regarding brew programs not in PATH automatically
https://github.com/ublue-os/bazzite/pull/1528
Alright, merged. So the PATH issue will be fixed with the next update
is the update with the fix live yet? still getting
Just updated rn, it's live
Still getting the same error just updated....
Mmm. Suspecting has something to do with the bazzite-cli thingy then
Try disabling it to see if it works without it
Solution
updated again and rebooted and its working now :shruggie:
anyway my unlinked systemd with
brew unlink systemd
and now no system packages are getting overriden to brew packages so seems like my brew problems are fixed