* Jano Kupec <jkupec@suse.cz> [Jul 16. 2008 14:03]:
Hi,
you must have heard or you are one of the people complaining about the unintuitivness of 'zypper up' and 'zypper lu'. It deafults to patches (-t patch) and if you want to update package-wise, you need to add '-t package' to the command.
There is a good reason for the patch as the default: people using the official release repositories and the official update repository need no more than 'zypper up' to keep their systems patched with security and other important fixes.
The concept of treating 'update by patch' and 'update by package' differently is flawed. Starting with openSUSE 11.0, all updates are provided by packages. Patches, being created from the data available in updateinfo.xml, just enrich package updates with additional information like - severity/urgency (i.e. immediate, soon, as-needed, ...) - reason (i.e. security, data-loss, enhancement, ...) - grouping (i.e. show updates to libfoo, libfoo-devel and libfoo-32bit as one) - ordering (i.e. install libzypp updates first) - documentation So the difference between 'by patch' and 'by package' should only be in the user interface but not in the semantics.
1) use different commands for patch updates and package updates e.g.
update (up) - do package-wise update list-updates(lu) - list available package udpates patch-update (pu) - do patch-wise update patch-list (pl) - list needed patches (note that we already have 'patches' command which lists _all_ available patches. We could also add an --needed option to this command to limit the list to needed patches only, instead of creating another command.
package-wise and patch-wise schouldn't be different commands, but a qualifier for the 'list updates' command. Users might have a ~/zypper.conf file setting the default view. Klaus -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org