List Info

Thread: Newbie admin - help with mysql




Newbie admin - help with mysql
user name
2006-10-01 13:43:51


WIR MÖCHTEN VON IHNEN KEINE WEITEREN  EMAILS ODER WERBUNG
ERHALTEN



WIR MÖCHTEN VON IHNEN KEINE WEITEREN  EMAILS ODER WERBUNG
ERHALTEN
WIR MÖCHTEN VON IHNEN KEINE WEITEREN  EMAILS ODER WERBUNG
ERHALTEN

WIR MÖCHTEN VON IHNEN KEINE WEITEREN  EMAILS ODER WERBUNG
ERHALTEN










----- Original Message -----
From: "Brian Kroth" <bpkrothwisc.edu>
To: <gentoo-adminlists.gentoo.org>
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 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&
gt;
> >
> >     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.
>
> 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
<whatever it is that
> 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 <bpkrothwisc.edu>
> > Date:
> > Thu, 21 Sep 2006 15:15:45 -0500
> > To:
> > gentoo-adminlists.gentoo.org
> >
> > To:
> > gentoo-adminlists.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:ctswin.edu.au] Sent: Wednesday, September
> >>> 20, 2006 23:20
> >>> To: gentoo-adminlists.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-admingentoo.org mailing list
> >>>
> >>
> >>
>
> --
> gentoo-admingentoo.org mailing list
>

-- 
gentoo-admingentoo.org mailing list

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )