On Sat, 5 Oct 2002, Shaw, Marco wrote: > OK, so a -U will upgrade a package if it already exists, or basically do an install >if no previous package was found, whereas -F will only upgrade a package if an older >version if found on the system. > > Is one better/more reliable than the other on a production system? > I would guess -F would be better for "blindly" downlaoding *all* the errata, and >applying them with one command only if the package already exists on the system... > > Without going to the source code, I'm assuming up2date/RHN would use -F? > > Marco
Yes, -Fvh is much better if you are blindly updating from a directory full of rpms. up2date is much smarter than -Fvh. For example. If package foo-1.0-4.i386.rpm is now split into two packages bar-1.0-5.i386.rpm and baz-1.0.5.i386.rpm, -Fvh won't catch it. up2date should properly "figure out" that scenario and "do the right thing". Plus, there are a number of packages that you don't want to blindly update that up2date installs properly without much thought on a users part: eg. kernel and glibc come to mind. I don't think up2date ever calls rpm directly. -- ____________ /odd "traceback" Warner <taw@{redhat,pobox}.com> Tanker - Army National Guard Bit Twiddler - Red Hat Network ---------------------gpg info in the message headers-------------------- "When we die, we don't go to purgatory. We just land up on the roof and lay there." --"Steady" Ed Headrick (1924-2002) (father of the modern Frisbee[tm]) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list