Forum Home
Press F1
 
Thread ID: 40281 2003-12-03 08:58:00 linux lib heni72847 (1166) Press F1
Post ID Timestamp Content User
197002 2003-12-04 01:27:00 I wouldn't recommend trying to beat the system. If RPM won't load something because of a dependency problem, there is a problem. Running ldconfig probably won't do any harm ... but it won't help if you ahve used rpm to install the libarrioes. ;-)

Try rpm --aid -ivh samba*.rpm . (Of course, you must be root to do the installation).

If that doesn't work, post the error messages. It's impossible to help without information.
Graham L (2)
197003 2003-12-04 01:45:00 oh.. sorry.. didn't read the new posts properly...
um.. --aid doesn't work... it doesn't seem to have that option...
heni72847 (1166)
197004 2003-12-04 04:31:00 Damn. I found that in a reputable book ... latest edition ... and thought my dreams had come true. Check with man rpm and see if it's something different. :D Graham L (2)
197005 2003-12-04 05:17:00 >I've been browsing through the new edition of an O'Reilly book of Linux and found that IT'S PART OF RPM. Use rpm --aid -ivh thefile.x.y.-z.rpm and it will install the extra packages.

Would this be the O'Reilly "Linux in a Nutshell" - A Desktop Quick Reference 4th Ed? :D

I have just got this book as well (in an ever hopeful attempt at understanding a bit more :p) and it does mention the --aid option.

However a bit of a google later, seems to suggest you might need to do a bit of preparation before hand - see this query here (groups.yahoo.com) and the follow up posts.
Jen C (20)
197006 2003-12-04 06:22:00 Graham>
I only suggest that as the samba source code comes with all it needs... Ive had a few dependancys go missing with Samba RPM's myself.. Source solved that..

Same with MPlayer... Aye Jen ;-)
Chilling_Silently (228)
197007 2003-12-04 21:39:00 Linux ina Nutshell is the book. :D The version of RPM (4.2) in the RH9 I've got has the --aid option "in the man", and doesn't give an error when it's used. It just doesn't do anything. :_|

I've heard that apt-get (a Debian tool, but can be used in RPM based distrioutions) is a great way to go --- PC Authority had ana article on it some time aga, but I never bothered ... I just think this is a mild nuisance.

I found a good short article ... (I suspect a ChCh guy ;-)) both on using apt-get, and the official RPM way to resolve the problem by giving "handling rpm dependency" will get it as the first link, to save me mistyping the url. (As a check, the site is www.brandonhutchinson.com .)
Graham L (2)
1 2