Rolling Back Individual Components? #2403
-
|
I just had the Cosmic Store apply a bunch of updates to cosmic elements, and suddenly my system is less stable and has a lot of issues. How can I roll back individual components to try and restore functionality/stability? For example some components (e.g. cosmic-settings, cosmic-comp, etc.) I see that I am running a commit that is just a couple days old. If I suspect these might be the source of the issue, I would like to roll it back to a prior, verified commit. Anyone know how to do this? Thanks!! Scott |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If you still have older package versions in |
Beta Was this translation helpful? Give feedback.
If you still have older package versions in
/var/cache/apt/archives/, you could runsudo apt install package-name=version.number~hereto downgrade them. Otherwise, you'd need to clone the git repo for the individual component, check out the commit you want to downgrade to, and build (withsudo apt build-dep component-namefollowed bydpkg-buildpackage -b -uc -us), then install the resulting.debpackage(s).