* [gentoo-portage-dev] Can emerge be instructed not to upgrade a dependency?
@ 2009-12-29 16:23 Amit Dor-Shifer
2009-12-30 6:47 ` Zac Medico
0 siblings, 1 reply; 2+ messages in thread
From: Amit Dor-Shifer @ 2009-12-29 16:23 UTC (permalink / raw
To: gentoo-portage-dev
Hi.
I want package A to incur a rebuild of package B, due to a newly
introduced USE flag which affects B. I wish to express this in the
package's ebuild. I therefore DEPENDed A in B[use_flag]. When I attempt
to emerge A, portage offers to *upgrade* the dependency, taking in the
new USE setting (there's an available upgrade in the tree). I want the
dependency to be *rebuilt*, maintaining the same version currently
installed. Can I tell emerge to do that? I'm looking for a general
method of doing this, I.E. I wish to remain unaware of the specific
version of the installed B package: If it's there, don't upgrade it,
just rebuild w/new USE flag.
10x,
Amit
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] Can emerge be instructed not to upgrade a dependency?
2009-12-29 16:23 [gentoo-portage-dev] Can emerge be instructed not to upgrade a dependency? Amit Dor-Shifer
@ 2009-12-30 6:47 ` Zac Medico
0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2009-12-30 6:47 UTC (permalink / raw
To: gentoo-portage-dev
On 12/29/2009 08:23 AM, Amit Dor-Shifer wrote:
> Hi.
>
> I want package A to incur a rebuild of package B, due to a newly
> introduced USE flag which affects B. I wish to express this in the
> package's ebuild. I therefore DEPENDed A in B[use_flag]. When I attempt
> to emerge A, portage offers to *upgrade* the dependency, taking in the
> new USE setting (there's an available upgrade in the tree). I want the
> dependency to be *rebuilt*, maintaining the same version currently
> installed. Can I tell emerge to do that? I'm looking for a general
> method of doing this, I.E. I wish to remain unaware of the specific
> version of the installed B package: If it's there, don't upgrade it,
> just rebuild w/new USE flag.
The only way to do that now is to mask the unwanted update in
/etc/portage/package.mask.
--
Thanks,
Zac
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-30 6:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-29 16:23 [gentoo-portage-dev] Can emerge be instructed not to upgrade a dependency? Amit Dor-Shifer
2009-12-30 6:47 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox