Files
pkgsync/README.md
Matthew Howle 1b38d87c56 Initial commit
2021-08-07 15:08:05 -04:00

29 lines
460 B
Markdown

# pkgsync
pkgsync synchronizes packages between two servers.
### Usage
On the reference server:
```shell
pkgsync export packages.json
```
On the outdated server:
```shell
# yum
pkgsync import packages.json | xargs yum --assumeyes install
# apt
pkgsync import packages.json | xargs apt -y install
```
### Caveats
- Servers must be the same Linux distribution
- Servers must be the same major release
- Repositories must be the same between servers