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

Re: RPM's that fail in %post...



> 
> On Wed, Jan 15, 2003 at 03:30:27PM -0500, James Olin Oden wrote:
> > > 
> > In this upgrade we would prefer to check for the existence of these partial 
> > packages, and abort the upgrade if they exist.
> > 
> > On Solaris one can type:
> > 
> > 	pkginfo -p
> > 
> > and it will list such partially installed packages.  I believe the same
> > thing could be done with RPM fairly easily, but maybe not.  Essentially,
> > all one would need to do is have some sort of a boolean in the information
> > for an RPM that denoted whethor it was a partial package or not, and then
> > extend the rpm query commandline to request the partial packages.
> > 
> 
> Nah, booleans rot too.
>
So, say I was to try to patch RPM 4.04 to have some method of reliably reporting
partially installed packages on the system.  What would be an algorithm that
you would find acceptable?

Thanks...james 





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