Hardlinking error

Hello Silverblue developers and users,

When I run ‘rpm-ostree update’ today I got the following error:
error: Checkout vim-enhanced-2:8.2.2115-1.fc33.x86_64: Hardlinking ab/4a0895ca254af3b2723cd907c171e9eb41aad71ba821f90b68e4afe9cb9918.file to vim.sh: File exists

Does anybody know what I can do about this?


Scott Trakker (not my real name)

Issue in the Silverblue issue tracker: https://github.com/fedora-silverblue/issue-tracker/issues/115


I will follow the issue there!

I hit the vim issue this morning. It affects all versions of Fedora with vim-minimal preinstalled. This includes Silverblue and toolbox containers.

I filed the bug @ https://bugzilla.redhat.com/show_bug.cgi?id=1907335 — and it was quickly fixed by Zdenek and is now in bodhi:

But that’s in testing and needs upvotes (or some time) to land in release.

Meanwhile, if you want the fix locally, you can do one of the following:

  • Wait
  • swap out the packages manually: rpm-ostree override remove vim-minimal --install vim-enhanced
  • override the vim packages (including vim-minimal) from the packages in bodhi (linked above)
  • rebase to testing: rpm-ostree rebase fedora:fedora/33/x86_64/testing/silverblue (although you might need to reset first, apply the rebase, reboot, then overlay your packages again, depending on dependencies)

If you go with one of the testing package update methods (last two items on the above list), please thumbs up the Bodhi issues so others can get it sooner (those doing the waiting method).


I choose for the second solution (swap out the packages manually) and can confirm that it works!
Thanks for the solution!

The fix seems to have already landed in F33! :slight_smile: