On Tue, Jun 11, Olaf Hering wrote:
On Tue, Jun 11, Richard W.M. Jones wrote:
> But supermin is supposed to ignore packages that don't exist in the
> distro. This is a bug in supermin or the zypp plugin for supermin.
Related to this, zypper --xml gives the chance to parse the output. But
doing it all in the shell is cumbersome. Right now there is no output if
something fails.
Whats the best way to do "xml sel -t -m
'stream/install-summary/to-install/solvable[@type='\''package'\'']'
-c
'string(@name)' -n" in ocaml itself? So zypper can write to a tmpfile
and the .ml file can parse the xml output and process it as needed.
There is no obvious way to extract the "pkg not found" other than:
<message type="error">No provider of 'gdisk'
found.</message>
Olaf