≡ Menu


Yum Command Check and Apply Only Security Updates

How do I only lists and/or updates to be limited using security relevant criteria when I run the yum command under CentOS / RHEL based server system?
[click to continue…]

CentOS / RHEL: yum Command Reinstall Package

I accidental deleted the configuration file stored in /etc/ directory and the latest backup were made yesterday. How do I resinstall the package using the yum command under RHEL / CentOS Linux server?
[click to continue…]

RHEL Warning: RPMDB altered outside of yum

When I try to update my server using the yum command I've been seeing the following error / warning message:

yum install aide
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package aide.x86_64 0:0.14-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
 Package                                Arch                                     Version                                        Repository                                              Size
 aide                                   x86_64                                   0.14-3.el6                                     rhel-x86_64-server-6                                   123 k
Transaction Summary
Install       1 Package(s)
Total download size: 123 k
Installed size: 0
Is this ok [y/N]:
Downloading Packages:
aide-0.14-3.el6.x86_64.rpm                                                                                                                                            | 123 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : aide-0.14-3.el6.x86_64                                                                                                                                                    1/1
  aide.x86_64 0:0.14-3.el6

How do I fix this problem?
[click to continue…]

I'm trying to install RHEL 6 kernel updates and patches using the yum command and getting the following error:

Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem
Error Summary
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

How do I fix this error and install RHEL kernel without increasing /boot size or reinstalling the operating system?
[click to continue…]

Redhat / CentOS: Install Internet whois / nicname Client

How do I install whois client to see whois information about domain and ip address using command line options under Fedora / RHEL / Redhat / CentOS / Scientific Linux?
[click to continue…]

Verify: SSL Certificate Under OpenSSL

All UNIX / Linux applications linked against the OpenSSL libraries can verify certificates signed by a recognized certificate authority (CA). How do I verify SSL certificates using OpenSSL command line toolkit itself under UNIX like operating systems without using third party websites?
[click to continue…]

CentOS / RHEL: Install PostgresSQL Interface for Perl (perl-DBD-Pg)

How do I install PostgresSQL interface for perl for programming purpose under Redhat / RHEL / Fedora / CentOS Linux?
[click to continue…]

E: Archive directory /var/cache/apt/archives/partial is missing Error and Solution

I'm trying to install mysql-server package under Debian using the following command:

apt-get install mysql-server-5.0 mysql-common

But I'm getting an error which read as follows:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdevel-symdump-perl liburi-perl libhtml-parser-perl libapr1 libhtml-tree-perl libpq5 libhtml-tagset-perl libwww-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libdbd-mysql-perl libmysqlclient15off mysql-client-5.0
Suggested packages:
The following NEW packages will be installed:
libdbd-mysql-perl libmysqlclient15off mysql-client-5.0 mysql-common mysql-server-5.0
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
E: Archive directory /var/cache/apt/archives/partial is missing.

How do I fix the problem?
[click to continue…]

CentOS / Redhat: Protect Yum Repo's Packages

How do I protect my yum repo's packages from certain repositories getting replaced / updated via yum command itself under CentOS / RHEL / Redhat Enterprise Linux?
[click to continue…]

CentOS Linux Install zlib-devel RPM Package

How do I install zlib-devel (header files and libraries for Zlib development) package under CentOS Linux 5.x server using command line options?
[click to continue…]