* [gentoo-admin] Newbie admin - help with mysql @ 2006-09-21 2:58 Easy-Things Info 2006-09-21 3:19 ` Con Tassios 0 siblings, 1 reply; 19+ messages in thread From: Easy-Things Info @ 2006-09-21 2:58 UTC (permalink / raw To: gentoo-admin 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 Any suggestions? -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 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 0 siblings, 1 reply; 19+ messages in thread From: Con Tassios @ 2006-09-21 3:19 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: [gentoo-admin] Newbie admin - help with mysql 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 0 siblings, 1 reply; 19+ messages in thread From: Johnson, Maurice E CTR NSWCDL-K74 @ 2006-09-21 13:30 UTC (permalink / raw To: gentoo-admin [-- Attachment #1: Type: text/plain, Size: 761 bytes --] try echo "dev-db/mysql" >>/etc/portage/package.mask -----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 [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 5001 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 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 0 siblings, 1 reply; 19+ messages in thread From: Joseph Drake @ 2006-09-21 20:07 UTC (permalink / raw To: gentoo-admin I think this will result in failed dependencies. Johnson, Maurice E CTR NSWCDL-K74 wrote: > try > > echo "dev-db/mysql" >>/etc/portage/package.mask > > > -----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 > -- Thou shalt not cast Fireball spell in public! -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 20:07 ` Joseph Drake @ 2006-09-21 20:15 ` Brian Kroth 2006-09-21 23:34 ` Maurice E Johnson ` (2 more replies) 0 siblings, 3 replies; 19+ messages in thread From: Brian Kroth @ 2006-09-21 20:15 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 20:15 ` Brian Kroth @ 2006-09-21 23:34 ` Maurice E Johnson 2006-09-22 14:24 ` Brian Kroth ` (2 more replies) 2006-10-01 13:45 ` Jörg Vorher 2006-10-01 13:45 ` Jörg Vorher 2 siblings, 3 replies; 19+ messages in thread From: Maurice E Johnson @ 2006-09-21 23:34 UTC (permalink / raw To: gentoo-admin [-- Attachment #1.1: Type: text/plain, Size: 747 bytes --] 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. [-- Attachment #1.2: Type: text/html, Size: 983 bytes --] [-- Attachment #2: Forwarded message - Re: [gentoo-admin] Newbie admin - help with mysql --] [-- Type: message/rfc822, Size: 4124 bytes --] From: Brian Kroth <bpkroth@wisc.edu> To: gentoo-admin@lists.gentoo.org Subject: Re: [gentoo-admin] Newbie admin - help with mysql Date: Thu, 21 Sep 2006 15:15:45 -0500 Message-ID: <4512F2F1.4090203@wisc.edu> 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 23:34 ` Maurice E Johnson @ 2006-09-22 14:24 ` Brian Kroth 2006-10-01 13:43 ` Jörg Vorher ` (2 more replies) 2006-10-01 13:45 ` Jörg Vorher 2006-10-01 13:45 ` Jörg Vorher 2 siblings, 3 replies; 19+ messages in thread From: Brian Kroth @ 2006-09-22 14:24 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-22 14:24 ` Brian Kroth @ 2006-10-01 13:43 ` Jörg Vorher 2006-10-01 13:43 ` Jörg Vorher 2006-10-01 13:44 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:43 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-22 14:24 ` Brian Kroth 2006-10-01 13:43 ` Jörg Vorher @ 2006-10-01 13:43 ` Jörg Vorher 2006-10-01 13:44 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:43 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-22 14:24 ` Brian Kroth 2006-10-01 13:43 ` Jörg Vorher 2006-10-01 13:43 ` Jörg Vorher @ 2006-10-01 13:44 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:44 UTC (permalink / raw To: gentoo-admin 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 23:34 ` Maurice E Johnson 2006-09-22 14:24 ` Brian Kroth @ 2006-10-01 13:45 ` Jörg Vorher 2006-10-01 13:45 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:45 UTC (permalink / raw To: gentoo-admin [-- Attachment #1: Type: text/plain, Size: 1168 bytes --] 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: Maurice E Johnson To: gentoo-admin@lists.gentoo.org Sent: Friday, September 22, 2006 1:34 AM Subject: Re: [gentoo-admin] Newbie admin - help with mysql 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. [-- Attachment #2: Type: text/html, Size: 3249 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 23:34 ` Maurice E Johnson 2006-09-22 14:24 ` Brian Kroth 2006-10-01 13:45 ` Jörg Vorher @ 2006-10-01 13:45 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:45 UTC (permalink / raw To: gentoo-admin [-- Attachment #1: Type: text/plain, Size: 1166 bytes --] 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: Maurice E Johnson To: gentoo-admin@lists.gentoo.org Sent: Friday, September 22, 2006 1:34 AM Subject: Re: [gentoo-admin] Newbie admin - help with mysql 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. [-- Attachment #2: Type: text/html, Size: 3211 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 20:15 ` Brian Kroth 2006-09-21 23:34 ` Maurice E Johnson @ 2006-10-01 13:45 ` Jörg Vorher 2006-10-01 13:45 ` Jörg Vorher 2 siblings, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:45 UTC (permalink / raw To: gentoo-admin 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: Thursday, September 21, 2006 10:15 PM Subject: Re: [gentoo-admin] Newbie admin - help with mysql > 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-21 20:15 ` Brian Kroth 2006-09-21 23:34 ` Maurice E Johnson 2006-10-01 13:45 ` Jörg Vorher @ 2006-10-01 13:45 ` Jörg Vorher 2006-10-01 14:34 ` Seemant Kulleen 2 siblings, 1 reply; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:45 UTC (permalink / raw To: gentoo-admin 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: Thursday, September 21, 2006 10:15 PM Subject: Re: [gentoo-admin] Newbie admin - help with mysql > 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-10-01 13:45 ` Jörg Vorher @ 2006-10-01 14:34 ` Seemant Kulleen 2006-10-01 14:55 ` Mark 0 siblings, 1 reply; 19+ messages in thread From: Seemant Kulleen @ 2006-10-01 14:34 UTC (permalink / raw To: gentoo-admin On Sun, 2006-10-01 at 15:45 +0200, Jörg Vorher wrote: > > > 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 > Stop spamming the fucking list already. -- Seemant Kulleen Developer, Gentoo Linux -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-10-01 14:34 ` Seemant Kulleen @ 2006-10-01 14:55 ` Mark 0 siblings, 0 replies; 19+ messages in thread From: Mark @ 2006-10-01 14:55 UTC (permalink / raw To: gentoo-admin [-- Attachment #1: Type: text/plain, Size: 647 bytes --] Another n00b that's not able to unsubscribe, let alone use linux probably. I wonder how these people sign themselves *up*, as there is *some* common sense required for both...? Mark Seemant Kulleen wrote: > On Sun, 2006-10-01 at 15:45 +0200, Jörg Vorher wrote: > >> 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 >> >> > > Stop spamming the fucking list already. > > [-- Attachment #2: Type: text/html, Size: 1077 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <4620123.1158807603104.JavaMail.root@sniper63>]
* Re: [gentoo-admin] Newbie admin - help with mysql [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 0 siblings, 2 replies; 19+ messages in thread From: Justin Krejci @ 2006-09-24 11:32 UTC (permalink / raw To: gentoo-admin; +Cc: Easy-Things Info On Wednesday 20 September 2006 21:58, 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 > > Any suggestions? I know others have already provided suggestions but I have found emerge's -t option useful when tracking down dependancies. As in emerge -vDupt world -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-24 11:32 ` Justin Krejci @ 2006-10-01 13:43 ` Jörg Vorher 2006-10-01 13:43 ` Jörg Vorher 1 sibling, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:43 UTC (permalink / raw To: gentoo-admin 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: "Justin Krejci" <jus@krytosvirus.com> To: <gentoo-admin@lists.gentoo.org> Cc: "Easy-Things Info" <info@easy-things.com> Sent: Sunday, September 24, 2006 1:32 PM Subject: Re: [gentoo-admin] Newbie admin - help with mysql > On Wednesday 20 September 2006 21:58, 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 > > > > Any suggestions? > > I know others have already provided suggestions but I have found emerge's -t > option useful when tracking down dependancies. > As in > emerge -vDupt world > -- > gentoo-admin@gentoo.org mailing list > -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-admin] Newbie admin - help with mysql 2006-09-24 11:32 ` Justin Krejci 2006-10-01 13:43 ` Jörg Vorher @ 2006-10-01 13:43 ` Jörg Vorher 1 sibling, 0 replies; 19+ messages in thread From: Jörg Vorher @ 2006-10-01 13:43 UTC (permalink / raw To: gentoo-admin 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: "Justin Krejci" <jus@krytosvirus.com> To: <gentoo-admin@lists.gentoo.org> Cc: "Easy-Things Info" <info@easy-things.com> Sent: Sunday, September 24, 2006 1:32 PM Subject: Re: [gentoo-admin] Newbie admin - help with mysql > On Wednesday 20 September 2006 21:58, 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 > > > > Any suggestions? > > I know others have already provided suggestions but I have found emerge's -t > option useful when tracking down dependancies. > As in > emerge -vDupt world > -- > gentoo-admin@gentoo.org mailing list > -- gentoo-admin@gentoo.org mailing list ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2006-10-01 14:57 UTC | newest] Thread overview: 19+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox