I am not sure where I saw it documented. I know I found out about it sometime somewhere and I have my aliases there already for a long time and to me it seems to be a good way to have them together in a separate and easy to memorize place. Of course your way works also. Maybe personal preference.
But you are right, this is not a very convincing way to present this as “best practice”.
Take another look at Gene’s suggestion. There’s commands followed by which packages were installed/removed. It won’t tell in particular which package brought a new dependency, zypper nor YaST don’t show this either.
You’re probably talking about Leap. In TW an updated package can add a conflict to an existing package, so it will be removed. And require new dependencies, so they are installed.
I see (I considered that that could be the case in Leap also, but reckoned it as remote). But even then I doubt you can see from those uninstalls and installs that they were due to the update of a particular package (except of course when you only update one package at a time).
But I better leave the thread considering that I am not using TW, that I assume that TW (almost) never does update, but always upgrade. And that I do not really understand the goal of the OP. I just did not understand his statement and in fact asked for clarification.
exactly this answer was what I was looking for.
but in my case even the uninstalled packages via zypper are shown in YAST…
I uninstalled bbswitch yesterday. It shows up there…
maybe I misunderstood the bold written sentence,
what do you mean :)?
And as the zypper command and YaST > Software > <several menu items>, are both user interfaces to the libzypp library, you can mix working with zypper and YaST > Software and the zypper database and logs will have all actions regardless of what interface you used.
I’ve been using [SuSE] openSuSE since 200? on all my primary systems and have never had a dot alias file that I can recall and is not on my current 15.4 installations, for either norm users or root. : (
@Gene_S, your ‘zypp-hist’ alias is Very nice. Thanks.