Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved!] How to emerge 9999 package?
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
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 246
Location: West Grove, PA

PostPosted: Tue Jan 18, 2022 11:13 pm    Post subject: [Solved!] How to emerge 9999 package? Reply with quote

I know this is a simple problem, but I'll be darned if I can figure it out.

I want to emerge the 9999 version of freecad.

I put the following line in /etc/portage/package.accept_keywords, but it did not work.

=media-gfx/freecad-9999

Can somebody show me the correct syntax to build the 9999?

TIA!
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation


Last edited by Vorlon on Tue Jan 18, 2022 11:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3875

PostPosted: Tue Jan 18, 2022 11:44 pm    Post subject: Reply with quote

Try
Code:

media-gfx/freecad   **

in package.accept_keywords
Then
Code:

emerge -av media-gfx/freecad

_________________
:)
Back to top
View user's profile Send private message
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 246
Location: West Grove, PA

PostPosted: Tue Jan 18, 2022 11:53 pm    Post subject: Reply with quote

That did it!

Much appreciated!
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Wed Jan 19, 2022 2:25 am    Post subject: Re: [Solved!] How to emerge 9999 package? Reply with quote

Vorlon wrote:
I put the following line in /etc/portage/package.accept_keywords, but it did not work.
Code:
=media-gfx/freecad-9999
This will allow you to install that version once it is keyworded as unstable for your architecture. By convention, live ebuilds are never keyworded stable or unstable for any architecture, so this ebuild is not unstable, and thus your entry does not match. Your entry would have worked if you only wanted an unstable ebuild. The ** entry is special. Per man 5 portage:
man 5 portage:
                     In addition to the  normal  values  from  ACCEPT_KEYWORDS
                     package.keywords supports three special tokens:

                     *  package is visible if it is stable on any architecture
                     ~* package is visible if it is in testing on any architecture
                     ** package is always visible (KEYWORDS are ignored completely)
This is why it worked even though the live ebuild has no stable or unstable keywords.
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