Available Repos
Reposnap maintains weekly snapshots of the following Linux package sets going back as far as February 2019:
- Ubuntu 20.04 LTS “Focal Fossa” (AMD64 packages only)
- Ubuntu 18.04 LTS “Bionic Beaver” (AMD64 packages only)
- Centos 7 (x86_64 packages)
- Centos 8 (x86_64 packages)
- EPEL for Centos 7 and 8
- El Repo for Centos 7 and 8
We also maintain weekly snapshots of Ubuntu 16.04 LTS “Xenial Xerus” (AMD64 packages only) starting from February 2019 through April 2021, when Ubuntu 16.04 LTS reached end-of-life.
Other distributions and package sets will be added based on user demand.
Getting started with Ubuntu
On your target Ubuntu Bionic Beaver server type:
sudo bash -c 'mv /etc/apt/sources.list /etc/apt/sources.list.bak && curl http://mirrors.reposnap.com/sources.list/bionic/weekly.sources.list > /etc/apt/sources.list'
sudo apt-get update
This will set the server to only update packages from this week’s snapshot of the Ubuntu Bionic Beaver repository. See http://mirrors.reposnap.com/sources.list/bionic/ for a list of all available snapshots.
Once you pick a snapshot that you want to use for all of your servers, update your configuration management tool (Chef, Ansible, Puppet, etc.) to use that one specific snapshot, e.g.:
sudo bash -c 'curl http://mirrors.reposnap.com/sources.list/bionic/20190228005259.sources.list > /etc/apt/sources.list'
Once a specific snapshot has been copied to /etc/apt/sources.list only the packages from that snapshot will be installed on that server.
When you get ready to upgrade OS packages, pick a later snapshot, test that on your QA / staging servers, and then roll out the new packages to production servers.
Getting started with Centos
On your target Centos server install yum-config-manager:
sudo yum install -y yum-utils
Disable all existing repos so that updates are only installed from reposnap:
sudo yum-config-manager --disable \*
Install the Reposnap yum repo file:
sudo bash -c 'curl http://mirrors.reposnap.com/yum.repos/centos/7/weekly.centos.repo > /etc/yum.repos.d/reposnap.repo
This will set the server to only update packages from this week’s snapshot of the Centos 7, EPEL, and El Repo repositories. See http://mirrors.reposnap.com/yum.repos/centos/7/ for a list of all available snapshots.
By default, the Centos storage project, EPEL, and El Repo repos are disabled. To enable them run:
sudo yum-config-manager --enable [repo name]
e.g.
sudo yum-config-manager --enable reposnap-epel,reposnap-elrepo-elrepo,reposnap-elrepo-kernel,reposnap-storage-gluster-4.1
When you’re done, update your package database with:
sudo yum clean all
sudo yum update
Once you pick a snapshot that you want to use for all of your servers, update your configuration management tool (Chef, Ansible, Puppet, etc.) to use that one specific snapshot, e.g.:
sudo bash -c 'curl http://mirrors.reposnap.com/yum.repos/centos/7/20190305204216.reposnap.repo > /etc/yum.repos.d/reposnap.repo
Once a specific snapshot has been copied to /etc/yum.repos.d/reposnap.repo only the packages from that snapshot will be installed on that server.
When you get ready to upgrade OS packages, pick a later snapshot, test that on your QA / staging servers, and then roll out the new packages to production servers.