Author: Keyitdev
Source: Keyitdev/notes
Last edited on: 11 Apr 2024
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.old
Edit mirrorlist (see available archives)
echo 'Server=https://archive.archlinux.org/repos/2024/04/11/$repo/os/$arch' | sudo tee /etc/pacman.d/mirrorlist
Double y
refreshes your package database, double u
allows pacman to downgrade packages.
sudo pacman -Syyuu
You may encounter issues if you are rolling back any packages to versions which are signed using a signature that has since been removed from the pacman-key gpg database.
To get around this, you can remove affected packages.
sudo pacman -R package-name
Or set SigLevel
to TrustAll
in /etc/pacman.conf
.
[custom]
SigLevel = TrustAll
Warning: The SigLevel = TrustAll
option exists for debugging purposes and makes it very easy to trust keys that have not been verified. Package and database signature checking.
Change it back when you are done.
https://wiki.archlinux.org/title/Arch_Linux_Archive
https://www.rdeeson.com/weblog/176/how-to-rollback-a-system-update-on-arch-linux