Bugzilla – Bug 596120
"Your system is up to date" even though "zypper lp" lists a patch
Last modified: 2010-04-19 18:27:20 UTC
(today's RC2.9, WebYaST_on_SLES11_SP1.i686-0.0.3-Build1.29-vmx.tar.bz2) zypper lp lists patch:slessp1-cairo-1863, with cairo 1.8.8-2.2.2 while 1.8.8-2.1.37 is installed, but WebYaST thinks the system is up to date.
I also reproduce this issue. It is regression as it works in previous RC ( I test it in RC1 and it works).
Yes, and I can also reproduce it.
After I have switched off the background mode everything works fine. Lada could you please check ?
In bug 565930 comment 5 schubi says: With RC3 the system reports "your system is ok" although there is a patch for installation. This patch will be shown after I have added the key with zypper again.
To comment #4: that's a different problem, here it works fine when the background mode is not used... I have found the reason (it's quite tricky): in the background mode the patch module starts for querying available patches a helper command like this: script/runner -e production vendor/plugins/software/scripts/list_patches.rb :available (It must be done in a separate process because ruby-dbus is not thread safe.) The problem is that the list_patches.rb receives "-e production :available" arguments, i.e. it gets even the arguments which are for the runner itself. So the script then searches for patch "-e" which is apparently not found and it returns empty patch list as the result. Solution: Adding argument parsing to the helper script is overkill to me, I'll simply remove passing an argument, it will always search for available packages only.
Fixed in webyast-software-ws-0.1.20.