Forgejo

Appearance

Make haypack comfortable for you.

Theme
Font
Contrast
Text size
Layout

Saved in this browser. No cookies.

Terminal recording · Maintenance · 4 min · Beginner

Update a guest and read what changed

Run update, check the result and see in etckeeper exactly what changed in /etc.

Recording follows – the steps below work without it.

1. Update

In the guest, as root:

update

Debian packages, the app (to the version haypack tested), the modules and the configuration – in one run. A second run changes nothing.

2. Check the result

cat /var/lib/iac/update.json     # outcome of the last run
cat /etc/iac/instance.json       # app, version, modules of this guest

3. See what changed

git -C /etc log --oneline -5
git -C /etc show                 # the last change in detail

etckeeper snapshots /etc before and after every run. With the module auto-update this happens every night at 02:00. More: Update.