I can't seem to run videos in Firefox in sites like Reddit (they seem to run OK in Chrome) so I read about enabling RPM Fusion repositories however when I try running the dnf command I get sudo: dnf: command not found:
[tom@fedora ~]$ sudo dnf install \ https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm [sudo] password for tom: sudo: dnf: command not found [tom@fedora ~]$
Why would the videos seem to run in Chrome but not Firefox?
Is dnf something else I have to enable?
edit: Fedora 37 Silverblue.
Many thanks for any hints.
I was trying to remove python environment and I think I accidentally removed the one comes default with fedora and makes dnf command not available.
I did(not consecutively but I think those three commands are the relevant ones):
\``bash`
sudo rm /bin/python
sudo rm /usr/bin/python
sudo rm /bin/python3 /bin/python3.12 /bin/python-argcomplete-check-easy-install-script /bin/python-argcomplete-tcsh
\```
Then I found that:
\``bash`
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.
\``bash`
~/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
\```
\``bash`
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.
Hi,
I try actually fedora on virtual machine. I have install fedora sway, but when I want update with root user, shell say dnf : commend not found
Are there another specific command for update Fedora with sway ?
I have same message with yum
EDIT : Finaly, as it is a new installation, I reinstalled with the same image and it works again.
I did not understand why the first installation did not work.
noob here, having a go at fedora on VM...i want to install tweak tool for custominization and it said dnf: command not found after i enter sudo dnf install gnome-tweak-tool in the terminal.
KDE Spin or any other favors Spin is desktop environment installed through terminal? how you install it?
OS: fedora 39
I run a sudo rm -R on /usr/lib/node* command, and now the DNF is not working and lib file is missing from usr folder, but folders lib64 and libexec are there. How to fix this?
I get this output everytime i try to use DNF
Traceback (most recent call last):
File "/usr/bin/dnf", line 61, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'
Edit: Solved, I used virtual machine of Fedora and transferred the deleted files from virtual machine to the Host machine, dnf and other are wroking as far as I can see ( I can run dnf update)
when using dnf command I get bash: dnf: command not found
dnf: command not found
Seems I managed to remove dnf itself while uninstalling the KDE Plasma Workspaces. Any suggestions to bring DNF back?
I had installed Fedora 37 KDE Plasma spin. As I turned the laptop into a home server, DNF SWAPped it to the server edition. Then I thought I might as well remove the DE. The plan was to then upgrade to 38.
$ sudo dnf group remove "KDE Plasma Workspaces" --exclude=sudo No match for group package "sudo" Dependencies resolved. ... Removed: dnf-4.16.2-1.fc37.noarch ... Complete!
Now without DNF it won't be of much use. Is there an easy way to install DNF without DNF?
Or alternatively: is there a way to upgrade to Fedora 38 from the ISO installation media (rather than performing a clean install)?
I'm not sure if I'm just dumb or what but I'm running Fedora 36 workstation and the gnome software center is only showing me flatpaks. I can install RPM packages just fine from the command line, but dnf/rpm is completely missing from the software center. Any idea why this would be happening?
Edit: Turns out I was kind of dumb, after running dnf update in terminal and rebooting they all showed up. No updates had been applied except for flatpak updates my entire time with Fedora 36 so far since software center didn't see them and I hadn't thought to try it yet.
I noticed that I was not getting any package updates from dnf for the past few days, maybe a week, and I am concerned something is wrong with my system. Other fedora users I talked to said they are getting recent daily updates. Any use of sudo dnf upgrade
Just gives
Last metadata expiration check: 0:01:18 ago on Thu 06 Jun 2024 11:14:32 AM. Dependencies resolved. Nothing to do. Complete!
I have tried
sudo dnf upgrade --refresh sudo dnf upgrade clean all
and they don't give an error, but still my system does not show any packages to update.
in the dnf.conf I set useFastestMirror back to False, thinking that was the cause, but still I cannot get package updates.
running
rpm -qa --last | head
shows that my last updated package was May 27, but there was an update to librewolf on June 1st.
I would appreciate any help on this.
edit: formatting
edit 2: Solved. Updated to Fedora 39 without issue. I never realized each version was only supported for a short time
I'm getting this anywhere I try to use dnf to install anything
whenever I try to use dnf, for example
sudo dnf install python3
it says
Traceback (most recent call last):
File "/usr/bin/dnf", line 56, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'Ive tried to look at multiple posts on the same but I wasnt able to solve
Today I downgrade my python version from 3.10.0 to 3.9.16 and I tried using dnf and got this error
Traceback (most recent call last):
File "/usr/bin/dnf", line 61, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'Then I tried doing
pip uninstall dnf
And I now always got this error
/usr/bin/env: ā: No such file or directory
Could someone help me ?
I'll start: dnf history undo last Found out about it after spending 45 minutes manually trying to roll back a bad update. One command, problem solved. It's been in DNF forever and I somehow missed it for years. Also dnf leaves - shows packages nothing else depends on. Perfect for cleaning up forgotten installs
What's yours?
Hi guys,
I need some help with my Fedora. I am very new to this and I was downgrading my python to 3.11. from newer version and something has changed with my Fedora. When I type dnf --version it seems that I dont have any package related to that.
It says this:
Traceback (most recent call last):
File "/usr/bin/dnf", line 56, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'
Can someone please help me.
Appreciate it! Thanks :)
I just installed fedora 40 and try to update but its look like there are no internet
abdalrhman@fedora:~$ ping google.com
PING google.com (142.250.200.238) 56(84) bytes of data.
64 bytes from mrs08s18-in-f14.1e100.net (142.250.200.238): icmp_seq=1 ttl=110 time=269 ms
64 bytes from mrs08s18-in-f14.1e100.net (142.250.200.238): icmp_seq=2 ttl=110 time=67.1 ms
64 bytes from mrs08s18-in-f14.1e100.net (142.250.200.238): icmp_seq=3 ttl=110 time=123 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 67.092/152.951/268.549/84.890 ms
abdalrhman@fedora:~$ sudo dnf update
[sudo] password for abdalrhman:
Fedora 40 - x86_64 0.0 B/s | 0 B 02:52