| View previous topic :: View next topic |
| Author |
Message |
paulj Apprentice


Joined: 30 Sep 2004 Posts: 284 Location: Wales, UK
|
Posted: Thu Oct 04, 2012 7:22 pm Post subject: Getting --depclean to leave slotted packages [Solved] |
|
|
I have just been through my system getting rid of Gnome 3.4, but in the process I have had some fun with emerge --depclean.
Basically I have some cross compilers installed in slots, and although I have a new version installed, I haven't yet had an opportunity to test it so I don't want to loose the slotted version. --depclean seems to want to remove all but the latest version of slotted packages.
The other package I don't want --depclean to play with is the source for the kernel. Again, I have newer versions installed, but I haven't yet compiled them and don't want to loose the source of the currently installed kernel. Is there a way to tell emerge to leave these types of packages alone?
Thanks, and apologies of I missed something in the man file - I did have a good look!
I should clarify - I am using Portage 2.1.11.9.
Last edited by paulj on Fri Oct 05, 2012 5:03 am; edited 1 time in total |
|
| Back to top |
|
 |
krinn Advocate


Joined: 02 May 2003 Posts: 3677
|
|
| Back to top |
|
 |
khayyam Veteran


Joined: 07 Jun 2012 Posts: 1268
|
Posted: Thu Oct 04, 2012 9:48 pm Post subject: |
|
|
paulj ...
what your looking for is --noreplace (-n)
best ... khay |
|
| Back to top |
|
 |
paulj Apprentice


Joined: 30 Sep 2004 Posts: 284 Location: Wales, UK
|
Posted: Fri Oct 05, 2012 5:02 am Post subject: |
|
|
Thanks everyone - that's exactly what I was looking for!  |
|
| Back to top |
|
 |
|