Gitlab Cant update

Im curnectly trying to update my self hosted gitlab but when i run:
sudo apt update && sudo apt install gitlab-ee

i get:
dpkg: error processing archive /var/cache/apt/archives/gitlab-ee_15.5.0-ee.0_arm64.deb (–unpack):
new gitlab-ee package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/gitlab-ee_15.5.0-ee.0_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What should i do?

apt update was failing which caused an issue