# Trellis Provision: Failed to update apt cache: unknown reason

**URL:** https://discourse.roots.io/t/trellis-provision-failed-to-update-apt-cache-unknown-reason/24758
**Category:** trellis
**Tags:** sage10, trellis
**Created:** 2023-02-08T11:29:07Z
**Posts:** 15
**Showing post:** 9 of 15

## Post 9 by @Twansparant — 2024-07-08T14:47:04Z

For me [this comment](https://forum.hestiacp.com/t/fix-nginx-expired-key-expkeysig-abf5bd827bd9bf62/14754/12) fixed it:

SSH into the remote server and run:

```
sudo apt-key del 7BD9BF62
sudo apt-key del B49F6B46
sudo apt-key del 8D88A2B3
sudo apt-key adv --fetch-keys https://nginx.org/keys/nginx_signing.key
```

---

_[View the full topic](https://discourse.roots.io/t/trellis-provision-failed-to-update-apt-cache-unknown-reason/24758)._
