Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Mark Knecht

??

eix -I gentoo-sources

??

On 3/21/07, Mark Haney [EMAIL PROTECTED] wrote:

Is there a way I can get portage to show me all the listed kernel
sources I've installed?  When I've removed kernel sources I no longer
need because of upgrades I've just rm -rf the kernel directory. Since
I've done that, I've realized that portage is probably keeping that in
in world as installed and I would like to keep the portage db as clean
as possible.

Does that make sense?

--
Ita erat quando hic adveni.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
--
gentoo-amd64@gentoo.org mailing list



--
gentoo-amd64@gentoo.org mailing list



Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Bob Slawson

Mark Haney wrote:
Is there a way I can get portage to show me all the listed kernel 
sources I've installed?  When I've removed kernel sources I no longer 
need because of upgrades I've just rm -rf the kernel directory. Since 
I've done that, I've realized that portage is probably keeping that in 
in world as installed and I would like to keep the portage db as clean 
as possible.


Does that make sense?


Sure, I've worked that way as well.

A great addition is:

emerge eix and run 'update-eix'. This builds a database of installed 
packages. Then


% eix gentoo-sources(or vanilla-sources or whatever)

will list all the available ebuilds for gentoo-sources and highlight 
those that portage thinks are installed.


'unmerge'ing those you don't want will clean up portage's database of 
installed packages.  Doesn't remove /lib/modules/kernel-version/ 
though or old kernels from /boot/.  Seems that manual deletion is 
required here.


HTH

BobS
--
gentoo-amd64@gentoo.org mailing list



Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Mark Haney

Mark Knecht wrote:

??

eix -I gentoo-sources

??

On 3/21/07, Mark Haney [EMAIL PROTECTED] wrote:

Is there a way I can get portage to show me all the listed kernel
sources I've installed?  When I've removed kernel sources I no longer
need because of upgrades I've just rm -rf the kernel directory. Since
I've done that, I've realized that portage is probably keeping that in
in world as installed and I would like to keep the portage db as clean
as possible.

Does that make sense?

--
Ita erat quando hic adveni.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
--
gentoo-amd64@gentoo.org mailing list




I have never heard of eix, but Ill give it a shot and see.


--
Ita erat quando hic adveni.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
--
gentoo-amd64@gentoo.org mailing list



Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Christoph Mende
On Wed, 2007-03-21 at 14:45 -0400, Mark Haney wrote:
 Is there a way I can get portage to show me all the listed kernel 
 sources I've installed?
eix -cI \-sources
lists all kernel sources

emerge -P gentoo-sources
removes all gentoo-sources, except the one you installed at last


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Bernhard Auzinger
 'unmerge'ing those you don't want will clean up portage's database of
 installed packages.  Doesn't remove /lib/modules/kernel-version/
 though or old kernels from /boot/.  Seems that manual deletion is
 required here.

That's because one may still want to use a compiled kernel after the removal 
of the kernel sources.

The second thing is that sys-kernel/gentoo-sources does only refer to the 
kernel sources and not to your self-made kernel. If the kernel were 
made/compiled by portage like any other program, portage would remove it. But 
unless this does not happen (and by the way is not possible yet), why should 
portage clean up the things it has not caused?

rgds
Bernhard


-- 
gentoo-amd64@gentoo.org mailing list



Re: [gentoo-amd64] Quick Portage How to

2007-03-21 Thread Peter Humphrey
On Wednesday 21 March 2007 18:45:39 Mark Haney wrote:

 Is there a way I can get portage to show me all the listed kernel
 sources I've installed?

And one more they haven't mentioned:

equery l gentoo-sources

which I think gives a neater output.

(That's equery l, for list.)

-- 
Rgds
Peter Humphrey
Linux Counter 5290, Aug 93
-- 
gentoo-amd64@gentoo.org mailing list