View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Apr 14, 2010 2:46 pm Post subject: |
|
|
Code: | emerge --noreplace =premake-3.7 |
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Apr 14, 2010 3:41 pm Post subject: |
|
|
You're welcome. To clarify what that does, --depclean only removes things that are not in your world set. premake-3.7 must've been a dependency at some point but must no longer be. Thus it's installed but not part of world. The emerge without the --oneshot or --update options forces it to be added to the world set; the --noreplace option keeps it from being unnecessarily rebuilt. A plain old Code: | emerge =premake-3.7 | would've worked but would have forced an unnecessarily rebuild.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Apr 14, 2010 4:56 pm Post subject: |
|
|
... it won't quite work using emerge --noreplace =<package>-<version>
That will add <category>/<package> to the world file.
Using emerge --noreplace =<category>/<package>-<version>
will add the specific version to the world file.
Of course when a package depends on a higher/lower version, then up/downgrading the dependency is required (assuming it actually exists in portage, premake does not), therefore masking the dependent package would be required.
Hopefully that would not break a greater dependency chain. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed Apr 14, 2010 5:47 pm Post subject: |
|
|
Indeed, John always gives the best answers.
Now what I posted used to work, it seems now that it makes no difference. No idea why.
But manually adding the =......../.......<-version> to the world file does work to restrict any up/downgrading and unwanted depcleaning. |
|
Back to top |
|
|
|