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 1GQY4w-0007f4-Dd for garchives@archives.gentoo.org; Thu, 21 Sep 2006 23:35:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8LNYF0m024864; Thu, 21 Sep 2006 23:34:15 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8LNYEQi028181 for ; Thu, 21 Sep 2006 23:34:14 GMT Received: by wx-out-0506.google.com with SMTP id r21so990693wxc for ; Thu, 21 Sep 2006 16:34:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=c09DrpC8YQSHnQvefMyAFOzlTgLA0ed30Qkp2bx9HpnR60X6wqCc271V51z/WvT50bg9GmNhPTFQ6zYowsLWekR9vmPQHxFEsaegN+ynE+Hsu/PwCFfOr0KFiqy3htYNAXGr3PZ6DiXqcUt4zmFIrYMghRYFWNTYfFt+hrpfde4= Received: by 10.70.50.10 with SMTP id x10mr27026wxx; Thu, 21 Sep 2006 16:34:13 -0700 (PDT) Received: from aries.zuesse.home ( [72.9.11.107]) by mx.gmail.com with ESMTP id g9sm2049140wra.2006.09.21.16.34.13; Thu, 21 Sep 2006 16:34:13 -0700 (PDT) Subject: Re: [gentoo-admin] Newbie admin - help with mysql From: Maurice E Johnson To: gentoo-admin@lists.gentoo.org In-Reply-To: <4512F2F1.4090203@wisc.edu> References: <4512F0F7.3080103@gmail.com> <4512F2F1.4090203@wisc.edu> Content-Type: multipart/mixed; boundary="=-g2QZD4Cv6iixRBLwtpxz" Date: Thu, 21 Sep 2006 19:34:16 -0400 Message-Id: <1158881656.13317.10.camel@aries.zuesse.home> 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 X-Mailer: Evolution 2.6.2 X-Archives-Salt: 4fd1e01e-3f8a-4453-a051-80707e14444a X-Archives-Hash: b9f7d8c78dd7a048ff4bcae224976e64 --=-g2QZD4Cv6iixRBLwtpxz Content-Type: multipart/alternative; boundary="=-1hoIjQICf0JnkgxNfuaM" --=-1hoIjQICf0JnkgxNfuaM Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 block 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 ">="$1}' > to avoid the consequences of basically saying that it's there when it isn't? I have read the man page, but it doesn't seem to address the consequenses down the road for this condition. --=-1hoIjQICf0JnkgxNfuaM Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
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 block 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 ">="$1}' > </etc/portage/package.provided|/etc/portage/package.mask>

to avoid the consequences of basically saying that it's there when it isn't?

I have read the man page, but it doesn't seem to address the consequenses down the road for this condition.
--=-1hoIjQICf0JnkgxNfuaM-- --=-g2QZD4Cv6iixRBLwtpxz Content-Disposition: inline Content-Description: Forwarded message - Re: [gentoo-admin] Newbie admin - help with mysql Content-Type: message/rfc822 X-Gmail-Received: 8ea77ae1b445f183416e79b123f0db882ae350fa Delivered-To: maurice.e.johnson@gmail.com Received: by 10.90.79.12 with SMTP id c12cs46842agb; Thu, 21 Sep 2006 13:18:03 -0700 (PDT) Received: by 10.67.21.11 with SMTP id y11mr9652414ugi; Thu, 21 Sep 2006 13:18:03 -0700 (PDT) Return-Path: Received: from robin.gentoo.org (lists.gentoo.org [140.105.134.102]) by mx.gmail.com with ESMTP id o30si1222958ugd.2006.09.21.13.18.03; Thu, 21 Sep 2006 13:18:03 -0700 (PDT) Received-SPF: pass (gmail.com: domain of gentoo-admin+bounces-89-maurice.e.johnson=gmail.com@gentoo.org designates 140.105.134.102 as permitted sender) Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8LKGKpt024735; Thu, 21 Sep 2006 20:16:20 GMT Delivered-To: Received: from smtpauth.wiscmail.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8LKGJwE014534 for ; Thu, 21 Sep 2006 20:16:20 GMT Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J5Y00E0BLMOO700@smtpauth2.wiscmail.wisc.edu> for gentoo-admin@lists.gentoo.org; Thu, 21 Sep 2006 15:16:00 -0500 (CDT) Received: from [192.168.123.245] (24-177-120-171.dhcp.mdsn.wi.charter.com [24.177.120.171]) by smtpauth2.wiscmail.wisc.edu (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J5Y00IZVLMNK0A0@smtpauth2.wiscmail.wisc.edu> for gentoo-admin@lists.gentoo.org; Thu, 21 Sep 2006 15:15:59 -0500 (CDT) Date: Thu, 21 Sep 2006 15:15:45 -0500 From: Brian Kroth Subject: Re: [gentoo-admin] Newbie admin - help with mysql In-reply-to: <4512F0F7.3080103@gmail.com> To: gentoo-admin@lists.gentoo.org Message-id: <4512F2F1.4090203@wisc.edu> 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=ISO-8859-1; format=flowed X-Spam-Report: AuthenticatedSender=yes, SenderIP=24.177.120.171 X-Spam-PmxInfo: Server=avs-8, Version=5.2.0.264296, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.9.13.122944, SenderIP=24.177.120.171 References: <4512F0F7.3080103@gmail.com> User-Agent: Thunderbird 1.5.0.5 (X11/20060719) Content-Transfer-Encoding: 7bit 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, September 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 --=-g2QZD4Cv6iixRBLwtpxz-- -- gentoo-admin@gentoo.org mailing list