I’m working w/ Rocky Linux 9.2 and am running into an odd message from dnf. It has happened a couple of times now, but here is a concrete, reproducible sample:
trantor.phys #] dnf reinstall -y grafana-pcp
[...]
Running transaction
Preparing : 1/1
Reinstalling : grafana-pcp-5.1.1-1.el9.x86_64 1/2
Cleanup : grafana-pcp-5.1.1-1.el9.x86_64 2/2
Running scriptlet: grafana-pcp-5.1.1-1.el9.x86_64 2/2
"/root/.ssh" already exists and is not a directory.
Verifying : grafana-pcp-5.1.1-1.el9.x86_64 1/2
Verifying : grafana-pcp-5.1.1-1.el9.x86_64 2/2
[...]
What is this weird message about “/root/,ssh”???
It is true that we have a symlink rather than a directory for /root/.ssh, but why is it doing anything w/ /root/.ssh?
If I remove /root/.ssh completely, I find that a new /root/.ssh directory has been created.
What is going on here?