On Thu, 2011-01-13 at 16:47 +0530, Syam wrote: > One doubt.. If I install an RPM manually, and later when I run "yum > update", won't it recognize the package and update it (if updates are > available from the standard repos)? >
Yes, yum will. > I've installed some rpm packages manually, sometimes because I wanted > to test something before it hit the official repos. I've never > observed any inconsistency problems while doing so. I was under the > impression that the 'rpm' command will also update the yum databases > so everything will work fine. Am I wrong here? > > If you run yum after installing a package using rpm, notice a warning "databse edited outside yum". Like shakti said, yum is a wrapper around rpm. You can test rpms using yum also: $ yum install --nogpg <package rpm file path> The beauty of it is, $ yum history list $ yum history undo <number> will remove the package too, exactly reversing the transaction. Please use yum for installations. If you want to use the cached info to save time, use the -C flag. Read "man yum" for more. Thanks, regards, Ankur _______________________________________________ india mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/india
