Robert Moskowitz
2006-Mar-01 23:38 UTC
[CentOS] Checking out yum localinstall before installing
I want to just see what will happen (ie success, or some dependencies still cannot be met) with: yum localinstall whatever.rpm I ASSuME (I have googled for this, but it is not clear) that localinstall will take the rpm, install it, and go to the yum repro to meet any outstanding dependencies. I just want to test this right now, not actually do it. I want to know what yum would install from the repro as well.
Johnny Hughes
2006-Mar-02 00:08 UTC
[CentOS] Checking out yum localinstall before installing
On Wed, 2006-03-01 at 18:38 -0500, Robert Moskowitz wrote:> I want to just see what will happen (ie success, or some dependencies > still cannot be met) with: > > yum localinstall whatever.rpm > > I ASSuME (I have googled for this, but it is not clear) that > localinstall will take the rpm, install it, and go to the yum repro > to meet any outstanding dependencies. > > I just want to test this right now, not actually do it. I want to > know what yum would install from the repro as well. > >localinstall: Is used to install a set of local rpm files. If required the enabled repositories will be used to resolve dependencies. localupdate: Is used to update the system by specifying local rpm files. Only the specified rpm files of which an older version is already installed will be installed, the remaining specified packages will be ignored. If required the enabled repositories will be used to resolve dependencies. SO ... yep, that is exactly how it works. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060301/87564b60/attachment.sig>