From: "Jörg Vorher" <info@vorher.de>
To: <gentoo-admin@lists.gentoo.org>
Subject: Re: [gentoo-admin] Newbie admin - help with mysql
Date: Sun, 1 Oct 2006 15:43:51 +0200 [thread overview]
Message-ID: <010101c6e55f$a17aa0e0$fb45a8c0@medion01> (raw)
In-Reply-To: 4513F222.60002@wisc.edu
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" <bpkroth@wisc.edu>
To: <gentoo-admin@lists.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>
> >
> > 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 <bpkroth@wisc.edu>
> > 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, 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
>
--
gentoo-admin@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-01 13:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-21 2:58 [gentoo-admin] Newbie admin - help with mysql Easy-Things Info
2006-09-21 3:19 ` Con Tassios
2006-09-21 13:30 ` Johnson, Maurice E CTR NSWCDL-K74
2006-09-21 20:07 ` Joseph Drake
2006-09-21 20:15 ` Brian Kroth
2006-09-21 23:34 ` Maurice E Johnson
2006-09-22 14:24 ` Brian Kroth
2006-10-01 13:43 ` Jörg Vorher [this message]
2006-10-01 13:43 ` Jörg Vorher
2006-10-01 13:44 ` Jörg Vorher
2006-10-01 13:45 ` Jörg Vorher
2006-10-01 13:45 ` Jörg Vorher
2006-10-01 13:45 ` Jörg Vorher
2006-10-01 13:45 ` Jörg Vorher
2006-10-01 14:34 ` Seemant Kulleen
2006-10-01 14:55 ` Mark
[not found] <4620123.1158807603104.JavaMail.root@sniper63>
2006-09-24 11:32 ` Justin Krejci
2006-10-01 13:43 ` Jörg Vorher
2006-10-01 13:43 ` Jörg Vorher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='010101c6e55f$a17aa0e0$fb45a8c0@medion01' \
--to=info@vorher.de \
--cc=gentoo-admin@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox