≡ Menu


Red hat / Fedora / CentOS Yum Repo is Listed More Than Once

Q. Why does my yum command fail with an error that a repo is listed more than once under Fedora / RHEL / CentOS Linux? This error occurs when I type yum clean command

Loading "rhnplugin" plugin
Loading "security" plugin

Repository xen-repo is listed more than once in the configuration

How do I fix this problem?

[click to continue…]

RHEL 4: Find up2date command module / library dependencies

Q. I'm using RHEL 4.x as database server. How can I run the up2date command to find out what package will satisfy library / module dependencies via RHN?

A.Update Agent provides a complete system for updating the RPM packages installed on a Red Hat Enterprise Linux system. Both command line and graphical interfaces are included.

Update Agent has a quite a few configuration options, including but not limited to: installing packages after they are downloaded; downloading source RPMs along with binary RPMs; whether or not to upgrade packages where the default configuration file(s) have been modified, and more.

--whatprovides=<dependencies> option

Use the following syntax to query the RHN servers to resolve the comma separated list of dependencies. It will return a list of packages that will satisfy these dependencies:

up2date --whatprovides=<dependencies>

For example, if an error read as follows:

error: failed dependencies:
      libxyz.so    is needed by httpd
      libabc.so.1  is needed by httpd

To find out all libs or module dependencies in any of the package, enter:
# up2date --whatprovides=libxyz.so,libabc.so.1


Now just install packagename-1.15:
# up2date packagename

Redhat / CentOS Linux list all packages available for installation

Q. How do I list all packages available for installation from Internet using Red Hat Enterprise Linux or CentOS 5?

A. You can yum command and it has option to show a list of all packages that are not presently installed and can be installed via RHN or Internet.
yum list available
yum list available | less
yum list available | grep package
yum list available "pacakge"

A note about RHEL <= version 4.0

If you are using RHEL v4.0 or old version, use up2date command:
up2date --show-available

Re register Linux Server System with RHN ( Red Hat Network )

Q. After re-installing my HP server system, RHN is not working. How do I re-register my system with Red Hat Network (RHN) again?
[click to continue…]

Red Hat Enterprise Linux: Apply package updates from the Red Hat Network (RHN)

Q. How can I apply package updates from Red Hat Network (RHN) for my HP Red Hat Enterprise Linux Server?
[click to continue…]

Where do I download Red Hat Enterprise Linux?

Q. Where do I download Red Hat Enterprise Linux?

A. Red Hat Enterprise Linux is not available for download. It is a commercial and supported Linux distribution.

Red Hat Network (RHN) (free registration required) has the trial version or demo version and you can download ISO images for Red Hat Enterprise Linux. After evaluation period you need to purchase support.

However I recommend downloading CentOS which is 100% Red Hat Enterprise Linux based free system. Another option is to try out Debian stable Linux.

You may also get free RedHat Enterprise Linux (RHEL) if you are leasing a server from dedicated hosting service providers.

Apply package updates from the Red Hat Network (RHN) For Red Hat Linux Server

Q. How do I apply package updates from the Red Hat Network (RHN)?
[click to continue…]