istro

Run

Packages

Update, install and undo packages from every package manager in one place.

The Packages page shows every package manager on the machine, such as apt, flatpak, snap, pip and npm. You see what is installed and what has an update.

#Check and Update

Check for Updates refreshes the package lists and changes nothing. Update upgrades one manager or all of them in parallel.

bistro pkg                         # each manager: installed, updates
bistro pkg refresh all
bistro pkg outdated apt            # name, current, new
bistro pkg update apt
bistro update                      # refresh and update everything

If a reboot is needed, Bistro says so.

bistro pkg list apt
bistro pkg search flatpak firefox  # apt, flatpak and snap
bistro pkg install apt htop
bistro pkg remove apt htop

#Clean Caches

Clean Caches removes caches and dangling images. It never touches containers or volumes. Unused dependencies go only when you name apt.

bistro pkg clean apt
bistro clean                       # junk files and old logs

#History and Rollback

The history lists what was installed, upgraded or removed, when and by whom. Pick 7, 30 or 90 days. Bistro reads apt, flatpak and snap. pip and npm keep no history.

bistro history 30
bistro history --pkg nginx
bistro pkghist show nginx          # every version it went through
bistro pkghist rollback nginx --yes

Rollback works for apt packages. It needs the old version in the apt cache or in a source.

#What Changed

This compares the machine now with a day ago. It covers packages, enabled services, files in /etc and open ports.

bistro changes                     # since yesterday
bistro changes 7                   # since 7 days ago
bistro changes drift               # managed files edited by hand

A file edited by hand shows as drift. Leave it, or put it back with bistro settings apply.

#Undo What the Assistant Did

Bistro logs the changes made by the assistant. It can undo settings, app start and stop, service actions and new schedules. Other actions show in the list but cannot be undone. See Ask Bistro.

bistro undo                        # list actions, newest first
bistro undo 12                     # undo action 12

Bistro refuses when the setting changed again since. Undo the newer action first.

#Update Bistro Itself

Bistro updates itself every night. It checks a signed release note and the file's checksum. It runs a health check after the install. If the check fails, it goes back to the old version. Apps keep running.

bistro selfupdate                  # version, channel, last result
bistro selfupdate check
bistro selfupdate now
bistro selfupdate auto off
bistro selfupdate rollback
bistro selfupdate history

#Next Debian Release

bistro upgrade check               # blockers, free space, other sources
bistro upgrade run                 # snapshot, switch sources, full upgrade

#Image Cache

A pull-through cache makes servers pull each container image once. Turn on the mirror after you install the Docker Hub cache app.

bistro registry                    # status
bistro registry on
bistro registry off

#Weekly Review

The review lists what happened, what Bistro fixed by itself and what is left for you. See Inbox.

bistro review --days 7