[Bug 793424] New: zypper's output in xml-mode differs semantically from output in text-mode.
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.
https://bugzilla.novell.com/show_bug.cgi?id=793424 https://bugzilla.novell.com/show_bug.cgi?id=793424#c1 --- Comment #1 from Michael Andres <ma@suse.com> 2012-12-10 11:18:36 CET --- The problem is that only patch slessp2-softwaremgmt-201210 is installable. As it is has the 'pkgmanager="true"' flag set, this update needs to be installed before subsequent updates become available. We could, like in text mode, put the blocked updates into a second list. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:1603:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1603:moderate | |ibs:running:1604:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1603:moderate |ibs:running:1604:moderate |ibs:running:1604:moderate | |obs:running:4361:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1603:moderate |ibs:running:1604:moderate |ibs:running:1604:moderate |obs:running:4361:moderate |obs:running:4361:moderate | |ibs:running:1648:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1603:moderate |ibs:running:1604:moderate |ibs:running:1604:moderate |obs:running:4361:moderate |ibs:running:1648:moderate |ibs:running:1648:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 http://bugzilla.novell.com/show_bug.cgi?id=793424#c8 --- Comment #8 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2015:2395-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 793424,893833,955615 CVE References: Sources used: openSUSE 13.2 (src): zypper-1.11.44-31.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1603:moderate |ibs:running:1604:moderate |ibs:running:1604:moderate |ibs:running:1648:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 http://bugzilla.novell.com/show_bug.cgi?id=793424#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2016:0288-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 793424,893833 CVE References: Sources used: SUSE Linux Enterprise Server for VMWare 11-SP3 (src): zypper-1.6.327-9.9 SUSE Linux Enterprise Server 11-SP4 (src): zypper-1.6.327-9.9 SUSE Linux Enterprise Server 11-SP3 (src): zypper-1.6.327-9.9 SUSE Linux Enterprise Desktop 11-SP4 (src): zypper-1.6.327-9.9 SUSE Linux Enterprise Desktop 11-SP3 (src): zypper-1.6.327-9.9 SUSE Linux Enterprise Debuginfo 11-SP3 (src): zypper-1.6.327-9.9 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1603:moderate |ibs:running:1604:moderate |ibs:running:1604:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1604:moderate |ibs:running:1604:moderate | |obs:running:4688:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 http://bugzilla.novell.com/show_bug.cgi?id=793424#c10 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2016:0468-1: An update that has 21 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 606220,637791,710541,793424,948566,949196,949945,951707,953214,953458,955053,955615,956443,956480,957606,957862,959564,959804,961719,961738,964150 CVE References: Sources used: SUSE Linux Enterprise Software Development Kit 12-SP1 (src): libsolv-0.6.18-2.18.1, libzypp-15.21.1-7.1 SUSE Linux Enterprise Server 12-SP1 (src): libsolv-0.6.18-2.18.1, libzypp-15.21.1-7.1, zypper-1.12.31-7.1 SUSE Linux Enterprise Desktop 12-SP1 (src): libsolv-0.6.18-2.18.1, libzypp-15.21.1-7.1, zypper-1.12.31-7.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:1604:moderate |obs:running:4688:moderate |obs:running:4688:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 http://bugzilla.novell.com/show_bug.cgi?id=793424#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2016:0516-1: An update that has 9 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 793424,893833,948566,953458,955615,956480,959564,961719,965027 CVE References: Sources used: SUSE Linux Enterprise Server 12 (src): zypper-1.11.50-2.30.1 SUSE Linux Enterprise Desktop 12 (src): zypper-1.11.50-2.30.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:4688:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=793424 http://bugzilla.novell.com/show_bug.cgi?id=793424#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2016:0535-1: An update that has 21 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 606220,637791,710541,793424,948566,949196,949945,951707,953214,953458,955053,955615,956443,956480,957606,957862,959564,959804,961719,961738,964150 CVE References: Sources used: openSUSE Leap 42.1 (src): libsolv-0.6.18-3.1, libzypp-15.21.1-3.2, zypper-1.12.31-3.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com