150 lines
6.4 KiB
HTML
150 lines
6.4 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.1F.i">
|
|
<TITLE>The Answer Guy 35: RPM Dependencies: HOW?</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)" border="0" align="middle">
|
|
<font color="#B03060">The Answer Guy</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)" border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>By James T. Dennis,
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a><BR>
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H4>
|
|
</center>
|
|
|
|
<p><hr><p>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" height="50" width="60"
|
|
alt="(?) " border="0">RPM Dependencies: HOW?</H3>
|
|
|
|
|
|
<p><strong>From Riccardo Donato on Sun, 22 Nov 1998
|
|
</strong></p>
|
|
<!-- begin 30 -->
|
|
<P><STRONG>
|
|
How can you install rpm packages that are written for redhat 4.0
|
|
or 5.0? I tried to install them but for some of them I receive
|
|
error messages (libraries which are not into the system).
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" alt="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
When asking questions in any public forum (mailing list,
|
|
newsgroup, webazine or traditional magazine) if the question
|
|
relates to any errors you are seeing ....
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
INCLUDE THE TEXT OF THE ERROR MESSAGES!
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
It's also a good idea to include the exact command line or
|
|
sequence that gave the error. I can't tell if you were
|
|
getting this from a shell prompt using the 'rpm' command or
|
|
from some X Windows or curses front end to the RPM system.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
That said I suspect that the RPM system is complaining about
|
|
dependencies. That is to say that the package you are
|
|
trying to installed "depends" on another package (such as a
|
|
library).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
The usual solution is to get get the RPM file which provides
|
|
those libraries or other resources, and install them first.
|
|
Sometimes it can be a bit of a trick to figure out which
|
|
RPM's you need to install and in what order. It would be
|
|
nice if <A HREF="http://www.redhat.com/">Red Hat</A> Inc. provided better information on that
|
|
(perhaps in the "info" page that can be extracted fromm
|
|
any RPM file using the 'rpm -qpi' command). There's
|
|
some 'rpm --whatprovides' switch --- but I have no idea
|
|
what that does.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Another trick, if you have a hybrid system (with some
|
|
RPM's and some packages you've built and installed
|
|
from "tarballs" or even through the <A HREF="http://www.debian.org/">Debian</A> package
|
|
system) is to try the installation with the "--nodeps"
|
|
option to the 'rpm' command. However, this may not
|
|
work very well, even if you have the requisite packages
|
|
installed. It shouldn't be a problem with libraries
|
|
--- but some other types of files might not be located
|
|
in the "right places." You can usually solve that with
|
|
judicious use of symlinks; but you need to know what the
|
|
RPM package's programs are looking for and where.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Without knowing the specific packages involved, I
|
|
couldn't do more than generalize. Considering that
|
|
there's a whole web site devoted to the RPM system
|
|
<A HREF="http://www.rpm.org">http://www.rpm.org</A> and a couple of mid-sized corporations
|
|
(Red Hat, <A HREF="http://www.redhat.com">http://www.redhat.com</A>, and
|
|
<A HREF="http://www.suse.com/">S.u.S.E.</A> <A HREF="http://www.suse.de">http://www.suse.de</A> and <A HREF="http://www.suse.com">http://www.suse.com</A>)
|
|
--- it would be silly for me to generalize on the RPM
|
|
system.
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 30 -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1998, James T. Dennis
|
|
<BR>Published in <I>The Linux Gazette</I> Issue 35 December 1998</H5>
|
|
<P> <hr> <P>
|
|
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<TABLE WIDTH="96%"><TR VALIGN="center" ALIGN="center">
|
|
<TD ROWSPAN="3" COLSPAN="3" WIDTH="26%"><A HREF="../lg_answer35.html"
|
|
><IMG SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Index ]"></A></td>
|
|
<TD WIDTH="14%"><A HREF="office.html">office</A></TD>
|
|
<TD WIDTH="14%"><A HREF="largedisk.html">largedisk</A></TD>
|
|
<TD WIDTH="14%"><A HREF="links.html">links</A></TD>
|
|
<TD WIDTH="14%"><A HREF="yamaha.html">yamaha</A></TD>
|
|
<TD WIDTH="14%"><A HREF="magickeys.html">magickeys</A></TD>
|
|
</TR><TR VALIGN="center" ALIGN="center">
|
|
<TD><A HREF="passwd.html">passwd</A></TD>
|
|
<TD><A HREF="ftproot.html">ftproot</A></TD>
|
|
<TD><A HREF="pvtmail.html">pvtmail</A></TD>
|
|
<TD><A HREF="netware.html">netware</A></TD>
|
|
<TD><A HREF="crypto.html">crypto</A></TD>
|
|
</TR><TR VALIGN="center" ALIGN="center">
|
|
<TD><A HREF="relay.html">relay</A></TD>
|
|
<TD><A HREF="project.html">project</A></TD>
|
|
<TD><A HREF="bootmethod.html">bootmethod</A></TD>
|
|
<TD><A HREF="sysadmin.html">sysadmin</A></TD>
|
|
<TD><A HREF="ipscript.html">ipscript</A></TD>
|
|
</TR><TR VALIGN="center" ALIGN="center">
|
|
<TD><A HREF="loopfs.html">loopfs</A></TD>
|
|
<TD><A HREF="mrtg.html">mrtg</A></TD>
|
|
<TD><A HREF="slimscan.html">slimscan</A></TD>
|
|
<TD><A HREF="rpm.html">rpm</A></TD>
|
|
<TD><A HREF="egg.html">modutils</A></TD>
|
|
<TD><A HREF="libc.html">libc</A></TD>
|
|
<TD><A HREF="dell.html">dell</A></TD>
|
|
<TD><A HREF="remoteroot.html">remoteroot</A></TD>
|
|
</TR></TABLE>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<A HREF="../index.html"
|
|
><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
|
|
<A HREF="../../index.html"
|
|
><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
|
|
<A HREF="../lg_bytes35.html"
|
|
><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
|
|
<A HREF="../anderson.html"
|
|
><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|