Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36334

Summary: portage: --upgradeonly adds --update
Product: Portage Development Reporter: Kyle Hankins <kyle.p.hankins>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal CC: Andreas.Klauer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kyle Hankins 2003-12-22 18:10:10 UTC
Attempting to --upgradeonly automatically adds --update.  This forces me to downgrade packages to lower version numbers (to the current stable release).  Shouldn't upgradeonly "only" "upgrade"? In order to upgrade and keep my unstable packages, I must --update and then reinstall.
the text is as follows:

flux@xanadu portage $ sudo emerge -Up world
>>> --upgradeonly implies --update... adding --update to options.

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

Calculating world dependencies ...done!
[ebuild     U ] sys-devel/gettext-0.12.1 [0.11.5-r1] 
[ebuild     U ] sys-fs/e2fsprogs-1.34 [1.33] 
[ebuild     U ] app-text/gtkspell-2.0.4 [2.0.2] 
[ebuild     UD] net-im/gaim-0.72-r1 [0.74]               /**NOTE DOWNGRADE**/
[ebuild     U ] net-p2p/bittorrent-3.3.0 [3.2.1b-r4] 
[ebuild     U ] media-libs/libsdl-1.2.6-r3 [1.2.6-r2] 
[ebuild     U ] dev-util/cvs-1.11.11 [1.11.10]
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-23 00:11:20 UTC
*** Bug 31559 has been marked as a duplicate of this bug. ***
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-06-02 21:26:29 UTC
It's old and was invalid: adding of --update does not cause the downgrade, missing ebuilds do that.