LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-28-2004, 03:10 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 143

Rep: Reputation: 15
RPM Dependencies Errors


I'm trying to upgrade rpm package "libstdc++-3.2.3-20" with "libstdc++3.2.3-24" when I issues the upgrade "rpm -Uvvh --test /usr/src/redhat/SRPM/libstdc++-3.2.3-24.i386.rpm" I get a dependency error as follows:


error dependencies:
libstdc++-3.2.3-20 is needed by (installed) libstdc++-devel-3.2.3-20

I'm running the test option to research problems before doing the upgrade. I've checked both packages with "rpm -q libstdc++-3.2.3-20" and "rpm -q libstdc++-devel-3.2.3-20" both packages showup as installed.

What is the error message really telling me? What I'm I missing here? I've also listed all the files that make up each of the above packages and everything looks fine.

Please help me I've been trying to resolve this for a week. I've search the internet and purchased the book Maximum RPM and I have not been able to resolve this problem nor to do I understand what the problem is.

I realize I could "force" the update to installed but that is wrong approach to use without knowing what the problem is.


Thanks

Louis
 
Old 02-28-2004, 03:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it means that you have a development library installed in addition to the acutal stdc++ files itself (i.e. the C++ headers and such that would be erquired to manually compile C++ programs. either a) remove the libstdc++-devel program (if you do not intend to compile c++ programs) or b) just upgrade that too at the same time, find libstdc++-devel-3.2.3-24.i386.rpm and add it to the SAME command line you are using
 
Old 02-28-2004, 04:16 PM   #3
louisb
Member
 
Registered: Aug 2003
Posts: 143

Original Poster
Rep: Reputation: 15
Chris

I tried you suggestion and it worked ie it showed no errors when using the test option. But I'm not sure why? Can you explain to me what's happing.

I have other "rpms" to update/install and I want to understand things better.

What makes rpm process things correctly? With out errors

I'm creating the 'rpms" from source rpms ie. rpmbuild. As a result in many cases I'm creating multiple rpm packages from a single source. Should I submit all of the rpm packages from a single source rpm at the same time on a single command line?

Thanks

Louis
 
Old 02-28-2004, 04:28 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what's happening.. not really sure what you mean, but the -devel package is for version 3.2.3-20, which will only want to go with the main library with the matching version, so naturally it's going to complain if one of those conditions are going to be violated.

Quote:
What makes rpm process things correctly? With out errors
divine intervention... rpm's are generally horrible, i've not used an rpm distro for over a year now, and glad of it. i never really messed with trying to create them, so can't help on the other queries
 
  


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
RPM dependencies construct Linux - Software 2 01-22-2004 05:09 PM
RPM dependencies - HELP! therealbeale Linux - General 3 10-29-2003 01:36 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM
RPM Dependencies MarcRJacobs Linux - Newbie 2 05-16-2003 11:06 PM
rpm and dependencies zorro Linux - Newbie 1 05-09-2002 11:11 PM


All times are GMT -5. The time now is 03:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration