https://bugzilla.novell.com/show_bug.cgi?id=793424 https://bugzilla.novell.com/show_bug.cgi?id=793424#c0 Summary: zypper's output in xml-mode differs semantically from output in text-mode. Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: opensuse@dschung.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.10.289 Version/12.00 Using "zypper --xmlout ..." doesn't return the same information as "zypper ..." does. Reproducible: Always Steps to Reproduce: 1. zypper lu -t package -t patch 2. zypper -x lu -t package -t patch Actual Results: First command: Loading repository data... Reading installed packages... Patches The following software management updates will be installed first: Repository | Name | Version | Category | Status -----------------------------------------+-----------------------------+---------+-------------+------- Updates for SUSE Linux Enterprise 11 SP2 | slessp2-softwaremgmt-201210 | 6967 | recommended | needed The following updates are also available: Repository | Name | Version | Category | Status ---------------------------------------------+---------------------------------------+---------+-------------+------- Updates for SUSE Linux Enterprise 11 SDK SP2 | sdksp2-compat-libldap-2_3-0 | 6868 | recommended | needed Updates for SUSE Linux Enterprise 11 SDK SP2 | sdksp2-git | 7023 | feature | needed Updates for SUSE Linux Enterprise 11 SDK SP2 | sdksp2-kdump-lzo-support | 7006 | feature | needed [...] Second command: <?xml version='1.0'?> <stream> <message type="info">Loading repository data...</message> <message type="info">Reading installed packages...</message> <update-status version="0.6"> <update-list> <update name="slessp2-softwaremgmt-201210" edition="6967" arch="noarch" status="needed" category="recommended" pkgmanager="true" restart="false" interactive="false" kind="patch"> <summary>YOU update for software update stack </summary> [...] </update> </update-list> </update-status> </stream> Expected Results: The xml-output should return all available updates. Another example: "zypper lu -t package" gives you both the current and the available version, while "zypper -x lu -t package" gives you the current version only. E.g. package server:monitoring/nagios-plugins-zypper relies on the xml-output of list-updates and returns "Updates WARNING : 1 recommended update(s); | security=0;;;; recommended=1;;;; optional=0;;;; packages=0;;;;" despite available security updates. But in my opinion, it's an zypper issue, not an issue of that nagios plugin. -- 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.