I've just added overlay ecatmur via layman to my /usr/portage/local. Than i just started: # emerge -avuDN world which give me: [ebuild UD] sys-libs/gpm-1.20.1-r4 [1.20.1-r5] USE="-emacs% (-selinux)" 0 kB Total: 1 package (1 downgrade), Size of downloads: 0 kB why? Because: # eix -e gpm [I] sys-libs/gpm Available versions: 1.20.1-r4 1.20.1-r5 ~1.20.1-r5[1] ~1.20.1-r6 [1] (layman/ecatmur) there is sys-libs/gpm-1.20.1-r5 stable in portage and same but ~testing in overlay. I have not ~x86 keyword so portage cannot merge testing ebuild from overlay, but why it want me to merge older version, if stable ebuild is still in portage tree? The half workaroynd is to add: # emerge -avuDN world which give me: [ebuild UD] sys-libs/gpm-1.20.1-r4 [1.20.1-r5] USE="-emacs% (-selinux)" 0 kB Total: 1 package (1 downgrade), Size of downloads: 0 kB why? Because: # eix -e gpm [I] sys-libs/gpm Available versions: 1.20.1-r4 1.20.1-r5 ~1.20.1-r5[1] ~1.20.1-r6 [1] (layman/ecatmur) there is sys-libs/gpm-1.20.1-r5 stable in portage and same but ~testing in overlay. I have not ~x86 keyword so portage cannot merge testing ebuild from overlay, but why it want me to merge older version, if stable ebuild is still in portage tree? The half workaroynd is to add: # emerge -avuDN world which give me: [ebuild UD] sys-libs/gpm-1.20.1-r4 [1.20.1-r5] USE="-emacs% (-selinux)" 0 kB Total: 1 package (1 downgrade), Size of downloads: 0 kB why? Because: # eix -e gpm [I] sys-libs/gpm Available versions: 1.20.1-r4 1.20.1-r5 ~1.20.1-r5[1] ~1.20.1-r6 [1] (layman/ecatmur) there is sys-libs/gpm-1.20.1-r5 stable in portage and same but ~testing in overlay. I have not ~x86 keyword so portage cannot merge testing ebuild from overlay, but why it want me to merge older version, if stable ebuild is still in portage tree? The half workaroynd is to add: =sys-libs/gpm-1.20.1-r5 ~x86 into /etc/portage/packages.keywords but this way portage will merge the ebuild from overlay, IMO if there is "same ebuild" both in portage and overlay bu default it should use the one from portage. This way if somebody will want to use the local one will just change the version number. Reproducible: Always
What's the output of emerge -pv '>=sys-libs/gpm-1.20.1-r5'
Nevermind, all that output was confusing me a bit. Simply ebuilds in overlays shadow ebuilds of the same version in the main tree, so portage doesn't see them anymore. *** This bug has been marked as a duplicate of bug 170288 ***