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

Re: rpm calling rpm?



--- Axel Thimm <Axel.Thimm@physik.fu-berlin.de> wrote:
> Is it safe to call rpm -Uhv in rpm scripts (thinking
> of %post)?  Maybe
> even uninstalling itself?

I think (but not sure ) latest rpm allow it.
I sure a couple of previous one's not.

In any case you can try to run this command in
background, i.e something like:
%post
( sleep 2; rpm -Uhv <all-your-rpms>) &

Sleep will allow to "master" rpm to be finished and
release database.

Not perfect, but still something...

Valery


> 
> If someone wonders where these sick ideas come from:
> the idea is to
> create monolithic rpms for certain rpms with high
> dependencies like
> xmltv or mythtv. Users w/o apt/yum are not delighted
> downloading a
> dozen of packages, possibly scattered around
> different
> directories. So I consider the idea of packaging
> babuschka rpms and
> and installing them in %post, while deinstalling the
> container rpm.
> -- 
> Axel.Thimm@physik.fu-berlin.de
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




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