On 6/27/06, Roy Wright <[EMAIL PROTECTED]> wrote:
Howdy,

I'm curious if there is a way to conditionally package mask.
Let me give todays example.

Running ~x86.

gimp-2.3.9 is installed.

gimp-perl-2.2_pre1 has this RDEPEND =media-gfx/gimp-2.2*

So naturally wants to downgrade gimp to 2.2.11-r1.

What would be nice is to be able to mask:

  >=gimp-2.3 if =gimp-perl-2.2_pre1

That would then downgrade gimp to 2.2 and leave it there
until the next version of gimp-perl is available.

As it is, all I can see to do to prevent upgrade/downgrade
cycling of gimp is to package mask >=gimp-2.3 and hopefully
remember to unmask it when the next release of gimp-perl
is available.

It just feels like there ought to be a better way...

Have you tried the suggestion outlined at:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3

=======================

The package.mask file

When you don't want Portage to take a certain package or a specific version of a package into account you can mask it yourself by adding an appropriate line to /etc/portage/package.mask.

For instance, if you don't want Portage to install newer kernel sources than gentoo-sources-2.6.8.1, you add the following line to package.mask:

Code Listing 5: /etc/portage/package.mask example

>sys-kernel/gentoo-sources-2.6.8.1
============================================

Just wondering...

-Hani

--
"If, of the many truths, you select only one and follow it blindly, it will become a falsehood, and you a fanatic."


Reply via email to