n349@fedora:~/Downloads$ sudo dnf upgrade
Place your right index finger on the fingerprint reader
^C[sudo] password for n349:
sudo: dnf: command not found
I tried to reinstall dnf, but it seems that dnf-4.19.0-1 is currently still installed on my machine and i cannot do it again.
~/Downloads$ dnf --version
bash: dnf: command not found...
Install package 'dnf' to provide command 'dnf'? [N/y] y
* Waiting in queue...
* Loading list of packages.... Failed to install packages: dnf-4.19.0-1.fc39.noarch is already installed
n349@fedora:~/Downloads$ ls -l /usr/bin/dnf
lrwxrwxrwx. 1 root root 19 Mar 11 01:37 /usr/bin/dnf -> /usr/bin/dnf-4.19.0
I am using fedora 39 upgraded using dnf from fedora 38 preinstalled on a thinkpad x1 carbon.
n349@fedora:~/Downloads$ uname -a
Linux fedora 6.7.7-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar 1 16:53:59 UTC 2024 x86_64 GNU/Linux
I searched online and didn’t found a solution to this problem and hope someone could help me with it.
The reason I did this stupid thing earlier today was because I found python3 in both /bin and /usr/bin, so I decided to remove one of them. I thought in the worst senario I just had to reinstall python, but it seems to get complicated.
Obviously you were not aware that /bin is a link to /usr/bin so everything seen in one path is actually a copied listing of what is in the other location.