LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2009, 03:52 PM   #1
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Question YUM Error


Hi All,

I am unable to install rpms through yum
I am getting Missing Dependency error.

I have never got any errors in configuring yum, but this time nothing is going in my way.

This is the error, I am getting whenever any rpm has some dependencies.
Code:
[root@station1 Server]# yum -y install openssl*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Server                                                                   | 1.1 kB     00:00     
primary.xml.gz                                                           | 780 kB     00:00     
Server                                                         2223/2223
Setting up Install Process
Parsing package install arguments
Examining openssl097a-0.9.7a-9.i386.rpm: openssl097a-0.9.7a-9.i386
Marking openssl097a-0.9.7a-9.i386.rpm to be installed
Examining openssl-0.9.8b-10.el5.i386.rpm: openssl-0.9.8b-10.el5.i386
openssl-0.9.8b-10.el5.i386.rpm: does not update installed package.
Examining openssl-0.9.8b-10.el5.i686.rpm: openssl-0.9.8b-10.el5.i686
openssl-0.9.8b-10.el5.i686.rpm: does not update installed package.
Examining openssl-devel-0.9.8b-10.el5.i386.rpm: openssl-devel-0.9.8b-10.el5.i386
Marking openssl-devel-0.9.8b-10.el5.i386.rpm to be installed
Examining openssl-perl-0.9.8b-10.el5.i386.rpm: openssl-perl-0.9.8b-10.el5.i386
Marking openssl-perl-0.9.8b-10.el5.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.i386 0:0.9.8b-10.el5 set to be updated
--> Processing Dependency: openssl = 0.9.8b-10.el5 for package: openssl-devel
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Processing Dependency: zlib-devel for package: openssl-devel
---> Package openssl097a.i386 0:0.9.7a-9 set to be updated
---> Package openssl-perl.i386 0:0.9.8b-10.el5 set to be updated
--> Running transaction check
---> Package krb5-devel.i386 0:1.6.1-25.el5 set to be updated
--> Processing Dependency: krb5-libs = 1.6.1-25.el5 for package: krb5-devel
--> Processing Dependency: libselinux-devel for package: krb5-devel
--> Processing Dependency: e2fsprogs-devel for package: krb5-devel
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel
---> Package zlib-devel.i386 0:1.2.3-3 set to be updated
---> Package openssl.i386 0:0.9.8b-10.el5 set to be updated
--> Running transaction check
---> Package krb5-devel.i386 0:1.6.1-25.el5 set to be updated
--> Processing Dependency: krb5-libs = 1.6.1-25.el5 for package: krb5-devel
---> Package libselinux-devel.i386 0:1.33.4-5.el5 set to be updated
--> Processing Dependency: libselinux = 1.33.4-5.el5 for package: libselinux-devel
--> Processing Dependency: libsepol-devel >= 1.15.2-1 for package: libselinux-devel
---> Package keyutils-libs-devel.i386 0:1.2-1.el5 set to be updated
---> Package e2fsprogs-devel.i386 0:1.39-15.el5 set to be updated
--> Processing Dependency: e2fsprogs-libs = 1.39-15.el5 for package: e2fsprogs-devel
--> Running transaction check
---> Package krb5-devel.i386 0:1.6.1-25.el5 set to be updated
--> Processing Dependency: krb5-libs = 1.6.1-25.el5 for package: krb5-devel
---> Package libsepol-devel.i386 0:1.15.2-1.el5 set to be updated
---> Package libselinux-devel.i386 0:1.33.4-5.el5 set to be updated
--> Processing Dependency: libselinux = 1.33.4-5.el5 for package: libselinux-devel
---> Package e2fsprogs-devel.i386 0:1.39-15.el5 set to be updated
--> Processing Dependency: e2fsprogs-libs = 1.39-15.el5 for package: e2fsprogs-devel
--> Finished Dependency Resolution
libselinux-devel-1.33.4-5.el5.i386 from Server has depsolving problems
  --> Missing Dependency: libselinux = 1.33.4-5.el5 is needed by package libselinux-devel-1.33.4-5.el5.i386 (Server)
e2fsprogs-devel-1.39-15.el5.i386 from Server has depsolving problems
  --> Missing Dependency: e2fsprogs-libs = 1.39-15.el5 is needed by package e2fsprogs-devel-1.39-15.el5.i386 (Server)
krb5-devel-1.6.1-25.el5.i386 from Server has depsolving problems
  --> Missing Dependency: krb5-libs = 1.6.1-25.el5 is needed by package krb5-devel-1.6.1-25.el5.i386 (Server)
Error: Missing Dependency: e2fsprogs-libs = 1.39-15.el5 is needed by package e2fsprogs-devel-1.39-15.el5.i386 (Server)
Error: Missing Dependency: libselinux = 1.33.4-5.el5 is needed by package libselinux-devel-1.33.4-5.el5.i386 (Server)
Error: Missing Dependency: krb5-libs = 1.6.1-25.el5 is needed by package krb5-devel-1.6.1-25.el5.i386 (Server)
The rpms showing missing in the above error actually exists when I check them through yum list command.

I have tried replacing rpms, configured it all over again; restarted yum/vsftpd services.

I thought of erasing and then re-installing createrepo rpm; here I believe is the problem.

I could not erase it; I got the message that it is NOT installed.
Code:
[root@station1 Server]# rpm -e createrepo-0.4.11-3.el5.noarch.rpm 
error: package createrepo-0.4.11-3.el5.noarch.rpm is not installed

