View previous topic :: View next topic |
Author |
Message |
v_0ver n00b


Joined: 09 Mar 2018 Posts: 14
|
Posted: Sun Feb 09, 2025 1:44 pm Post subject: I ruined Rust paths for root |
|
|
I accidentally performed for root. Then I can’t configure the paths back to the system rustc.
Rust updates broke:
Code: | * ERROR: dev-lang/rust-1.84.1::gentoo failed (configure phase):
* Can't determine rust's sysroot |
I did Code: | rm -rf ~/.cargo ~/.rustup | for root. Deleted Code: | . "$HOME/.cargo/env" | in .bashrc. I specified Code: | export PATH="/usr/bin:${PATH}" | Does not work. _________________ My personal overlay on GitHub |
|
Back to top |
|
 |
CooSee Veteran


Joined: 20 Nov 2004 Posts: 1516 Location: Earth
|
Posted: Tue Feb 11, 2025 10:08 pm Post subject: |
|
|
what does eselect rust list say ?
here's some info https://wiki.gentoo.org/wiki/Rust#Rustup - maybe it'll help you a bit.
 _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2736
|
Posted: Wed Feb 12, 2025 12:37 pm Post subject: |
|
|
In combination with the provided link above, I would run that same command for a regular user and see what changes occurred so that I can undo them for root.
Also export PATH="/usr/bin:${PATH}" does nothing meaningful, you should not expect any change after that. Better inspect the contents of PATH.
Best Regards,
Georgi |
|
Back to top |
|
 |
|