repository

CentOS / RHEL: yum Command Reinstall Package

by Vivek Gite on December 30, 2011 · 1 comment

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?

{ 1 comment }

RHEL Warning: RPMDB altered outside of yum

by Vivek Gite on June 14, 2011 · 1 comment

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
=============================================================================================================================================================================================
Installing:
 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
Installed:
  aide.x86_64 0:0.14-3.el6

How do I fix this problem?

{ 1 comment }

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?

{ 0 comments }

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?

{ 1 comment }

Verify: SSL Certificate Under OpenSSL

by Vivek Gite on December 7, 2010 · 0 comments

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?

{ 0 comments }

How do I install PostgresSQL interface for perl for programming purpose under Redhat / RHEL / Fedora / CentOS Linux?

{ 0 comments }

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:
tinyca
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?

{ 1 comment }