Unix Technical Forum

Exclude package from world update

This is a discussion on Exclude package from world update within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I have one package from the "~x86" branch. How do I exclude that from emerge -uDv world? Bigbob...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 08:54 AM
Bob Reinkemeyer
 
Posts: n/a
Default Exclude package from world update

I have one package from the "~x86" branch. How do I exclude that from
emerge -uDv world?

Bigbob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 08:54 AM
Ben Measures
 
Posts: n/a
Default Re: Exclude package from world update

Bob Reinkemeyer wrote:
> I have one package from the "~x86" branch.


Does it have an entry in /etc/portage/package.keywords ? If not, 'man
portage' and add it.

> How do I exclude that from emerge -uDv world?


If you're asking what I think you're asking (question is unclear), you
shouldn't have a problem if you do as described above.

--
Ben M.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 08:54 AM
Bob Reinkemeyer
 
Posts: n/a
Default Re: Exclude package from world update

Ben Measures wrote:

> Bob Reinkemeyer wrote:
>> I have one package from the "~x86" branch.

>
> Does it have an entry in /etc/portage/package.keywords ? If not, 'man
> portage' and add it.
>
>> How do I exclude that from emerge -uDv world?

>
> If you're asking what I think you're asking (question is unclear), you
> shouldn't have a problem if you do as described above.
>

Thanks a lot. That worked Ok. What I really want is for portage to ignore
it altogether. I don't want to upgrade or downgrade it.

bigbob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 08:54 AM
Stu
 
Posts: n/a
Default Re: Exclude package from world update

Bob Reinkemeyer wrote:

> Ben Measures wrote:
>
>> Bob Reinkemeyer wrote:
>>> I have one package from the "~x86" branch.

>>
>> Does it have an entry in /etc/portage/package.keywords ? If not, 'man
>> portage' and add it.
>>
>>> How do I exclude that from emerge -uDv world?

>>
>> If you're asking what I think you're asking (question is unclear), you
>> shouldn't have a problem if you do as described above.
>>

> Thanks a lot. That worked Ok. What I really want is for portage to
> ignore
> it altogether. I don't want to upgrade or downgrade it.
>
> bigbob


Just emerge the package with --oneshot so it doesn't get added to world.


Stu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 08:54 AM
Peter Jensen
 
Posts: n/a
Default Re: Exclude package from world update

Stu wrote:

>> Thanks a lot. That worked Ok. What I really want is for portage to
>> ignore it altogether. I don't want to upgrade or downgrade it.

>
> Just emerge the package with --oneshot so it doesn't get added to
> world.


And that will break 'emerge depclean' (though not that many use that
feature). A better way might be to use the portage.mask file to mask
all higher and lower versions of the package.

--
PeKaJe

Windows, reboot. Linux, be root!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 08:54 AM
Sybren Stuvel
 
Posts: n/a
Default Re: Exclude package from world update

Bob Reinkemeyer enlightened us with:
> Thanks a lot. That worked Ok. What I really want is for portage to
> ignore it altogether. I don't want to upgrade or downgrade it.


Then add that package with the right version to
/etc/portage/package.keywords.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com