Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394987 - --changed-use not allowing the re-installation of ebuilds
Summary: --changed-use not allowing the re-installation of ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 395831
  Show dependency tree
 
Reported: 2011-12-16 20:01 UTC by Matthew Thode ( prometheanfire )
Modified: 2011-12-23 19:00 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 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2011-12-16 20:01:02 UTC
The behavior I am experiencing is that I cannot remerge a program (this also effects programs that rely on remerging programs like revdep-rebuild).

Behavior seen:
khorne ~ # emerge -pv chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
khorne ~ #


Behavior expected:
khorne ~ # emerge -pv chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-client/chromium-16.0.912.63  USE="cups kerberos -bindist -gnome -gnome-keyring (-pulseaudio) -test" LINGUAS="de ja ko -am -ar -bg -bn -ca -cs -da -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -kn -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
khorne ~ #
Comment 1 Zac Medico gentoo-dev 2011-12-16 20:05:18 UTC
Like --newuse, --changed-use implies --selective. You can use --selective=n to override the implied --selective behavior.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2011-12-16 20:11:57 UTC
In that case I'd like to suggest that this be noted in the manpage.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2011-12-16 20:51:25 UTC
hmm, --selective=no when set in my EMERGE_DEFAULT_OPTS wants me to remerge every package in world.

What I am looking to be able to do is have the default portage behavior of being able to remerge simply by typing 'emerge package' but also have the other niceness of --changed-use.
Comment 4 Zac Medico gentoo-dev 2011-12-16 21:26:48 UTC
(In reply to comment #2)
> In that case I'd like to suggest that this be noted in the manpage.

Okay, done:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d33a45eba7c2ee8dab019908593d213e9c727314

(In reply to comment #3)
> hmm, --selective=no when set in my EMERGE_DEFAULT_OPTS wants me to remerge
> every package in world.

Can't you just specify --selective in cases where you don't want to remerge world?
Comment 5 Zac Medico gentoo-dev 2011-12-23 19:00:28 UTC
This is fixed in 2.1.10.42 and 2.2.0_alpha82.