Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Satisfy ebuild with package installed out of portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
grellyd
n00b
n00b


Joined: 11 Oct 2016
Posts: 21

PostPosted: Thu Mar 21, 2019 5:09 pm    Post subject: [Solved]Satisfy ebuild with package installed out of portage Reply with quote

Hi all,

The dev-lang/go-1.11.5 package is too far out of date for use with my company. Therefore I un-emerged the go package (emerge -aC dev-lang/go) and installed the newest binary into /usr/local/go. Go works well now upgraded to 1.12.1.

However I want to update some other packages, such as Docker. Yet emerge asks to re-emerge the go-1.11.5 ebuild, which makes sense, because to portage it isn't installed.

How can I tell portage it is already installed outside of the portage tree?

From my quick skimming of the man docs and searching through the forums I was not able to find an answer. Is there some form of package.mask that refers to a locally installed binary rather than a different ebuild?

Thanks,

Grellyd


Last edited by grellyd on Fri Mar 22, 2019 5:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Thu Mar 21, 2019 5:18 pm    Post subject: Reply with quote

But dev-lang/go-1.12.1 is in tree
Code:
[I] dev-lang/go
     Available versions:  1.11.5(0/1.11.5)^st 1.12.1(0/1.12.1)^st **9999(0/9999)^s {gccgo}
     Installed versions:  1.12.1(0/1.12.1)^st(06:57:22 PM 03/18/2019)(-gccgo)
     Homepage:            https://golang.org
     Description:         A concurrent garbage collected and typesafe programming language

You run emerge --sync for update tree?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
grellyd
n00b
n00b


Joined: 11 Oct 2016
Posts: 21

PostPosted: Thu Mar 21, 2019 6:47 pm    Post subject: Reply with quote

Ha that is my error.

Thanks @fedeliallalinea.

Do you know how far the tree generally lags behind a release schedule?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Thu Mar 21, 2019 7:00 pm    Post subject: Reply with quote

grellyd wrote:
Do you know how far the tree generally lags behind a release schedule?

Depend on what package and the developer free time for make a bump version
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
richard77
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 281

PostPosted: Thu Mar 21, 2019 9:22 pm    Post subject: Reply with quote

If you want to tell portage that a package should be considered installed, you can put it in /etc/portage/package.provided (man portage for the syntax)
_________________
Fletto i muscoli e sono nel vuoto
Back to top
View user's profile Send private message
grellyd
n00b
n00b


Joined: 11 Oct 2016
Posts: 21

PostPosted: Fri Mar 22, 2019 5:48 pm    Post subject: Reply with quote

@richard77 that's exactly what I was looking for. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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