Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50826 - emerge -U weirdness
Summary: emerge -U weirdness
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 01:31 UTC by barthek
Modified: 2004-05-12 04:20 UTC (History)
1 user (show)

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 barthek 2004-05-12 01:31:13 UTC
emerge -Uv world wants to downgrade packages

Reproducible: Always
Steps to Reproduce:
new binutils has been emerged some time ago, after which older ebuild has been marked to be used in portage.
emerge -puUv world

Actual Results:  
1g root # emerge -puUv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] sys-apps/diffutils-2.8.7 [2.8.4-r4] -build -nls -static  1,033 kB 
[ebuild     U ] media-libs/libpng-1.2.5-r5 [1.2.5-r4]  369 kB 
[ebuild     UD] sys-devel/binutils-2.14.90.0.8-r1 [2.15.90.0.3-r1] -bootstrap
-build -nls  0 kB 

Total size of downloads: 1,402 kB


Expected Results:  
1g root # emerge -puUv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] sys-apps/diffutils-2.8.7 [2.8.4-r4] -build -nls -static  1,033 kB 
[ebuild     U ] media-libs/libpng-1.2.5-r5 [1.2.5-r4]  369 kB
Comment 1 Peter Jensen 2004-05-12 02:37:42 UTC
This happens when the installed version has actually been removed from the portage tree.
It could very well be by design since according to portage that *is* and upgrade,
but I'll let the portage team decide that.
Comment 2 Sven Wegener gentoo-dev 2004-05-12 04:09:07 UTC
this is intended behaviour, sys-devel/binutils-2.15.* have been masked with
KEYWORDS="-*" because these versions will cause strange problems. portage will
always downgrade a masked package, even with -U option.

for some arches they've been unmasked, but i think your arch is not under these.
next time supply the output of emerge --info this will make diagnose of bugs
easier.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-05-12 04:20:08 UTC
Spot on Sven,

If security flaws exist in the latest versions of any software and there is no quick workaround, the latest version will be removed, resulting in an apperent upgrade that drops a version.

There are probably a few other good reasons for a -U showing a downgrade but it will only happen if it is putting your system in jepody. In the end its your choice though.