Error when updating bazzite
Hi all,
I installed bazzite-gnome-nvidia a while ago, and it's mostly working fine, except that my system won't update. I am getting the following error:
error: Checkout dnf-4.21.1-1.fc40.noarch: Hardlinking 3b/79dc5c6217680b1c385804c1b0ade75a9adc5c6e92992f58c5087182baae28.file to dnf: File exists
I tried deleting the file, but the filesystem is read-only, so I'm not able to do that. What is the recommended way to tackle this issue?
Thanks
8 Replies
are you trying to install
dnf
?
please run rpm-ostree status | fpaste
and provide the link herehttps://paste.centos.org/view/53bb32f9
I am not trying to install dnf, I'm only trying to update the system through the bazzite menu -> System update
I think I tried using some dnf commands in the past, and they failed. I have learned since that you can't use dnf so I stopped trying to use it. Could it be the reason the system update breaks?
I think it might be the
mock
package that might be doing it
can you run rpm -q dnf
?
and if no results return, run rpm-ostree update
manuallytry uninstalling mock then update, you can reinstall afterward
btw looking at mock, it looks something you want in distrobox, not in your host
dnf is not installed but
rpm-ostree update
fails with the same error as the system update. How do i uninstall mock? I'm not sure what it ishow are you even managed to layer that then lmao
Solution
rpm-ostree uninstall mock
Thanks, the system update works after this! I looked at my history, and it looks like I tried to run some commands with mock in them. Can't remember what I was trying to do at the time 😅
Thanks a lot for the help!