On Thu, Jun 10, 2021 at 6:29 PM Michael Andres <[email protected]> wrote: > > > Hi. > > (Available since libzypp-17.27.0) > > The introduction of PTFs brings a few changes which may affect the YAST > package > selector: > > A while ago we introduced retracted patches/packages. In some respects PTFs > and > retracted packages behave similar: Independently of their version they will > never be considered as a candidate by the resolver unless one explicitly > selects them. This is why we sort retracted packages always to the end of the > list of available version of a package (in zypp:ui:Selectable). > > And we will now do the same with PTFs. > > > While it's disfavored to select and install retracted packages, selecting a > PTF, > and deselecting it once the official patches contain the fix, will be common. > Nevertheless they are no candidate in the 'normal' package selection, but must > be selected explicitely. > > Due to this we introduced the term of 'blacklisted' packages. > > Blacklisted = Retracted || Ptf > > > Blacklisted packages are those which are sorted to the end of the lists and > are > otherwise ignored by the resolver. You need to explicitly select them if you > want them. > > According to the already available isRetracted() methods in sat::Solvable, > PoolItem, ResObjects and hasRetracted(), hasRetractedInstalled() methods in > ui::Selectable, we now introduced isBlacklisted(), hasBlacklisted(), > hasBlacklistedInstalled() methods which cover any type of blacklisted items. > And of course the corresponding *Ptf() methods, so you can tell why some item > is blacklisted. >
What is "Project Lotus"? -- 真実はいつも一つ!/ Always, there's only one truth!
