Re: Newbie admin - help with mysql

Maurice E Johnson <[email protected]> Thu, 21 Sep 2006 19:34:16 -0400
Newsgroups gmane.linux.gentoo.admin
Message-ID <[email protected]>
--=-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}' >
        </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
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.2">
</HEAD>
<BODY>
<BLOCKQUOTE>
    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 <TT>/etc/portage/package.provided</TT>.<BR>
    <BR>
    Something in addition? like:<BR>
    <BR>
    equery --nocolor hasuse mysql|awk '{print &quot;&gt;=&quot;$1}' &gt; &lt;<TT>/etc/portage/package.provided|/etc/portage/package.mask&gt;</TT><BR>
    <BR>
    to avoid the consequences of basically saying that it's there when it isn't?<BR>
    <BR>
    I have read the man page, but it doesn't seem to address the consequenses down the road for this condition.
</BLOCKQUOTE>
</BODY>
</HTML>

--=-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: [email protected]
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: 
	<gentoo-admin+bounces-89-maurice.e.johnson=gmail.com-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
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-aBrp7R+bbdUdnm+yROfE0A@public.gmane.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: <[email protected]>
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 <[email protected]>; 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-rdaee1idGQh60EVZYMb8dBr1t06lyJNrlXN7HHkbuXM@public.gmane.org> for
	[email protected]; 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-rdaee1idGQh60EVZYMb8dBr1t06lyJNrlXN7HHkbuXM@public.gmane.org> for
	[email protected]; Thu, 21 Sep 2006 15:15:59 -0500 (CDT)
Date: Thu, 21 Sep 2006 15:15:45 -0500
From: Brian Kroth <[email protected]>
Subject: Re: [gentoo-admin] Newbie admin - help with mysql
In-reply-to: <[email protected]>
To: [email protected]
Message-id: <[email protected]>
Precedence: bulk
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]>
List-Unsubscribe: <mailto:[email protected]>
List-Subscribe: <mailto:[email protected]>
List-Id: Gentoo Linux mail <gentoo-admin.gentoo.org>
X-BeenThere: [email protected]
Reply-to: [email protected]
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: 
	 <F86FFCF83FF9DE4096F0C9C094CAA368DDC1FE-fuvnXTB9fyj7nw+vVQCzZ2Ly1SRdbJPNSyBUY4gGJatVkAE4f3NuIw@public.gmane.org>
	 <[email protected]>
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-5EyVZZlRSuG6c6uEtOJ/[email protected]] 
>> Sent: Wednesday, September 20, 2006 23:20
>> To: [email protected]
>> 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
>>
>> --
>> [email protected] mailing list
>>   
> 
> 
-- 
[email protected] mailing list


--=-g2QZD4Cv6iixRBLwtpxz--

-- 
[email protected] mailing list