Failed to install Ghostty due to File Exists error
I am trying to re-install Ghostty. I had it installed via rpm-ostree previously however I began getting failed "ujust update" due to the same error. I fixed the OS updates by running sudo rpm-ostree uninstall ghostty and running the updates normally. Then upon reinstall I am unable to reinstall
Attempted command: sudo rpm-ostree install ghostty
Output of failing command:
Checking out tree 47ef80b... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ilyaz:LACT
...
Checking out packages... done
error: Checkout ghostty-zsh-completion-1.0.1-5.fc41.x86_64: Hardlinking ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file to _ghostty: File exists
OS Version:
sudo rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
Digest: sha256:89a1d886805462612cdb34dcbcea5f279e7b96406a3e16854bdb30ed146ba7cc
Version: 41.20250216.2 (2025-02-17T16:37:14Z)
LayeredPackages: webkit2gtk3 zsh
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'
Attempted fix: sudo mv /sysroot/ostree/repo/objects/ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file /sysroot/ostree/repo/objects/ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file.old
mv: cannot move '/sysroot/ostree/repo/objects/ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file' to '/sysroot/ostree/repo/objects/ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file.old': Read-only file system
Please assist.
Solution:Jump to solution
https://ghostty.org/docs/install/binary#silverblue-(and-other-immutable-variants) If so, what that did was add a file in your yum repos directory that points to the copr. So then yes. You're using that. And you should have
ghostty-git
available to you. Hopefully.16 Replies
don't use
sudo
with rpm-ostree
I attempted rpm-ostree install ghostty and received the same output.
Killswitch. I had the same issue. You're using the copr yeah?
If so. Try swapping to ghostty-git. The nightly didn't have the same issues for me
@KillSwitch10 Sorry, didnt ping in my last address to you
I'll try that. Thanks for the idea! No worries on the ping I appreciate any help I can get.
How do I know if I am using copr?
i guess, how did you install ghostty in the first place
did you follow the instructions for fedora silverblue? im guessing?
Solution
https://ghostty.org/docs/install/binary#silverblue-(and-other-immutable-variants) If so, what that did was add a file in your yum repos directory that points to the copr. So then yes. You're using that. And you should have
ghostty-git
available to you. Hopefully.Let me know if any of that is hard to follow.
Yes, it is ringing a bell now. I checked the yum repos file and did see that the copar added. I was able to successfully install gostty-git. Is this a bug to file with ghostty or bazzite?
I'm not sure. I think it's a combination of things. I don't have this issue on bluefin
My best guess is that a lot of fish completions ship with bazzite and so they're already installed. I don't know if the completions are new or if ghostty trying to install them is
Interesting. I am a dev and have linux experience. Not so much ostree and am newer to Fedora.
My understanding is /sysroot/ostree/repo/objects/ce/bd015f8b1ff8ac7b8a1551db3c483fcd709ccde56b4ffd12dc6acdde56adb2.file part of the build for bazzite and is pulled on updates?
Still curious how the initial install worked but is now not working. Is there any way to track down what this file is?
Boy.. It's hard to highlight on discord Mobile. But your error starts off something like "checkout ghossty-zsh-completions"
So maybe.. you're using zsh?
I am using zsh.
Hmmm. Then theres more to this than I understand. Mine said fish completions and I had briefly used fish
Thanks for the help. Last question, what is the difference between ghostty and ghostty-git?
The -git is the nightly builds as far as I understand. It's built off main daily so you may get new features or bugs outside of normal version releases
Thank you so much for your help!