From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GU1hv-0005k1-SL for garchives@archives.gentoo.org; Sun, 01 Oct 2006 13:50:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k91Dk5Sn029352; Sun, 1 Oct 2006 13:46:05 GMT Received: from natblert.rzone.de (natblert.rzone.de [81.169.145.181]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k91Dk4PC002106 for ; Sun, 1 Oct 2006 13:46:04 GMT Received: from medion01 (pD9573B2F.dip0.t-ipconnect.de [217.87.59.47]) by post.webmailer.de (8.13.6/8.13.6) with SMTP id k91Dk3I4020224 for ; Sun, 1 Oct 2006 15:46:04 +0200 (MEST) Message-ID: <010901c6e55f$a6c74990$fb45a8c0@medion01> From: =?utf-8?Q?J=C3=B6rg_Vorher?= To: References: <4512F0F7.3080103@gmail.com> <4512F2F1.4090203@wisc.edu> <1158881656.13317.10.camel@aries.zuesse.home> <4513F222.60002@wisc.edu> Subject: Re: [gentoo-admin] Newbie admin - help with mysql Date: Sun, 1 Oct 2006 15:44:00 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-admin@gentoo.org Reply-to: gentoo-admin@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k91Dk5TF029352 X-Archives-Salt: 578cc047-d52a-4873-9a94-19a4fa55c896 X-Archives-Hash: 0ba3197229780081bb5681752b67818e WIR M=C3=96CHTEN VON IHNEN KEINE WEITEREN EMAILS ODER WERBUNG ERHALTEN WIR M=C3=96CHTEN VON IHNEN KEINE WEITEREN EMAILS ODER WERBUNG ERHALTEN WIR M=C3=96CHTEN VON IHNEN KEINE WEITEREN EMAILS ODER WERBUNG ERHALTEN WIR M=C3=96CHTEN VON IHNEN KEINE WEITEREN EMAILS ODER WERBUNG ERHALTEN ----- Original Message ----- From: "Brian Kroth" To: Sent: Friday, September 22, 2006 4:24 PM Subject: Re: [gentoo-admin] Newbie admin - help with mysql > > Maurice E Johnson wrote: > > But wouldn't an attempt to install an app dependent on mysql > > potentially succeed eroniously? What I'm trying to see - and > > education is always a good thing - is that in order to truely blo= ck > > mysql, you would need something a bit more complex than an entree= in > > /etc/portage/package.provided. > > > > Something in addition? like: > > > > equery --nocolor hasuse mysql|awk '{print ">=3D"$1}' > > > > > > > to avoid the consequences of basically saying that it's there whe= n > > it isn't? > > > > I have read the man page, but it doesn't seem to address the > > consequenses down the road for this condition. > > I don't think it necessarily should. By putting something in > packages.provided you're telling portage that you've taken care of that > package manually, so it can assume that the dependency has been > fulfilled. If at some point down the road your system runs into > compile or dependency problems you know where to look. > > Just to clarify the situation though - you're installing mysql manually= , > and trying to emerge mytop or something else that generally needs mysql > as a dependency, and you just want it to use your custom built one > rather than ever emerging portage's stock mysql, correct? > > Another option, although probably one that requires more work, would be > to make an ebuild for your custom built mysql, include it in the local > overlay and as an added precaution so that you know when a new version > is out mask all higher versions. Then "emerge needs mysql>" should work just as if it were using the stock mysql. > Actually you could probably do the second part in conjunction with > packages.provided rather than creating an ebuild. > > The downside is that whenever your dependent package's requirements > changed you would most likely get errors about mysql being masked, and > you'd have to do some conf tweaking again. The upside is that you'd be > notified and it wouldn't be emerging mysql. > > > > > > > ---------------------------------------------------------------------= --- > > > > Subject: > > Re: [gentoo-admin] Newbie admin - help with mysql > > From: > > Brian Kroth > > Date: > > Thu, 21 Sep 2006 15:15:45 -0500 > > To: > > gentoo-admin@lists.gentoo.org > > > > To: > > gentoo-admin@lists.gentoo.org > > > > > > Joseph Drake wrote: > >> I think this will result in failed dependencies. > >> > >> Johnson, Maurice E CTR NSWCDL-K74 wrote: > >>> try > >>> > >>> echo "dev-db/mysql" >>/etc/portage/package.mask > > > > Exactly, that's why /etc/portage/package.provided was created. The > > previous solution was correct. Namely: > > > > >> You could try something like: > > >> > > >> echo "dev-db/mysql-4" >> /etc/portage/profile/package.provided > > > > "man portage" for more more info. > > > >>> > >>> > >>> -----Original Message----- > >>> From: Con Tassios [mailto:ct@swin.edu.au] Sent: Wednesday, Septembe= r > >>> 20, 2006 23:20 > >>> To: gentoo-admin@lists.gentoo.org > >>> Subject: Re: [gentoo-admin] Newbie admin - help with mysql > >>> > >>> On Thu, 21 Sep 2006, Easy-Things Info wrote: > >>> > >>> > >>>> How do I tell gentoo that I don't want - under any circumstances > >>>> > >>> - > >>>> emerge to automatically install mysql? > >>>> I am using binaries and sources straight from mysql.com. > >>>> > >>>> I used -mysql in my USE in /etc/make.conf but it doesn't work > >>>> > >>>> If I try to emerge -p world it tells me that it will install > >>>> > >>> mysql > >>>> 4.1.x > >>>> > >>> > >>> You could try something like: > >>> > >>> echo "dev-db/mysql-4" >> /etc/portage/profile/package.provided > >>> > >>> -- > >>> gentoo-admin@gentoo.org mailing list > >>> > >> > >> > > -- > gentoo-admin@gentoo.org mailing list > --=20 gentoo-admin@gentoo.org mailing list