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.
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
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.