Re: yum install/upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 I was thinking about this. But this variant doesn't give the the solution of 
the problem in a general case.

 Thank you for your help. 

-- 
Vadim Lvovsky
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux