On Wed, 2011-05-18 at 17:42 -0700, Alan Steinberg wrote:
> I looked at the flagday message for ipmitool. Nothing is mentioned about
> going backwards in the versioning. Could the real issue be that the
> version is going from 1.8.10 to 0.5.11? It sounds like that would break
> installation anyway.
Yes, that does sound unusual to me - I'd like to see an upgrade happen
here. I wonder if the RE who moved the packages tested this scenario?
> >>>> import pkg.fmri
> >>>> f1 =
> >>>> pkg.fmri.PkgFmri('pkg://system/management/[email protected],5.11-0.165:20110510T165929Z')
> >>>> f2 =
> >>>> pkg.fmri.PkgFmri('pkg://system/management/[email protected],5.11-0.166:20110511T055754Z')
> >>>> f1.is_successor(f2)
> > True
> >
> > whereas pkglint's successor check disagrees, and is wrong, I think.
> >
> >>>> engine.lint_fmri_successor(f2, f1)
> > False
and of course I did this the wrong way around, so pkglint isn't wrong -
it, like pkg.fmri, sees that f1 is a successor of f2.
>>> engine.lint_fmri_successor(f1, f2)
True
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss