# auto_update: Improve Linux rsync hinting \(\#50637\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e0acae253fb40959f19b6dceea49842c62e8a855)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e0acae253fb40959f19b6dceea49842c62e8a855

Requested commit: e0acae253fb40959f19b6dceea49842c62e8a855

Commit: e0acae253fb40959f19b6dceea49842c62e8a855

Tree: e0bcf588ff948590855510656efbb7b8680e8f9f

Author: Nihal Kumar

Committer: GitHub

## Message

```
auto_update: Improve Linux rsync hinting (#50637)

Previously, automatic checks could fail quietly and return to idle. This
change ensures missing dependency errors are surfaced in the update UI
with install guidance.

What Changed:

- Added a dedicated `MissingDependencyError` for dependency-related
update failures.
- Updated auto-update polling behavior so:
  - automatic checks still stay quiet for transient/general errors,
- but missing dependency errors are surfaced as
`AutoUpdateStatus::Errored`.
- Improved Linux dependency hinting:
  - distro checks with `/etc/os-release`,
- returns distro-appropriate install hints where possible and falls back
to a generic package-manager message when distro parsing is
unavailable/unknown.

<img width="610" height="145" alt="image"
src="https://github.com/user-attachments/assets/8bef3970-38ba-4412-9ece-7b6bb6bf903b"
/>


Closes #47552

- [x] Done a self-review taking into account security and performance
aspects


Release Notes:

- Improved Linux auto-update failure issue caused by missing `rsync` by
surfacing actionable install guidance in the update UI.
```

## Parents

- [56daf917dba26a24f26a64fbf3741222ae4edccb](https://git.cafe/gitcafe/zed/commit/56daf917dba26a24f26a64fbf3741222ae4edccb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e0acae253fb40959f19b6dceea49842c62e8a855?format=markdown)
