Re: [gentoo-amd64] Quick Portage How to
On Wednesday 21 March 2007 21:02, Mark Haney wrote: 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. I also use epm (rpm-like interface) and something like epm -q gentoo-sources (or rpm -qa | grep sources if you want all things containing sources). Would someone tell me what's better with eix ? I would assume it's a faster search algorithm than epm but then again, do I have to rerun the update db of eix on each database update or it installs in the portage modules or something to do it automatically ? -- Mihai RUSU Email: [EMAIL PROTECTED] GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net Linux is obsolete -- AST -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
I also use epm (rpm-like interface) and something like epm -q gentoo-sources (or rpm -qa | grep sources if you want all things containing sources). Would someone tell me what's better with eix ? I would assume it's a faster search algorithm than epm but then again, do I have to rerun the update db of eix on each database update or it installs in the portage modules or something to do it automatically ? I don't know about epm, but it's much faster (and better IMHO) than equery et. al. you can use 'eix-sync' which takes care of syncing your tree AND update the eix database. -- Yuval Hager -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
On Wed, Mar 21, 2007 at 10:24:37PM +, Peter Humphrey wrote: 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 Another, related one that I use a lot is equery l sys-kernel/ (since I use a mix of gentoo-sources and vanilla-sources on my machines, depending on which contains fixes for the bugs that happen to be bothering me that day). -J -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
On Wed, 2007-03-21 at 21:55 +0100, Bernhard Auzinger wrote: '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. Actually, it's because portage only removes what portage installed, which is the source, in this case. It didn't install the modules (you did, by running make modules_install), so it won't remove them. Daniel -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
- Original Message - From: Jack Lloyd [EMAIL PROTECTED] To: gentoo-amd64@lists.gentoo.org Sent: Thursday, March 22, 2007 8:42 AM Subject: Re: [gentoo-amd64] Quick Portage How to On Wed, Mar 21, 2007 at 10:24:37PM +, Peter Humphrey wrote: 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 Another, related one that I use a lot is equery l sys-kernel/ (since I use a mix of gentoo-sources and vanilla-sources on my machines, depending on which contains fixes for the bugs that happen to be bothering me that day). or as mentioned in Gentoo Linux Kernel Upgrade Guide: eselect kernel list -J -- gentoo-amd64@gentoo.org mailing list -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
Daniel Gryniewicz schrieb: On Wed, 2007-03-21 at 21:55 +0100, Bernhard Auzinger wrote: '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. Actually, it's because portage only removes what portage installed, which is the source, in this case. It didn't install the modules (you did, by running make modules_install), so it won't remove them. Even if they were installed by portage, /lib/modules is in CONFIG_PROTECT. Regards, Thomas -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] Quick Portage How to
?? 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
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
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
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
'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
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