View previous topic :: View next topic |
Author |
Message |
grellyd n00b
Joined: 11 Oct 2016 Posts: 21
|
Posted: Thu Mar 21, 2019 5:09 pm Post subject: [Solved]Satisfy ebuild with package installed out of portage |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Thu Mar 21, 2019 5:18 pm Post subject: |
|
|
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 |
|
|
grellyd n00b
Joined: 11 Oct 2016 Posts: 21
|
Posted: Thu Mar 21, 2019 6:47 pm Post subject: |
|
|
Ha that is my error.
Thanks @fedeliallalinea.
Do you know how far the tree generally lags behind a release schedule? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Thu Mar 21, 2019 7:00 pm Post subject: |
|
|
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 |
|
|
richard77 Apprentice
Joined: 21 Apr 2004 Posts: 281
|
Posted: Thu Mar 21, 2019 9:22 pm Post subject: |
|
|
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 |
|
|
grellyd n00b
Joined: 11 Oct 2016 Posts: 21
|
Posted: Fri Mar 22, 2019 5:48 pm Post subject: |
|
|
@richard77 that's exactly what I was looking for. Thanks! |
|
Back to top |
|
|
|