LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 04-09-2003, 06:43 PM   #1
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Rep: Reputation: 15
RPM: Requring Dependencies?


I've downloaded the Security Advisory RPMs from redhat's update site, however when I tried applying them I get the following errors:

Quote:
# rpm -Fvh samba-2.2.7-3.7.2.i386.rpm
error: failed dependencies:
samba-common = 2.2.7 is needed by samba-2.2.7-3.7.2
Quote:
# rpm -Fvh samba-common-2.2.7-3.7.2.i386.rpm
error: failed dependencies:
samba-common = 2.2.1a is needed by samba-2.2.1a-4
samba-common = 2.2.1a is needed by samba-client-2.2.1a-4
Quote:
# rpm -Fvh samba-client-2.2.7-3.7.2.i386.rpm
error: failed dependencies:
samba-common = 2.2.7 is needed by samba-client-2.2.7-3.7.2
Why is it asking for these dependencies? What should I do?

currently my system has these:

Quote:
# rpm -qa | grep samba
samba-common-2.2.1a-4
samba-client-2.2.1a-4
samba-2.2.1a-4
 
Old 04-09-2003, 07:28 PM   #2
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
You should upgrade the samba packages to version 2.2.7
 
Old 04-09-2003, 08:22 PM   #3
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
If you have a built in automatic rpm installer just click on it (it will install automatically). If not you should install apt-rpm like for your distro to eliminate the dependencies. If you want to do it manually ideally you should uninstall all samba rpms before installing the new ones.

You can add --force and --nodeps as rpm option
rpm -e samba-common-2.2.1a-4 --nodeps
rpm -e samba-client-2.2.1a-4 --nodeps
rpm -e samba-2.2.1a-4 --nodeps

Then install the new rpms.
You can add --force and --nodeps as rpm option
rpm -ivh samba-2.2.7-3.7.2.i386.rpm
rpm -ivh samba-common-2.2.7-3.7.2.i386.rpm
rpm -ivh samba-client-2.2.7-3.7.2.i386.rpm


Have fun :-)
 
Old 04-09-2003, 11:09 PM   #4
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
But I thought these UPDATES would update the samba packages automatically and they weren't dependent of the old version.
 
Old 04-09-2003, 11:24 PM   #5
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by aherm

You can add --force and --nodeps as rpm option
rpm -e samba-common-2.2.1a-4 --nodeps
rpm -e samba-client-2.2.1a-4 --nodeps
rpm -e samba-2.2.1a-4 --nodeps

Then install the new rpms.
You can add --force and --nodeps as rpm option
rpm -ivh samba-2.2.7-3.7.2.i386.rpm
rpm -ivh samba-common-2.2.7-3.7.2.i386.rpm
rpm -ivh samba-client-2.2.7-3.7.2.i386.rpm
ok, this worked!

but I think something broke, I did a 'rpm -qa | grep samba' and it hangs after samba-2.2.7-3.7.2 and samba-client-2.2.1a-4 doesn't display.

Quote:
# rpm -qa | grep samba
samba-common-2.2.7-3.7.2
samba-2.2.7-3.7.2

<hangs>
 
Old 04-10-2003, 12:46 AM   #6
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
Try

rpm -Uvh samba-client-(press tab here then enter)


Have a lot more fun :-)
 
Old 04-10-2003, 09:34 PM   #7
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by aherm
Try

rpm -Uvh samba-client-(press tab here then enter)


Have a lot more fun :-)
It has been installed, just that RPM doesn't display it and hangs. I've tried it as a regular use and it works, which is quite weird that it would only hang on root.

Is there a way to rebuild the list index?
 
Old 04-11-2003, 12:22 AM   #8
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
There are some ways in SuSE like by running one of these: YaST, Install/Remove Software, SuSEconfig, apt-get, online update...

RH should have one. Look around ;-)


Have fun :-)
 
  


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 gandhis Red Hat 2 11-02-2004 12:00 AM
rpm dependencies? nate1002 Linux - Newbie 1 02-18-2004 02:49 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 10:56 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