Undo pacman operations of the past 12 hours?
Is there a way to undo installs that have been made with pacman in the past 12/24/48 hours, preferably by showing a list of all changes that were made in that time span beforehand?
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- bmicz2
6 comments
See
/var/log/pacman.logThis in addition to
downgradeand a Pacman cache that hasn’t been flushed makes life easier.Why do you want to undo the installs or updates?
To list the last installed packages see: https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#By_date
Probably because the upgrade broke something.
Take a look at the arch Linux archive https://wiki.archlinux.org/index.php/Arch_Linux_Archive that should give you what you want
I have written a small script to downgrade all packages that were updated at a specific date. That might help somebody stumbling upon this problem: https://gist.github.com/TheIdealis/021ad961214b0ab38e707e4bacc146f3