Sequence of events: 1. Installed media-video/obs-vkcapture::guru at some point in the past 2. Package was moved to media-plugins/obs-vkcapture::gentoo (i.e. deleted + added) 3. Tried to "emerge obs-vkcapture" again Output: `````` These are the packages that would be merged: [ Results for search key : obs-vkcapture ] * media-plugins/obs-vkcapture Latest version available: 1.5.1 Latest version installed: [ Not Installed ] Size of files: 60 KiB Homepage: https://github.com/nowrep/obs-vkcapture Description: OBS Linux Vulkan/OpenGL game capture License: GPL-2 * media-video/obs-vkcapture Latest version installed: 1.5.1 Homepage: https://github.com/nowrep/obs-vkcapture Description: OBS Linux Vulkan/OpenGL game capture License: GPL-2 [ Applications found : 2 ] !!! The short ebuild name "obs-vkcapture" is ambiguous. Please specify !!! one of the above fully-qualified ebuild names instead. `````` While the search output above isn't wrong per-se it's not at all obvious compared to the usual blocker error format, it's more like a spot-the-difference puzzle. The message that the name is ambiguous is pretty unhelpful too - emerge doesn't yet support reinstalling packages directly from /var/db/pkg, so picking the wrong one of the two will just yield a different error. The user needs to uninstall what they currently have to proceed, so there ought to be an error message that says that directly. An "ideal" fix for this would be to offer to convert a colliding [pkgname@installed, pkgname::repo] pair to a softblock automatically so it can be done in one step.
I'm inclined to close this bug as CANTFIX because portage has no way of knowing that these are the same package. On the other had, the ebuild author could add a soft blocker if they know about the collision.