Lsscsi dependency conflict with nfs-utils-coreos

I’m running into an issue installing lsscsi due to the dependency conflict with nfs-utils and nfs-utils-coreos:

$ sudo rpm-ostree install lsscsi
[...]
Resolving dependencies... done
Relabeling... done
Checking out packages... done
error: Checkout nfs-utils-1:2.8.1-5.rc2.fc40.x86_64: Hardlinking 2e/bcfc7972f82d8e3d177548c09a7e10deb54fcbfa37b0fe0950112d12615019.file to mount.nfs: File exists

I did find this Github issue that mentions overriding nfs-utils-coreos using rpm-ostree override remove nfs-utils-coreos --install nfs-utils, which does seem to fix the issue.

I’m mostly just sanity checking to confirm this is the ideal way to handle nfs-utils dependency issues, or if there is a more appropriate solution to this?

Thanks.

Hello @kaevel and welcome to :fedora: !

I wouldn’t say that the workaround provided in the GitHub issue is an ideal solution, but to the best of my knowledge, it is the recommended one.

1 Like

Thank you! That’s good to know at least and I’ll move forward with that for now then.