Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge inject not working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MasterC
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 150
Location: Woods Cross, UT

PostPosted: Fri Jun 27, 2003 12:40 am    Post subject: Emerge inject not working? Reply with quote

Hi, I'd like thank everyone for their contributions to the forums, I've had quite a bit of luck from searches here when pondering functions with Gentoo.

Now to my question:
I started a thread about tricking Gentoo into thinking applications were emerged that were "rolled" on my own from source. The answer given, emerge inject. It's exactly what I was looking for, however it appears to not be working as I'd like..

When I emerge inject mysql, and then I:
emerge -p snort
I still get mysql listed (and as N series package meaning it's New) and it tries to download/install it.

I'd like to know if I'm missing something, or if there is something specific I should do to force gentoo to realize I've installed MySQL (or any app) by hand and use that as a dependency satisfied.

:)

Thanks
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Fri Jun 27, 2003 6:32 am    Post subject: Reply with quote

When injecting you need to use 'gategory/package-version' format. For example, if I wanted mysql-4.0.13-r3 to be injeceted, I would do this:
Code:
# emerge -i dev-db/mysql-4.0.13-r3

_________________
[size=9]We are all in the gutter, but some of us are looking at the stars.
Back to top
View user's profile Send private message
MasterC
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 150
Location: Woods Cross, UT

PostPosted: Sun Jun 29, 2003 6:23 am    Post subject: Reply with quote

Woohoo!

Thank you :)

Worked perfectly.

Cool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum