Cheers!
I just updated TW by zypper dup.
Got a big load of packages…
I would like to do an upgrade again with
Zypper dup - no–recommends
Now I have to get rid of all the updates.
Of course I could just get a snapshot and everything would be fine.
But for educational reasons I would like to de-install the updates manually.
Could some one give me a little help with this, respectively give me the command to Uninstall updates?
My concerns:
if I just deinstall a packages that was downloaded during the update. Will it be replaced automatically with the origin?.. Or more likely leaving a gap an thus leading maybe to an error?
No, because those original packages are no longer in the repo. You would have to go back to the history repos to find them.
… Or more likely leaving a gap an thus leading maybe to an error?
Yes, that’s what would happen.
You can probably identify the package using “/var/log/zypp/history”. And then use Yast Sofware Management. Go to the “package classification” view. And look for unnneeded packages. If you find any of the recently installed packages among the unneeded, those are probably the ones that would have been excluded with “–no-recommends”.
Thanks for the fast reply…
I see… It seems to be a time intense, if not impossible, task.
Isn’t there another way?
I mean, how does other distros with a rolling release deal with that problem. I am sure not every one has that little time-wayback machine like snapper.
The way you described is very very very labor-intensive.
My question is not doubting about your answer! Don’t get me wrong.
I am just curious.