New
#1
Roll back to or update systm to specific date - Arch Linux VM's
Hi there
I know a load here also experiment with Linux VM's
Arch Linux makes it really simple and automatic via the pacman package manager- if updating your system has broken it or if you only want to update the system to a specific date since something has broken it then it's a really simple thing to do (saves re-installing the whole kybosh over and over again).
First edit the file mirrorlist in /etc/pacman.d so only this entry remains uncommented (or create this entry and comment everything else by a # in col 1). Should also work on Manjaro and other Arch derivatives that use pacman package manager.
e.g I want to use 14 Jan as kernel 5.10.7 is the latest one where I don't have any Sound problems running say Windows VM's (you can run 2nd level VM's) either on Arch Linux as a host or as a 1st level VM.
##
## Arch Linux repository mirrorlist
## Generated on 2021-02-06
##
### Arch Linux repository mirrorlist
### Created to downgrade to Nov 10th 2020 or whenever get the relevant date from the archive
Server=https://archive.archlinux.org/repos/2021/01/14/$repo/os/$arch
So to DOWNGRADE simpy as root or sudo type pacman -Syyuu
or to UPGRADE to that date and no later if your system was last updated BEFORE that date type pacman -Syu
Then reboot. The package manager handles all the dependencies etc quite automatically -- simple process.
When you finally want to resume normal upgrading comment out the archive server and uncomment your appropriate mirror(s).
Stuff you install manually though has to be dealt with manually - with pacman there's almost no need ever to install anything manually - it's the easiest package manager ever IMO.
(C'mon windows how about something like that too - I know there's history etc but it's more complex and doesn't always work).
Cheers
jimbo