<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> <BR><BR>>>> Reply on 10-11-2006 17:26:23 <<<> >> Hello.<BR>> >> <BR>> >> I have installed my rpm package from some YUM repository.<BR>> >> <BR>> >> # yum -y install mypackage<BR>> >> <BR>> >> This package requires bind, bind-libs and bind-utils packages. YUM<BR>> has<BR>> >> installed my package and required packages, what hadn't been<BR>> installed. But <BR>> >> YUM hasn't updated bind-libs, what had been installed.<BR>> >> <BR>> >> I can update bind-libs with YUM:<BR>> >> <BR>> >> # yum -y update bind-libs<BR>> >> <BR>> >> But I need to install and update all required packages with the only<BR>> one <BR>> YUM <BR>> >> command. Is it possible? Please, help.<BR>> <BR>> > why only one command?<BR>> <BR>> Because, mypackage rpm runs postinstall script and I have error:<BR>> <BR>> Error<BR>> -----<BR>> Failed to start BIND : <tt>Starting named: /usr/sbin/named: symbol<BR>> lookup <BR>> error: /usr/sbin/named: undefined symbol: dns_resolver_setudpsize<BR>> [FAILED]<BR>> </tt><BR>> -----<BR>> <BR>> > what keeps you from doing:<BR>> <BR>> > yum -y install mypackage ; yum update<BR>> <BR>> > or<BR>> <BR>> > make a file with this in it:<BR>> <BR>> > install mypackage<BR>> > update<BR>> > run<BR>> > quit<BR>> <BR>> > save it then run:<BR>> <BR>> > yum -y shell /path/to/that/file<BR>> <BR>> > -sv<BR>> <BR>> I have to update bind-libs before postinstall script will be run. <BR>> Thank you for your help.<BR>> <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 >= 9.1.0</DIV>
<DIV> </DIV>
<DIV>in your package?</DIV>
<DIV> </DIV>
<DIV>Dominique</DIV></BODY></HTML>