Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17826 - emerge -e option assumes too much
Summary: emerge -e option assumes too much
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 17827 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-19 11:20 UTC by Tim Hosking
Modified: 2011-10-30 22:20 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 Tim Hosking 2003-03-19 11:20:21 UTC
IMO, the -e option to emerge should not assume that it is OK to upgrade/downgrade 
packages, but should simply be an instruction to build the currently installed versions of 
all packages. This would allow us to rebuild an entire system with new flags, without 
having things complicated (and possibly broken) by installing upgrades. Let's assume I 
want to try some new CFLAGS. Ideally, it would be useful to first do an emerge -eB --
deep world to generate binaries for my system in it's current state. I can then archive 
these binaries and experiment with new flags. If it goes wrong, I simply restore the 
system from the archived binaries. Unless I specifically pass the -u flag, I do not want 
Portage to assume that it is OK to upgrade my packages; I sometimes have very good 
reasons for not upgrading, and should not have to jump through hoops to prevent 
upgrades.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-19 12:07:16 UTC
*** Bug 17827 has been marked as a duplicate of this bug. ***
Comment 2 Tim Hosking 2003-03-19 18:06:42 UTC
Just found out that emerge <package> with no flags is also an implied update. Please 
stop this madness now. Only update if we say 'update' with the -u flag. Please make it 
easy to rebuild an existing system with updating versions. Please, please please!
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-08-03 12:09:31 UTC
-u has some side-effects on dependencies and most people are happy with the current solution.