Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting --depclean to leave slotted packages [Solved]
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
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 342
Location: Wales, UK

PostPosted: Thu Oct 04, 2012 7:22 pm    Post subject: Getting --depclean to leave slotted packages [Solved] Reply with quote

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
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4399

PostPosted: Thu Oct 04, 2012 7:44 pm    Post subject: Reply with quote

http://forums.gentoo.org/viewtopic-t-905452-highlight-depclean.html
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2247

PostPosted: Thu Oct 04, 2012 9:48 pm    Post subject: Reply with quote

paulj ...

what your looking for is --noreplace (-n)

best ... khay
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 342
Location: Wales, UK

PostPosted: Fri Oct 05, 2012 5:02 am    Post subject: Reply with quote

Thanks everyone - that's exactly what I was looking for! :D
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