On Wed, Sep 17, 2003 at 12:42:20PM -0400, 02fun-u2 wrote: > > one of the questions that came out of the web thing for me is.. > using a typical redhat install and how do you update all the packages that are > installed on your system?
The best I've been able to come up with is to download all updates into a subdirectory and then to use the "freshen" option for Redhat, along these lines: mkdir latest-updates cd latest-updates wget http://some.mirror/some/path/to/updates cd some.mirror/some/path/to/updates rpm -Fvh *.rpm Then I cross my fingers and pray that it doesn't break. "freshen" updates, but in contrast to the "update" (-U) option, only updates those packages that you already have installed. Sometimes you'll have to add a new package that has been added (or more likely, swapped in in place of something else) as a dependency of an already installed package, and might have to do other manual tweaking. If you're going to re-compile everything as has been suggested, one wonders why you'd use a distribution with any binary package dependency management at all instead of, say, Slackware. If you do do the recompile approach, I'd fully plan on the server not serving anything while you sort through the things that don't work right away. --Joe
