https://bugzilla.novell.com/show_bug.cgi?id=391414
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=391414#c14
--- Comment #14 from Ján Kupec
Regarding #6: "satisfied" means that all required packages are installed.
isSatisfied == installed is good enough for zypper.
OK. Yes, but there is this this special case of patterns which have only recommends...
But as with packages, there should be a way to "reinstall" a pattern. You reinstall a package if you
Sure, but that's another story worth a separate bug report. Currently zypper uses this to do the reinstall: if (installed && force) { s.setStatus(ui::S_Install); DBG << s << " install: forcing reinstall" << endl; } Which only will 'reinstall' the pattern (meaning nothing), but will not force reinstall of the packages. I'd say we require an API in libzypp which would take care of this for all kinds of solvables.
deleted some files by accident. The semantics for pattern reinstall is that the solver tries to fulfill as many recommends as possible.
Is it? My guess would be a forced reinstall of all underlying requirements (and recommends unless --no-recommends is used). Something similar like with packages cannot happen with patterns - if you remove a required package, the pattern will be reported as 'not installed' (not satisfied). So you can just install it again to fill in the requirements (and recommends). What you describe is a possiblity to add recommended packages to an already satisfied pattern. That's IMO something different than what would people name 'reinstalling of a pattern' I think we should discuss this on software-mgmt ML. Shell i start a thread? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.