<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&nbsp;<BR><BR>&gt;&gt;&gt; Reply on 10-11-2006 17:26:23 &lt;&lt;&lt;&gt; &gt;&gt;&nbsp; Hello.<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt;&nbsp; I have installed my rpm package from some YUM repository.<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; # yum -y install mypackage<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt;&nbsp; This package requires bind, bind-libs and bind-utils packages. YUM<BR>&gt; has<BR>&gt; &gt;&gt; installed my package and required packages, what hadn't been<BR>&gt; installed. But <BR>&gt; &gt;&gt; YUM hasn't updated bind-libs, what had been installed.<BR>&gt; &gt;&gt;&nbsp; <BR>&gt; &gt;&gt; I can update bind-libs with YUM:<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; # yum -y update bind-libs<BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; But I need to install and update all required packages with the only<BR>&gt; one <BR>&gt; YUM&nbsp; <BR>&gt; &gt;&gt; command. Is it possible? Please, help.<BR>&gt; <BR>&gt; &gt; why only one command?<BR>&gt; <BR>&gt; Because, mypackage rpm runs postinstall script and I have error:<BR>&gt; <BR>&gt; Error<BR>&gt; -----<BR>&gt; Failed to start BIND : &lt;tt&gt;Starting named: /usr/sbin/named: symbol<BR>&gt; lookup <BR>&gt; error: /usr/sbin/named: undefined symbol: dns_resolver_setudpsize<BR>&gt; [FAILED]<BR>&gt; &lt;/tt&gt;<BR>&gt; -----<BR>&gt; <BR>&gt; &gt; what keeps you from doing:<BR>&gt; <BR>&gt; &gt; yum -y install mypackage ; yum update<BR>&gt; <BR>&gt; &gt; or<BR>&gt; <BR>&gt; &gt; make a file with this in it:<BR>&gt; <BR>&gt; &gt; install mypackage<BR>&gt; &gt; update<BR>&gt; &gt; run<BR>&gt; &gt; quit<BR>&gt; <BR>&gt; &gt; save it then run:<BR>&gt; <BR>&gt; &gt; yum -y shell /path/to/that/file<BR>&gt; <BR>&gt; &gt; -sv<BR>&gt; <BR>&gt;&nbsp; I have to update bind-libs before postinstall script will be run. <BR>&gt;&nbsp; Thank you for your help.<BR>&gt; <BR></DIV>
<DIV>To me, this looks like some packages have wrong dependencies. Probably, there is only a dep to a Packagename, but not to a required minimum version.</DIV>
<DIV>Maybe you can try something like</DIV>
<DIV>Requires: bind-lib &gt;= 9.1.0</DIV>
<DIV>&nbsp;</DIV>
<DIV>in your package?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Dominique</DIV></BODY></HTML>