Keeping multiple kernels

Pawel A. Gajda mis at k2.net.pl
Sun Nov 6 16:47:51 CET 2005


Sunday 06/11/2005 17:27:38, Elan Ruusamäe:
> On Sunday 06 November 2005 16:31, Pawel A. Gajda wrote:
> > > Using yum, the "installonlypkgs" variable takes care of all this for me.
> > > With that variable set to "kernel*", I just do a "yum update" (which I
> > > think corresponds to "poldek --upgrade-dist"), and it will automatically
> > > see the new kernels, present them to me with any other packages that
> > > need to be updated, and then install them like all the other packages ...
> > > except that the old kernels don't get removed due to the
> > > "installonlypkgs" variable.
> >
> > I see. There is no such automation in poldek (yet maybe), hold= prevents
> > packages to be upgraded only, held packages are just skipped during
> > --upgrade-dist.
> this installonlypkgs could be very useful in poldek. this way perhaps is able 
> to create packages with same name but different versions, like
> php-4.4.1 and php-5.0.5 installed at same time. or mysql-4.1.15 with 
> mysql-libs-5.0.15

It will not I'm affraid, yum's installonlypkgs is just extended hold= AFAIK,
mean packages are just installed (-i) even if their upgrade (-u, --ugrade-dist) 
is requested. 

Nice feature and I'll maybe implement it, although I prefer to use hold= for such 
critical packages like kernel. 




More information about the poldek mailing list