I have looked around here for a bit, but, so far, I have not seen anyone with the issue quite in my flavor.
In the Konsole, I can no longer get any commands to work. I think that the only command that I’ve used that I can get to currently do anything is cd. Every other command that I try, even ls, I get the same errors over and over again:
(base) Nerdberry@fedora:~$ sudo dnf install vlc
bash: sudo: command not found…
Install package ‘sudo’ to provide command ‘sudo’? [N/y] y
Waiting in queue…
Loading list of packages… Failed to install packages: sudo-1.9.17-2.p1.fc42.x86_64 is already installed
(base) Nerdberry@fedora:~$ dnf install konsole
bash: dnf: command not found…
Install package ‘dnf5’ to provide command ‘dnf’? [N/y] y
Waiting in queue…
Loading list of packages… Failed to install packages: dnf5-5.2.13.1-1.fc42.x86_64 is already installed
(base) Nerdberry@fedora:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install node
bash: bash: command not found…
bash: curl: command not found…
Install package ‘bash’ to provide command ‘bash’? [N/y] Install package ‘curl’ to provide command ‘curl’? [N/y] y
Waiting in queue… Failed to install packages: bash-5.2.37-1.fc42.x86_64 is already installed
and so on. The wheels just keep spinning. I can still install things through the Software Center, and things still seem to run stably. But currently, the Konsole seems completely useless.
Any help would be greatly appreciated.
I haven’t quite had my computer for a month yet. But installing and getting everything set up so far has been pretty smooth until now.
System Info:
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.5-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 96 GiB of RAM (93.6 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen AI 300 Series)
System Version: A9
I am fairly certain that I did not change them. I put off updates from the “Discover” center for a week. Then, after performing an update, that’s when my issue started.
So, searching all over in several of the directories for all kinds of configs or profiles, I have found something that has almost exactly what is currently stuck in the $PATH above.
In ~/.pyenv/libexec/ there is a file pyenv-init that contains the following text, which is almost, but not exactly what is in the current $PATH.
Thoughts?
Sorry, I keep forgetting that just copying from KWrite really doesn’t look good here…
Put a triple backtick ``` on a line before your pasted text, and the same on a line after it. That way the text is both sensibly formatted, and (unlike screenshots) copy-pasteable.
OK, so it looks like that file is implicated somehow.
Did you use these steps when installing pyenv? Have they resulted in weird content in your ~/.bashrc or ~/.profile or ~/.bash_profile ?
It seems that there were a couple of issues here, but I finally have this running.|
I had a ~/.bash_profile but no ~/.profile I don’t know if this was the actual source of the issue, but I looked up a basic .profile and created that.
But the real issue for me was in ~/.bashrc
After installing Conda, the last line of the file was export PATH="$HOME/.pyenv/bin:$PATH" echo eval "$(pyenv init --path)" written all as a single line.
All I had to do was to separate the lines to