Lately I’m having trouble with distrobox. When i open it typically it gives me this message: bash: /home/linuxbrew/.linuxbrew/bin/brew: No such file or directory and the when i want update either using sudo dnf (fedora) sudo apt-get for ubuntu I get this: sudo dnf updatesudo: /etc/sudo.conf is owned by uid 1000, should be 0sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set. Tried this but to no avail: echo ‘export PATH=“/home/linuxbrew/.linuxbrew/Homebrew/bin:$PATH”’ >> ~/.bashrc (followed by : source ~/.bashrc) and for sudo did this:
sudo chown root:root /etc/sudo.conf
sudo chmod 4755 /usr/bin/sudo (response: sudo chmod 4755 /usr/bin/sudochmod: changing permissions of ‘/usr/bin/sudo’: Read-only file system)
sudo chown root:root /usr/bin/sudo
Tried creating new distrobox - which worked for a while and now it just opens for a while and close. Any suggestions?
(I am running fedora 40 bluefin and just updated to 41 today)