Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to update packages on dev-desktops #120

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions service-catalog/dev-desktops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ User-facing documentation can be found in the [Forge].
## How-to Guides

- [How to increase the disk size](./how-to-increase-disk-size.md)
- [How to update system](./how-to-update-system.md)

[cloud compute program]: https://foundation.rust-lang.org/news/2021-11-16-news-announcing-cloud-compute-initiative/
[forge]: https://forge.rust-lang.org/infra/docs/dev-desktop.html
Expand Down
31 changes: 31 additions & 0 deletions service-catalog/dev-desktops/how-to-update-system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# How to Update System

Periodically, it is necessary to update the packages on the dev desktops as well
as the operating system itself.

## Update Packages

Updating the packages is a straightforward process. Simply run the following
commands to first update the package index and then upgrade the packages:

```shell
sudo apt update
sudo apt upgrade
```

We have overwritten the `motd` configuration, which might cause a prompt. Answer
the prompt with `N` (the default) to keep our configuration.

After the packages have been updated, it is a good idea to reboot the machine to
ensure that all services are running with the latest versions:

```shell
sudo reboot now
```

Optionally, you can also run the following command to remove any packages that
are no longer needed:

```shell
sudo apt autoremove
```