Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196857 - portage push me to downgrade stable ebuild if there is same version (testing) in overlay
Summary: portage push me to downgrade stable ebuild if there is same version (testing)...
Status: RESOLVED DUPLICATE of bug 170288
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 23:28 UTC by Jakub Klawiter
Modified: 2007-10-23 23:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Klawiter 2007-10-23 23:28:13 UTC
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
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-10-23 23:34:30 UTC
What's the output of
emerge -pv '>=sys-libs/gpm-1.20.1-r5'
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2007-10-23 23:45:34 UTC
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 ***