Archive for the tag 'yum'

Ensim Pro Control Panel and Yum version

Ensim Pro is compatible with yum version 2.4 or later. If an earlier version is installed, the installer tries to install/update the installed version; however, to avoid installation failures, it is recommended that you verify the version of yum installed on the server. To verify the yum version, run the following command at the prompt:

/usr/bin/yum –version
SBDavid

Yum errors

Yum errors

While running ‘Yum update’, if we get the following error,

downloading Packages:

warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID ed00d312

Public key for syslog-ng-2.0.0-1.el4.i386.rpm is not installed

We can fix the error by installing GPG public key.

There are few kind of RPMs e.g atrpms, dag..

You can see the RPM types using the command,

yum list

Below are the ways to install RPM GPG keys for atrpms and dag,

wget http://ATrpms.net/RPM-GPG-KEY.atrpms

rpm –import RPM-GPG-KEY.atrpms

wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm –import RPM-GPG-KEY.dag.txt

SBDavid

YUM packages updater

Yum Commands

YUM packages updater (Fedora, RedHat and alike)

Download and install a rpm package

yum install package_name

This will install an RPM, and try to resolve all the dependencies for you using your repositories.

yum localinstall package_name.rpm

Update all rpm packages installed on the system

yum update

Upgrade a rpm package

yum update package_name

Remove a rpm package

yum remove package_name

List all packages installed on the system

yum list

Find a package on rpm repository

yum search package_name

Clean up rpm cache erasing downloaded packages

yum clean packages

Remove all files headers that the system uses to resolve dependency

yum clean headers

Remove from the cache packages and headers files

yum clean all
SBDavid

Exclude packages from yum update

Exclude packages from yum update

Example on how to exclude a number of packages:

1. Open /etc/yum.conf with your preferred text editor.

2. Enter the following line with your package names:

Exclude= apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php*

« Prev