ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my /home i have /home/alex ( where i keep everything allowing me to tinker with the Distro I want without having to keep backup everything ) and /home/repo ( where i keep a snapshot of [extra], [core], [community] and [custom] ( where i drop stuff that i build from Aur and other sources )
Immagine that my last pacman -Syu ( defining exterior repos to sync in pacman.conf ) b0|2|<3d my wine install... ( some W$ apps stopped working because of a wine regression ) as well as some applications compiled from source.
Is it possible to rollback my last upgrade to the snapshot that I have...?
Assuming that you have good backups in /home/repo, my suggestion is to copy/backup your current /home directory to another drive (preferably an external one).
Now you can restore your /boot and / directories to their previous state. If you accidentally destroy your /home directory, just restore the /home directory from the external drive to your home drive.
(I always backup my partitions to an external drive. I've had hard disk crashes and external backups saved my butt.)
George
---
There are 10 kinds of people in the world.
Those who understand binary
and those who don't.
1. Read the pacman log and note down what updates done to the point where you want to go back.
2. If you did not purge the pacman cache with -Scc, check the previous packages in /var/cache/pacman/pkg directory and down grade the packages accordingly with -U switch (pacaman -U <pkg you want to downgrade with previous version> (if needed uninstall the latest packages)
3. If you don't find the particular package on your cache check out for Arch Rolling Machine, google is your friend.
4. For more such information search Arch forum
Assuming that you have good backups in /home/repo, my suggestion is to copy/backup your current /home directory to another drive (preferably an external one).
Now you can restore your /boot and / directories to their previous state. If you accidentally destroy your /home directory, just restore the /home directory from the external drive to your home drive.
(I always backup my partitions to an external drive. I've had hard disk crashes and external backups saved my butt.)
Hi @codecutr,
Would not be necessary to do so... my /home, where my snapshot lives, in ,/repo, and my stuff lives, in ./alex, is independent from /boot and from /...
it is mounted in /dev/sda3... so I can just blast away /boot -> /dev/sda1, / -> /dev/sda2, reinstall arch without harming anything... anyway, i have dvds ( 6 at all ) with the snapshot in repo... but this ( reinstalling ) was precisely what i was trying to avoid...
To downgrade packages, you'll need to Arch Rollback Machine (if you don't have them stored in /var/cache/pacman/pkg...). I think the ARM is referenced from the "Downgrading" page on the Arch Wiki
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.