# urbestack-software-update

First published 5 Dec 2026 (release 0.2.39) · Unchanged since publication

UrbeStack release 0.2.39 command, run as root in the server shell.

## Usage

```
urbestack-software-update [--name NAME ...] [--unattended]
```

## Description

The command uses the server's existing repositories to update the pieces of software UrbeStack installs on this server. Without --name, it updates all of them. Use --name once for each piece of software you want to update. The command handles one piece of software at a time.

For each piece of software, the command asks the package manager which newer versions the repositories offer. It fetches the package files, installs them with the package manager, restarts the services that were running on that piece of software, and checks that each service answers. Before installing any updates, it waits for running jobs to finish. It keeps the fetched package files and the files of the versions they replace under UrbeStack's data directory.

The command never updates a piece of software with a held package and never moves a piece of software to another major version. With --dry-run, it stops after reporting what it would update.

If a service does not come back after an update, the command stops, leaves the remaining pieces of software alone, and exits with an error. UrbeStack never rolls back packages. To restore the previous version from the saved package files, run the system commands in the answer's way_back field. The nightly run uses --unattended. With --unattended, if a service did not come back after an update on this server, UrbeStack will skip that version until the repositories offer a newer one.

## Command family: software

- [urbestack-software-dismiss](https://urbestack.com/docs/commands/urbestack-software-dismiss.md): The command clears the red notice for the piece of software named with --name after its service did not come back following an update.
- [urbestack-software-keep](https://urbestack.com/docs/commands/urbestack-software-keep.md): For each piece of software UrbeStack installs on this server, the command fetches the package files for the currently installed versions from the server's repositories and keeps them under UrbeStack's data directory.
- [urbestack-software-list](https://urbestack.com/docs/commands/urbestack-software-list.md): The command lists the pieces of software UrbeStack installs and keeps updated on this server, such as httpd, php84, and mariadb.
- [urbestack-software-set](https://urbestack.com/docs/commands/urbestack-software-set.md): The command sets whether the piece of software named with --name is selected for the nightly run.
- [urbestack-software-update-now](https://urbestack.com/docs/commands/urbestack-software-update-now.md): The command records a request for the updater and starts urbestack-update.service, which updates the pieces of software named with --name.
- [urbestack-software-update-run](https://urbestack.com/docs/commands/urbestack-software-update-run.md): urbestack-update.service runs this command every hour after checking for UrbeStack and plugin updates.
