If I have two versions on the systems, how would apache and the cli pick what version they are going to use?
on Thursday 01/11/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote > Hi, > > On Thu, 11 Jan 2007 11:38:38 -0500 > John covici <[EMAIL PROTECTED]> wrote: > > > OK, I did put my php version in the /etc/portage/package.mask, but it > > still wants to install a new major version -- curiously it says ebuild > > -ns rather than just -n or -u. I put the following line in there > > =dev-lang/php-4.4.4-r8 > > you don't want to mask the currently installed version (=), but rather the > versions "greater" (>) than it. > > > which is my current version of php and emerge said > > [ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm > > [...] > > interesting. Yes, that "NS" is for a New, Slotted version. I.e., PHP4 > will still be on your system, so you might already stop worrying at > this point. In fact, I don't really know how to mask a version in a > different slot. I would have even expected my suggestion to do that > anyway. But this makes much more sense, because there should be a > seperate masking for each of the slots -- and it resembles the > behaviour from the profile's masks. So you might add another line to > your package.mask, following Boyd Stephen's suggestion to mask with > ">=": > > >=dev-lang/php-5.0.0 > > > > -hwh > -- > gentoo-user@gentoo.org mailing list -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list