On 6/8/05, Kevin O'Gorman <[EMAIL PROTECTED]> wrote: > My world file seems remarkably long to me at 129 lines. > I know I've added some stuff, but many of these entries > ring no bells in my memory. > > I think a big part of what has happened is that in various > throes of dealing with portage, I've emerged particular > things without the --oneshot flag -- I had this system for > quite a while before I even knew about that flag. > > So: is there an easy way to find out if a package can > be removed from world because it is already in there > as a dependency or because of the profile? I'd like > to pare world down to just the things that make a > difference. > > ++ kevin >
Hi Kevin, I don't know of an automated way to do it. I had to go through my machines by hand doing the emerge/depclean/revdep-rebuild process I outlined in an email on this subject to Grant this morning. It took me a while to get it done. Actually I don't think that 129 is going to turn out all that high. I've been as high as about 200 before I cleaned up. I'm now at 103 on my laptop. However I think you should consider just how far you want to go. For instance, do you want to be informed of updates to xorg-x11? xorg-x11 does not need to be in your world file if you have X applications. If you do an emerge --deep X-application and xorg has been updated then you'll pick it up then. I've found numerous examples of things like this. That said I still have xorg-x11 in my laptop's world file. On the other hand your world file can be quite small. I just built a MythTV frontend box running on a Pundit-R. The world file is only 26 lines long and could easily be reduced to about 20. (hexedit, nano, ntp, alsa-lib, alsa-headers and vixie-cron are all candidates for removal I think) This machine runs mythfrontend talking to my TV so it's not a desktop machine, but it's pretty compact I think. myth11 root # cat /var/lib/portage/world | sort app-admin/syslog-ng app-editors/hexedit app-editors/nano app-editors/vim app-laptop/laptop-mode-tools app-misc/screen media-libs/alsa-lib media-libs/alsa-oss media-plugins/alsa-jack media-plugins/mythnews media-plugins/mythweather media-sound/alsa-headers media-sound/alsa-tools media-sound/alsa-utils media-tv/mythtv media-video/ati-drivers net-misc/ntp sys-apps/pciutils sys-apps/slocate sys-boot/grub sys-kernel/gentoo-sources sys-kernel/linux-headers sys-libs/glibc sys-process/vixie-cron www-client/links x11-wm/fluxbox myth11 root # Hope this helps, Mark -- gentoo-user@gentoo.org mailing list