Koozali.org: home of the SME Server

Trying to install the "whois" command

Offline Teviot

  • *
  • 610
  • +0/-0
Trying to install the "whois" command
« on: February 04, 2008, 08:06:57 AM »
Hi Everyone.

I have just completed a reinstall from scratch of my SME server.  I had in my files to install jwhois----- but it comes up with the following error

Code: [Select]
[root@gateway installed]# yum localinstall jwhois-3.2.3-8.el5.i386.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining jwhois-3.2.3-8.el5.i386.rpm: jwhois - 3.2.3-8.el5.i386
Marking jwhois-3.2.3-8.el5.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package jwhois.i386 0:3.2.3-8.el5 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: jwhois
--> Processing Dependency: rtld(GNU_HASH) for package: jwhois
--> Finished Dependency Resolution
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package jwhois
Error: Missing Dependency: rtld(GNU_HASH) is needed by package jwhois
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@gateway installed]#

I then tried searching for the related files and couldn't work out which was which.

I then tried searching for an update version and found http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/jwhois-3.2.2-6.EL4.1.i386.rpm but that came up with the following
Code: [Select]
[root@gateway installed]# yum localinstall jwhois-3.2.3-8.el5.i386.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining jwhois-3.2.3-8.el5.i386.rpm: jwhois - 3.2.3-8.el5.i386
Marking jwhois-3.2.3-8.el5.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package jwhois.i386 0:3.2.3-8.el5 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: jwhois
--> Processing Dependency: rtld(GNU_HASH) for package: jwhois
--> Finished Dependency Resolution
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package jwhois
Error: Missing Dependency: rtld(GNU_HASH) is needed by package jwhois
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@gateway installed]#

I found http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/glib2-2.4.7-1.i386.rpm

Is this the missing file?  and are there any more I should install in addition to this one?

I'm not very knowledgeable when it comes to linux and really need help

Regards
Adrian

Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Trying to install the "whois" command
« Reply #1 on: February 04, 2008, 08:27:53 AM »
Try letting SME look after everything...(SME7.3)

[root@tiger ~]# yum install jwhois
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package jwhois.i386 0:3.2.2-6.EL4.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 jwhois                  i386       3.2.2-6.EL4.1    base               77 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 77 k


Packages with EL5 will be for SME 8.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Trying to install the "whois" command --- Resolved
« Reply #2 on: February 04, 2008, 08:53:47 AM »
Thanks William

There is some much to learn.  All works now.  Thank you
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.