View previous topic :: View next topic |
Author |
Message |
Pilpel n00b
Joined: 06 Aug 2005 Posts: 35
|
Posted: Fri Apr 03, 2009 11:10 am Post subject: How to keep 2 versions of gcc without --depclean removing 1 |
|
|
Hi,
I'm using two versions of gcc. Whenever I do a emerge -a --depclean, emerge wants to remove the older gcc version (as it should). How can I overide this behavior so that emerge --depclean removes all the redundant packages except for gcc?
Thanks,
- Pilpel |
|
Back to top |
|
|
Paczesiowa Guru
Joined: 06 Mar 2006 Posts: 593 Location: Oborniki Śląskie, Poland
|
Posted: Fri Apr 03, 2009 11:37 am Post subject: |
|
|
add both gcc slots to world file |
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1344 Location: Sweden
|
Posted: Fri Apr 03, 2009 11:41 am Post subject: |
|
|
Which means that in /var/lib/portage/world you would put something like:
dev-java/sun-jdk
dev-java/sun-jdk:1.4 |
|
Back to top |
|
|
Pilpel n00b
Joined: 06 Aug 2005 Posts: 35
|
Posted: Fri Apr 03, 2009 11:56 am Post subject: |
|
|
Thanks!
- Pilpel |
|
Back to top |
|
|
|