LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot install krb5 RPMs on RHEL 5 Server (https://www.linuxquestions.org/questions/linux-software-2/cannot-install-krb5-rpms-on-rhel-5-server-733508/)

sushantchawla2005 06-16-2009 11:50 PM

Cannot install krb5 RPMs on RHEL 5 Server
 
Hi

Recently I have configured a new RHEL 5 server for my company but
When I am installing mysql yum is showing missing dependency for krb5. When I gave the command rpm -qa | grep -i krb5 its showing all krb5 packages are installed but other packages which are dependent are showing please install dependency for krb5 first.

Plzzzzzzzz helppppp me ASAP

knudfl 06-17-2009 10:25 AM

Welcome to LQ.

1) There is no package by name 'krb5'. ?
'yum list available | grep krb' .

2) The package 'mysql' itself is not depending on
any 'krb5-<name>' package.
'yum deplist mysql' .

So which package is depending on "krb5-..." ? ?
Full name please + version, major + minor version
numbers.
And are you sure the krb related packages in question
are updated. The basic ( base ? ) repolist in
/etc/yum.repos.d/ should probably include a mirror
ending with the word : updates .
.....

sushantchawla2005 06-17-2009 11:32 PM

Quote:

Originally Posted by knudfl (Post 3577225)
Welcome to LQ.

1) There is no package by name 'krb5'. ?
'yum list available | grep krb' .

2) The package 'mysql' itself is not depending on
any 'krb5-<name>' package.
'yum deplist mysql' .

So which package is depending on "krb5-..." ? ?
Full name please + version, major + minor version
numbers.
And are you sure the krb related packages in question
are updated. The basic ( base ? ) repolist in
/etc/yum.repos.d/ should probably include a mirror
ending with the word : updates .
.....


No I am using my local repository for yum which I copied from my RHEL5 DVD & when I issue command yum install mysql-*, It shows mysql-devel is dependent on openssl-devel & it too has dependency on krb5-devel. Following is the output of yum server:



# yum install mysql-*
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rhel-server 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mysql-devel.i386 0:5.0.22-2.1 set to be updated
--> Running transaction check
--> Processing Dependency: openssl-devel for package: mysql-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openssl-devel.i386 0:0.9.8b-8.3.el5 set to be updated
--> Running transaction check
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Finished Dependency Resolution
Error: Missing Dependency: krb5-devel is needed by package openssl-devel

sushantchawla2005 06-17-2009 11:35 PM

Quote:

Originally Posted by sushantchawla2005 (Post 3577845)
No I am using my local repository for yum which I copied from my RHEL5 DVD & when I issue command yum install mysql-*, It shows mysql-devel is dependent on openssl-devel & it too has dependency on krb5-devel. Following is the output of yum server:



# yum install mysql-*
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rhel-server 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mysql-devel.i386 0:5.0.22-2.1 set to be updated
--> Running transaction check
--> Processing Dependency: openssl-devel for package: mysql-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openssl-devel.i386 0:0.9.8b-8.3.el5 set to be updated
--> Running transaction check
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Finished Dependency Resolution
Error: Missing Dependency: krb5-devel is needed by package openssl-devel


This is the output of confirming the krb5 packages which shows it is installed but other applications which needs these packages shows these are not installed.

# rpm -qa | grep krb
krb5-workstation-1.5-17
krb5-auth-dialog-0.7-1
krb5-server-1.5-17
krb5-devel-1.5-17
krb5-libs-1.5-17
pam_krb5-2.2.11-1

sushantchawla2005 06-18-2009 05:37 AM

Quote:

Originally Posted by sushantchawla2005 (Post 3577849)
This is the output of confirming the krb5 packages which shows it is installed but other applications which needs these packages shows these are not installed.

# rpm -qa | grep krb
krb5-workstation-1.5-17
krb5-auth-dialog-0.7-1
krb5-server-1.5-17
krb5-devel-1.5-17
krb5-libs-1.5-17
pam_krb5-2.2.11-1




The problem is resolved now actually my RPM database got corrupted & when I rebuild the RPM database it worked perfectly.


All times are GMT -5. The time now is 06:47 PM.