Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to mask some packages when emerge -e world
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
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 86
Location: JiangSu,China

PostPosted: Fri Oct 05, 2012 3:42 pm    Post subject: how to mask some packages when emerge -e world Reply with quote

3Q for reading my problem;

I've used Gentoo as desktop over half an year. when I feel the system is not so quick or satble , I'd like to emerge -e world .

I know it'll re-emerge packages in /var/lib/portage/world ,

here is my question , if I don't want it to re-emerge libreoffice or firefox ... say , mask these package keep it as used to be ,(because it just wastes a lot of time)

how how can I mask them so as to not be changed by "emerge -e world" ,to decline my compile time?

can I just add # before these lines in /var/lib/portage/world ? or to delete these lines in /var/lib/portage/world ?

if I delete the lines or add # , will they be unmerged ? I've never tried it before

thankyou
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 169

PostPosted: Fri Oct 05, 2012 4:30 pm    Post subject: Reply with quote

From the man page:

Quote:
--exclude ATOMS
A space separated list of package names or slot atoms. Emerge won't install any ebuild or binary pack‐
age that matches any of the given package atoms.


Try:
Code:
emerge -e world --exclude "package1 package2"
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 86
Location: JiangSu,China

PostPosted: Fri Oct 05, 2012 5:03 pm    Post subject: Reply with quote

thank you

what you've said really works
forgive my lazy not to read the help document because of english.

thank you again
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