1DISTROBOX-UPGRADE(1)              User Manual             DISTROBOX-UPGRADE(1)
2
3
4

NAME

6              distrobox-upgrade
7

DESCRIPTION

9       distrobox-upgrade  will enter the specified list of containers and will
10       perform an upgrade using the container’s package manager.
11

SYNOPSIS

13       distrobox upgrade
14
15              --help/-h:      show this message
16              --all/-a:       perform for all distroboxes
17              --running:      perform only on running distroboxes
18              --root/-r:      launch podman/docker/lilipod with root privileges. Note that if you need root this is the preferred
19                          way over "sudo distrobox" (note: if using a program other than 'sudo' for root privileges is necessary,
20                          specify it through the DBX_SUDO_PROGRAM env variable, or 'distrobox_sudo_program' config variable)
21              --verbose/-v:       show more verbosity
22              --version/-V:       show version
23

EXAMPLES

25       Upgrade all distroboxes
26
27              distrobox-upgrade --all
28
29       Upgrade all running distroboxes
30
31              distrobox-upgrade --all --running
32
33       Upgrade a specific distrobox
34
35              distrobox-upgrade alpine-linux
36
37       Upgrade a list of distroboxes
38
39              distrobox-upgrade alpine-linux ubuntu22 my-distrobox123
40
41       Automatically update all distro
42
43       You can create a systemd service to perform distrobox-upgrade automati‐
44       cally, this example shows how to run it daily:
45
46       ~/.config/systemd/user/distrobox-upgrade.service
47
48              [Unit]
49              Description=distrobox-upgrade Automatic Update
50
51              [Service]
52              Type=simple
53              ExecStart=distrobox-upgrade --all
54              StandardOutput=null
55
56       ~/.config/systemd/user/distrobox-upgrade.timer
57
58              [Unit]
59              Description=distrobox-upgrade Automatic Update Trigger
60
61              [Timer]
62              OnBootSec=1h
63              OnUnitInactiveSec=1d
64
65              [Install]
66              WantedBy=timers.target
67
68       Then simply do a systemctl --user daemon-reload && systemctl --user en‐
69       able --now distrobox-upgrade.timer
70
71
72
73Distrobox                          Nov 2023               DISTROBOX-UPGRADE(1)
Impressum