On Wed, 2005-06-29 at 08:32 -0400, Dave Nebinger wrote: > So revdep-rebuild is currently running on the box but I'm wondering how > often the revdep-rebuild needs to be run... > > Any suggestions from you folks out there in gentoo land? > > I'm thinking about building a cron script to run early in the morning and, > if a recent emerge has taken place, run revdep-rebuild automatically. Does > this sound like a good idea or not? >
I run it automatically every morning with --pretend so that I can see what it thinks needs to be rebuilt. The script I use on my gentoo boxes is available at http://dev.gentoo.org/~fuzzyray/portage.cron That script should give you a good starting point for developing something that meets your needs. It does have a few problems that I haven't fixed yet. The major one being that if the emerge command is unable to determine packages due to packages being masked, it isn't shown in the email message. > Does revdep-rebuild rebuild the same version of the packages that are > currently installed or will it do a package update from the portage tree? Under normal operation, it will try to rebuild the same package that is installed. If you use the --package-names option, it will rebuild with the latest version that is available. Regards, Paul -- gentoo-user@gentoo.org mailing list