LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-20-2004, 08:38 PM   #1
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Rep: Reputation: 15
RPMs: Interrelated dependencies


I'm having some trouble updating several packages whose dependencies are inter-connected. I hope someone can offer advice. (gcc & cpp)

Quote:
# rpm -Uvc gcc-3.3.2-1.i686.rpm
warning: gcc-3.3.2-1.i686.rpm: V3 DSA signature: NOKEY, key ID e01260f1
error: Failed dependencies:
cpp = 3.3.2 is needed by gcc-3.3.2-1
Quote:
# rpm -Uvch cpp-3.3.2-1.i686.rpm
warning: cpp-3.3.2-1.i686.rpm: V3 DSA signature: NOKEY, key ID e01260f1
error: Failed dependencies:
cpp = 3.2.2-5 is needed by (installed) gcc-3.2.2-5
Quote:
# rpm -ev gcc
error: Failed dependencies:
gcc >= 2.96-98 is needed by (installed) kernel-source-2.4.20-19.9
Quote:
# rpm -ev cpp
error: Failed dependencies:
cpp = 3.2.2-5 is needed by (installed) gcc-3.2.2-5
/usr/bin/cpp is needed by (installed) XFree86-4.3.0-2.90.43
(The last I included just for the sake of completeness)

It's possible the problem could be cleared up by just uinstalling the kernel source; is that sensible? I don't know that I necessarily need the source, unless I'm missing something.

Help?
 
Old 01-20-2004, 09:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I'm having some trouble updating several packages whose dependencies are inter-connected."

You can get around this problem by using --nodeps.

rpm --nodeps -Uvc gcc-3.3.2-1.i686.rpm

rpm --nodeps -Uvch cpp-3.3.2-1.i686.rpm

See:
man rpm

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-20-2004, 09:57 PM   #3
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Thankya.
 
  


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
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
Failed dependencies on RPMs jared78 Linux - Newbie 16 07-01-2005 11:13 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
Illogical Failed dependencies for RPMs and source code installations, Slackware 9 peroxiderocket Slackware 4 07-14-2003 09:47 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 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