View previous topic :: View next topic |
Author |
Message |
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Fri Oct 05, 2012 3:42 pm Post subject: how to mask some packages when emerge -e world |
|
|
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 |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Fri Oct 05, 2012 4:30 pm Post subject: |
|
|
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 |
|
|
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Fri Oct 05, 2012 5:03 pm Post subject: |
|
|
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 |
|
|
|