Bug 5403 - Package installer for zypper is incompatible with SLE12
Summary: Package installer for zypper is incompatible with SLE12
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Target Milestone: 4.4.0
Assignee: Karl Mikaelsson
Keywords: prosaic, samuel_tester
Depends on:
Blocks: 5405 5437
  Show dependency treegraph
Reported: 2015-01-26 10:55 CET by Henrik Andersson
Modified: 2015-05-11 10:17 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Description Henrik Andersson cendio 2015-01-26 10:55:24 CET
Here is the output the command on SLE12

# zypper --xml what-provides python-ldap
<?xml version='1.0'?>
<message type="info">Command &apos;what-provides&apos; is replaced by &apos;search --provides --match-exact&apos;.</message>
<message type="info">See &apos;help search&apos; for all available options.</message>
<message type="info">Loading repository data...</message>
<message type="info">Reading installed packages...</message>

<search-result version="0.0">
<solvable status="not-installed" name="python-ldap" summary="Python LDAP interface" kind="package"/>

Looking at code its seems that <SLE12 reports a plain text table which is parsed instead of <search-result> tag as above.
Comment 1 Karl Mikaelsson cendio 2015-02-20 14:53:40 CET
So far...

 - r30011: Support for the new XML format 
 - r30012: Update autotests with the new XML format
 - r30013: Don't try to symlink /opt/thinlinc/libexec/openssl when starting tests (we haven't shipped openssl in forever)
Comment 2 Karl Mikaelsson cendio 2015-02-20 17:38:10 CET
 - r30014: match all packages, not just not-installed ones
 - r30019: take special care with "application" packages
 - r30020: corner case: after calling resolve() we can be left with an empty transaction - make sure to differentiate between an empty list (no-op) and None (hasn't been run yet)
 - r30021: misc updates to the main() function

That should be all.
Comment 3 Samuel Mannehed cendio 2015-05-11 10:17:32 CEST
Looks good.

tl-setup works well on SLES 12 where the new XML format is used.
tl-setup works well on SLED 11 with sp3 where the plain text table is used.

Note You need to log in before you can comment on or make changes to this bug.