upgrade failed

I do not know how to fix this problem. Is it because I manually loaded AMD drivers for the RX550 cards.?

dpkg: dependency problems prevent configuration of libdrm-amdgpu-pro-amdgpu1:amd64:
libdrm-amdgpu-pro-amdgpu1:amd64 depends on libdrm2-amdgpu-pro (= 1:2.4.82-510357); however:
Package libdrm2-amdgpu-pro:amd64 is not installed.

dpkg: error processing package libdrm-amdgpu-pro-amdgpu1:amd64 (–configure):
dependency problems - leaving unconfigured
Setting up ids-amdgpu-pro (1.0.0-510357) …
Errors were encountered while processing:
libdrm-amdgpu-pro-amdgpu1:amd64
Get:1 http://download.hiveos.farm/repo/binary InRelease [1,724 B]
Get:2 http://download.hiveos.farm/repo/binary Packages [10.6 kB]
Fetched 12.3 kB in 0s (13.5 kB/s)
Reading package lists…

Reading package lists…
Building dependency tree…
Reading state information…
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
libdrm-amdgpu-pro-amdgpu1 : Depends: libdrm2-amdgpu-pro (= 1:2.4.82-510357) but it is not installable
E: Unmet dependencies. Try using -f.
Upgrade failed

Run this command first so it fixes all the dependencies it needs. After the command is done, just to double check run “apt update” so it updates all repositories, then run “apt upgrade” so it can install all available updates. Then finally once all these are done, run “selfupgrade” and the rig should update itself. Mind you all of these should be done with the miner stopped.