-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bo Andresen wrote:

>On Thursday 16 February 2006 20:53, gentuxx wrote:
>
>>>Do you have eix installed? If not I suggest you install it.
>>
>>No, I just installed it. So this is the first time running these
>>commands - if that makes any difference.
>
>
>Well, that's why you had to run update-eix. If you intend to use eix in the
>future then you need to run update-eix everytime you did an emerge
--sync. A
>good tip is to use eix-sync instead of emerge --sync. What eix-sync does is
>copy your eix cache, emerge --sync, update-eix and diff-eix. This gives a
>beautiful overview of what the emerge --sync changed and keeps the eix
cache
>up to date.

That souds pretty interesting (eix-sync).  I'll have to look into that.

>
>>eix -e gentoo-sources
>>* sys-kernel/gentoo-sources
>> Available versions: 2.4.28-r9 ~2.4.31-r1 2.6.9-r9 2.6.12-r9
>>2.6.12-r10 ~2.6.13 ~2.6.13-r1 ~2.6.13-r2 2.6.13-r3
>> Installed: 2.6.11-r5 2.6.11-r6 2.6.11-r8 2.6.11-r9
>>2.6.11-r11 2.6.12-r6 2.6.12-r9 2.6.12-r10 2.6.13-r3
>> Homepage: http://dev.gentoo.org/~dsd/gentoo-dev-sources
>> Description: Full sources including the gentoo patchset
>>for the 2.6 kernel tree
>
>
>This is what the same command shows on my system:
># eix -e gentoo-sources
>* sys-kernel/gentoo-sources
> Available versions: 2.4.31-r1 ~2.4.32-r2 2.6.12-r9 2.6.12-r10 2.6.13-r5
>2.6.14-r5 ~2.6.14-r6 ~2.6.14-r7 ~2.6.15 2.6.15-r1 ~2.6.15-r2 ~2.6.15-r3
>~2.6.15-r4 ~2.6.15-r5
> Installed: 2.6.15-r1
> Homepage: http://dev.gentoo.org/~dsd/genpatches
> Description: Full sources including the gentoo patchset for the
>2.6 kernel tree
>
>As you see it is quite different. Also each version of gentoo-sources
takes up
>more than 250 MB of space so either your /usr/src takes up more than 2 GB
>with 9 versions of gentoo-sources or you deleted some of the sources but
>forgot to tell portage. Perhaps you would like to run:
># emerge --prune --verbose --ask gentoo-sources
>
( `pwd` is /usr )
du -sh src
1.9G    src

I do need to prune some of the older kernels out of there.  But I
don't want to get rid of all of them but the most recent.  Is there a
way that I can "protect" or "omit" 2.6.13-r3 from the emerge --prune
process and remove the rest?  Does this work with other slotted
packages?  How do I know which ones are slotted and which ones aren't?

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFD9Pu4LYGSSmmWCZMRAlYDAKCupyCuyn1BNp71983qzFuIh+BbLQCfaRkX
JzIPpu+McGV/NXodluO8Phk=
=5IIv
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list

Reply via email to