2008/7/16 Jano Kupec
Christian Morales Vega wrote:
2008/7/16 Jano Kupec
: 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.
#1 is my favorite :O) Any other suggestions? Votes?
I would argue the "lu" option isn't needed at all. I do "zypper -v up -t package" to update my system, first the updates are listed... if I don't want to update them just answer "no" to the "continue?" question.
Having a way to just list the available updates makes sense, e.g. for front-ends or scripts. But it is an interesting idea to drop 'lu' and add something like '--list' to 'up' to just print the list and quit. I see only one disadvantage: if we would want to extend the capabilities of the listing (e.g. --columns 'foo,bar'), we would end up mixing the listing option with update options. Which should not be that much of a problem after all...
I don't have a strong opinion against any of the two options. I can say the first time I saw zypper -h output I was *very* confused... "update", "dist-upgrade", "patch-check", "list-updates", "patches"... everything looked like the same, and the "mini descriptions" from the side didn't help too much. So I suppose having a lot of commands is more confusing at first, but perhaps easier once you understand them.
But if it's going to be mantained I like #1, but I would say 'up' should also receive an option to behave like 'lu'. A command to list updates that... you can't have doesn't makes sense. If you can show a _raw_ list you should also be able to use that list for update.
Of course. But it does not make much sense, because you won't be able to actually install them (you will get dependency problem prompts), except the vednor-changing upgrades of course.
Uhm, true... I just though about 'lu' like "the same than 'up' but without repo priorities". But since there are some updates than can't be installed things are more complex. Between, even if 'lu' and 'up' end behaving the same way, YaST and KDE updater applet would still behave different because of bug #402770. If you only use zypper it isn't a problem, but if you mix them... -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org