Re: [gentoo-user] The big clean up
Thank you all, This seems to work pretty good. I reemerged and unmerged most things using emerge --depclean and rebuild it with revdep-rebuild. Ran prelink, but I thought it didn't show up some forgotten links. Looks like this system is pretty clean again. Thank you! Noud -- <:3 )~ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] The big clean up
On Monday 27 August 2007 03:28:34 W.Kenworthy wrote: > Some files did turn out to be from currently installed packages (curl, > gnuplot, glade, ...) that revdep-rebuild didnt pick up - a bit of a > worry ... Probably the most reliable version of revdep-rebuild currently in the tree is in gentoolkit 0.2.4_pre5. Might want to use that for a while. Also /etc/revdep-rebuild/ contains some files that affect what revdep-rebuild finds. > Is there a script that uses the "equery check" functionality and lists > both broken packages and orphans in the system directories not accounted > for? - this seems like a good start. I'm sure there are some nasty scripts flowing around on the forums. qcheck -a and qfile -o are available in portage-utils, however, there are *lots* af files not owned by any package that are essential on a gentoo system. Proceed with extreme caution.. ;) -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] The big clean up
Also, try running prelink on the system - I found a number of old, orphaned binaries on a ~5yr plus gentoo yesterday that had broken years ago when I ran prelink this time! - it complains about missing dependencies. Some files did turn out to be from currently installed packages (curl, gnuplot, glade, ...) that revdep-rebuild didnt pick up - a bit of a worry ... Is there a script that uses the "equery check" functionality and lists both broken packages and orphans in the system directories not accounted for? - this seems like a good start. Billk On Sun, 2007-08-26 at 10:25 +0100, Neil Bothwick wrote: > Hello Noud Aldenhoven, > > > I'd really like to clean things up, order most of the files and remove > > packages which aren't important anymore. > > > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] The big clean up
Hello Noud Aldenhoven, > I'd really like to clean things up, order most of the files and remove > packages which aren't important anymore. > > But what would be the best stategy to do this? Of course, I could > start somewhere and work down and down and down... until I have > deleted most unused packages, removed all sources and ordered the > rest. But is there a good strategy I could stick to? Or perhaps a > guildline how to order my pc? Edit /var/lib/portage/world and remove any packages you no longer need, as well as any that are only installed as dependencies of others that have been inadvertently added to world. In other words, world should contain only those packages you use, not their dependencies. Now run "emerge -uavDN world" followed by "emerge --depclean -p". Check the list of packages to be removed, if there are any you want to keep , add them to world with "emerge -n package" and repeat the depclean step. Repeat this until you are happy that nothing important will be removed, then run depclean without -p, followed by "emerge -uavDN world" again and "revdep-rebuild -p -i". Review the output then run without "-p -i". -- Neil Bothwick WinErr 020: Error recording error codes - Additional errors will be lost. signature.asc Description: PGP signature
Re: [gentoo-user] The big clean up
On Sunday 26 August 2007, Noud Aldenhoven wrote: > Hello, > > I have gentoo running on this laptop for over a year now and I'm quite > happy with it. But I have the feeling I emerged to many programs, made > to many logs, have sources everywere... to sum it up: it's a small > mess. > I'd really like to clean things up, order most of the files and remove > packages which aren't important anymore. > > But what would be the best stategy to do this? Of course, I could > start somewhere and work down and down and down... until I have > deleted most unused packages, removed all sources and ordered the > rest. But is there a good strategy I could stick to? Or perhaps a > guildline how to order my pc? There are some scripts around for cleaning up cruft in portage. There will be some rubbish left behind in /tmp, and perhaps in /usr/src, /lib/modules, which you can sort out manually. There will also be any old versions of configuration files you may have saved in /etc and /home/. This self-cleaning could take time and still miss the odd fie. If you want to clean out absolutely everything then an idea might be to reinstall afresh after you back up your /etc and /home directories and then copy over only those configuration files that you need to restore your system to its current set up. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] The big clean up
Hello, I have gentoo running on this laptop for over a year now and I'm quite happy with it. But I have the feeling I emerged to many programs, made to many logs, have sources everywere... to sum it up: it's a small mess. I'd really like to clean things up, order most of the files and remove packages which aren't important anymore. But what would be the best stategy to do this? Of course, I could start somewhere and work down and down and down... until I have deleted most unused packages, removed all sources and ordered the rest. But is there a good strategy I could stick to? Or perhaps a guildline how to order my pc? Thank you, Noud Aldenhoven -- <:3 )~ -- [EMAIL PROTECTED] mailing list