# Fix Error fwupd-refresh

## Introduction

After installing monitoring (check\_mk) I realized that the servis fwupd-refresh produces a critical error. However, this is based on a configuration mishap in the service itself. Here is the fix.

The service is able to perform a firmware update on UEFI machines. The service is totally useless on VMs.

## Correction Step-by-Step

Edit file /lib/systemd/system/fwupd-refresh.service

Replace SuccessExitStatus=2 with SuccessExitStatus=1

Restart the service:

```
systemctl daemon-reload && sudo systemctl start fwupd-refresh.service
```

Check the service

```
systemctl status fwupd-refresh.service
```

## Disable the service

Another possibility is to disable the service:

```bash
systemctl disable fwupd
```

## Useful links

<span class="wikiexternallink">[https://askubuntu.com/questions/1404691/fwupd-refresh-service-failed](https://askubuntu.com/questions/1404691/fwupd-refresh-service-failed)</span>

<span class="wikiexternallink">[https://askubuntu.com/questions/1227508/consequences-of-disabling-fwupd](https://askubuntu.com/questions/1227508/consequences-of-disabling-fwupd)</span>