Sunday, March 2, 2008

Automatic way to fix RPM installations

Automatic way to fix RPM installations :

If you are installing rpm which is having many dependancies then you can do it with the up2date utility. It will automatically install all the dependencies for rpm package that is installed. If you have access to Red Hat Network (RHN) you can use the command up2date to update and it will download & install RPM packages.

>>> up2date

It will connect to RHN (Red hat network), automatically download, and install the package.(Only for Registered channel). If there are dependencies or another RPM packages, they will be automatically get downloaded and installed as well.

For example:

# up2date smbfs-2.0.1-4 [programs to access SMB network servers]

The up2date command will automatically resolve, fetch and install any package dependencies for the package to be installed.

Also up2date command will download and install latest version of that package.

No comments: