I can't reproduce the exact error but at least on Fedora where /sbin is
symlinked to /usr/sbin/ on directory level, this is what I get:
> [root@localhost ~]# rpm -ivh /tmp/test-1.0-1.noarch.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
file /usr/sbin/aaa conflicts between attempted installs of
test-1.0-1.noarch and test-1.0-1.noarch
[root@localhost ~]#
In other words, the package conflicts with itself due to the directory level
symlink. And if you now try to force the issue, it will fail and should quite
rightly do so. Never use --force, really.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2273#issuecomment-1403419806
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2273/1403419...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint