Mailinglist Archive: opensuse-softwaremgmt (29 mails)

[softwaremgmt] 'zypper lu -t package' vs. 'zypper up -t package'

here's another isssue with doing update with zypper. The difference between 'lu'
and 'up' for package updates (for discussion of 'up/lu' vs. 'up/lu -t package',
see this thread: [1]).

Currently 'zypper lu -t package' list all packages for which a newer version
exists in the repositories. But 'zypper up -t package' select for
installation/upgrade only a subset from this list - packages that are actually
installable/upgradable given the current set of packages and their dependencies
and the set of available updates. See also [2].

The difference between these two is not that big if you deal with one vendor
only (e.g. you only have openSUSE Factory repo). But if another vendors come
into play, there is a problem: 'zypper up -t package' does not upgrade packages
which would involve vendor changes [3].

Suggestions:

1) Make 'lu' list what 'up' would show as 'to be upgraded' in the summary
+ provide an option for 'lu' to show the _raw_ list of available updates as
it does currently.
2) Tell why there is a difference (and what is the difference) between 'lu' and
'up' and suggest what to do.