When I tried installing it; it says it is Installed.... wierd
Code:
[root@station1 Server]# rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm 
warning: createrepo-0.4.11-3.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
        package createrepo-0.4.11-3.el5.noarch is already installed
This is my repo file
Code:
[Server]
name=Server
baseurl=ftp://station1.ghar.com/pub/Server
gpgcheck=0

Could someone please help me out.
 
Old 05-29-2009, 04:55 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,605

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by vikas027 View Post
Hi All,

I am unable to install rpms through yum
I am getting Missing Dependency error.

I have never got any errors in configuring yum, but this time nothing is going in my way.

This is the error, I am getting whenever any rpm has some dependencies.

The rpms showing missing in the above error actually exists when I check them through yum list command.

I have tried replacing rpms, configured it all over again; restarted yum/vsftpd services.
The errors are very self-explanatory...have you read them?? The dependencies for the development libraries can't be satisified. You can either ignore the dependency errors, or upgrade the packages that are mentioned.

Quote:
I thought of erasing and then re-installing createrepo rpm; here I believe is the problem.

I could not erase it; I got the message that it is NOT installed.
Code:
[root@station1 Server]# rpm -e createrepo-0.4.11-3.el5.noarch.rpm 
error: package createrepo-0.4.11-3.el5.noarch.rpm is not installed
Right...the name of the package isn't createrepo-0.4.11-3.el5.noarch.rpm, but createrepo-0.4.11-3.el5.

Quote:
When I tried installing it; it says it is Installed.... wierd
Code:
[root@station1 Server]# rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm 
warning: createrepo-0.4.11-3.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
        package createrepo-0.4.11-3.el5.noarch is already installed
Right...the package is already installed and present. The remove command you ran didn't do anything, since you entered the wrong package name.

Quote:
This is my repo file
Code:
[Server]
name=Server
baseurl=ftp://station1.ghar.com/pub/Server
gpgcheck=0
Could someone please help me out.
Satisfy the missing dependencies for the development libraries. It knows where things are and what's missing, so either provide them manually, or point to a different repository that has what you need. Should be a simple thing for an RHCE to sort out....
 
Old 05-29-2009, 05:09 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you please show the output of

yum repolist

because it's strange that youe repos don't have the updated development packages.

Can I just ask - what has createrepo got to do with this, or was it just an example of another problem you are having?

BM
 
Old 05-29-2009, 05:53 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I'd also point out:
Code:
This system is not registered with RHN.
RHN support will be disabled.
I see a handful of people trying to run RHEL without utilizing the RHN (for whatever reason), and I do not understand the point. If you have a paid subscription, then register and use the official repo. If you instead want free beer, then run CentOS.
 
Old 05-29-2009, 07:18 PM   #5
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Original Poster
Rep: Reputation: 107Reputation: 107
Unhappy

Quote:
Originally Posted by TB0ne View Post
The errors are very self-explanatory...have you read them?? The dependencies for the development libraries can't be satisified. You can either ignore the dependency errors, or upgrade the packages that are mentioned.
Yes, I have read the errors. The package of missing dependencies are very much present in my /var/ftp/pub/Server


Quote:
Originally Posted by TB0ne View Post
Right...the name of the package isn't createrepo-0.4.11-3.el5.noarch.rpm, but createrepo-0.4.11-3.el5.

Right...the package is already installed and present. The remove command you ran didn't do anything, since you entered the wrong package name.
Ohh, my silly mistake.
 
Old 05-29-2009, 07:23 PM   #6
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Original Poster
Rep: Reputation: 107Reputation: 107
Exclamation

Quote:
Originally Posted by billymayday View Post
Can you please show the output of

yum repolist

because it's strange that youe repos don't have the updated development packages.
I will surely post the output of yum repolist

Quote:
Originally Posted by billymayday View Post
Can I just ask - what has createrepo got to do with this, or was it just an example of another problem you are having?
I was just trying as I thought there might me some problem with the createrepo command. Although, I a made a silly mistake in the syntax of rpm -e 'package name'. I must have pressed tab while writing the command.
 
Old 05-29-2009, 10:06 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Got it - so you created your own repo by the sound of things.

Can you show what packages and their associated devel packages are in your repo so for example, looking at your errors, look at libselinux and libselinux-devel, e2fsprogs-libs and e2fsprogs-devel, and krb5-libs and krb5-devel).
 
Old 05-30-2009, 10:01 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,605

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by vikas027 View Post
Yes, I have read the errors. The package of missing dependencies are very much present in my /var/ftp/pub/Server
Ok..then this begs the question: If they're there, why do you have errors on just THOSE packages, rather then on them ALL?

Since you're getting very package-specific errors, rather than a 'global' type error, that points away from a YUM error, and one in your own repository. Either you have the wrong versions, or missing files.

And you're getting this too:

Quote:
This system is not registered with RHN.
RHN support will be disabled.
as anomie said...if you're paying for support, register and use it. If you're not, you should STOP using something you're not paying for, and use something free, like CentOS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM Error zion_rulz Linux - General 1 05-14-2009 01:18 AM
error timeout: <urlopen error timed out> when using yum on centos5.2 dadidudedo Linux - General 9 05-01-2009 04:21 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
"HELP!!" yum error [Errno 14] HTTP Error 401: Unauthorized chennavarri Fedora 2 05-14-2008 10:29 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration