Hi. bnc#737843 requires zypper not to install optional patches per default in 'zypper patch'. Issues I see when fixing this: 1) 'zypper lp' should IMO remain unchanged and continue to display all, including optional, patches. 2) It should have some impact on 'zypper pchk', which returns the exit codes 0, 100 (ZYPPER_EXIT_INF_UPDATE_NEEDED) or 101 (ZYPPER_EXIT_INF_SEC_UPDATE_NEEDED), if no updates, updates or even security updates are pending. If 'zypper patch' will omit optional patches, 'zypper pchk' should do the same. But if optional patches do not count to ZYPPER_EXIT_INF_UPDATE_NEEDED, zypper would return 0 if only optional patches are pending. But 0 should IMO be 'no patches at all'. Thus I'd like to introduce a new return value: ZYPPER_EXIT_INF_OPTIONAL_UPDATES_ONLY 3) To install all optional patches you can use 'zypper patch -g optional'. But there seems to be no way to install 'all', including optional, patches in one go. You can not pass multiple '-g <category>' options (1st wins), nor some <categorylist> like '-g optional,recommended', nor '-g all'. I think at least '-g all' should be implemented. Does anybody see more trouble ahead? -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org