Bazzite is a custom Fedora Atomic image, so dnf is expected not to work other than inside containers.
What edition of Fedora are you on now (head -3 /etc/os-release)?
Please also share the output of lsblk -f, cat /etc/fstab/, as well as the dnf command you ran before, and, in case you’re on an atomic variant of Fedora, the output of rpm-ostree status.
EDIT: Please post the outputs as preformatted text, using the </> button on the toolbar above the edit window.
#
# /etc/fstab
# Created by anaconda on Thu Feb 6 21:59:00 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=741cad1a-60e2-4470-9a6a-fe9b0059f394 / ext4 defaults 1 1
UUID=04cb683f-af11-4308-b4bf-76dcd6012e0a /boot ext4 defaults 1 2
UUID=F01E-6FA6 /boot/efi vfat umask=0077,shortname=winnt 0 2
here’s also the full log for dnf trying to install gparted
Updating and loading repositories:
Repositories loaded.
Package Arch Version Repository Size
Installing:
gparted x86_64 1.6.0-5.fc41 updates 8.8 MiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 2 MiB. Need to download 0 B.
After this operation, 9 MiB extra will be used (install 9 MiB, remove 0 B).
Is this ok [y/N]: y
[1/1] gparted-0:1.6.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------------------
[1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
Transaction failed: Rpm transaction failed.
- installing package gparted-1.6.0-5.fc41.x86_64 needs 10MB more space on the / filesystem
Well it seems that you’re on Bazzite, so not on an official Fedora release, which limits the help that can be provided here. You might also want to discuss Bazzite-specific issues on their Discourse forums.
As a general remark though, are you sure you wanted to use an atomic desktop, which has a rather different approach to package installations (among other things), as opposed to traditional desktops? If you’re a fan of dnf, you might want a traditional version of UBlue Fedora instead.
If you’d want to stick with your current installation, the general approach is to install GUI apps as Flatpaks, layer packages that need to be layered on top of the OSTree deployment, and install other utilities in containers. I suggest to have a look at man rpm-ostree to get familiar with the concept of package layering and RPM-OStree in general, and man toolbox for an easy approach to containers.