Upgrade gitlab from 17.8.2 to 17.8.5 failed with package not found

I have a self-hosted Gitlab 17.8.2 running, I want to upgrade it to 17.8.5.

When I run apt-get install gitlab-17.8.5-ee.0, I got package is not found error message.

Can I use gitlab-17.8.5-ce.0 to update? or any approach to resolve this issue?

Thank you for your assistance.

Which platform/distribution?

Maybe the package cache is not up-to-date, suggest running apt update prior to apt install gitlab-17.8.5-ee.0 and share the full shell output.

It is recommended to remain on EE, and not mix packages leading to unexpected effects (CE lacking features for example).

Thank you.

My platform is Ubuntu 22.04, I had tried to run apt-get update to update package repository source, but I got signature is invalid error, and I still can’t resolve it, those tries is made at last night.

However, I run it again this morning, package repository issue has been solved, I can’t sure what happened…

Whatever, this issue is solved, thanks for your help.

Please share the complete interaction (i.e. command and output) with apt, so we can see what it actually tries.

  1. “sudo apt-get update” to update repository sources.
    When I execute it last night, it returns “Signature invalid” error message on Gitlab release repository.
  2. “sudo apt-get install gitlab-17.8.5-ee.0” returns “package is not found” error message at last night.

This issue had been resolved without any action at this morning.

Note: I had tried to resolve it last night with article: Gitlab Upgrade An error occurred during the signature verification - #2 by iwalker.

That was the complete commands, I said “complete interaction”, i.e. we also need the complete output, the actual cause might be in the parts you found unimportant.

Sorry, I can’t reproduce this issue now, so I can’t provide more information.