Can't upgrade from 15.2.2 -> 15.3.1 via Ubuntu Omnibus package

We recently upgraded our Ubuntu Server instance running the GitLab Omnibus package to 22.04.1 LTS. We’re currently running GitLab 15.2.2.

Ubuntu for some reason can’t see the new 15.3.x (15.3.1 as of this post) release, saying the current version is the latest. I deleted and regenerated the gitlab_gitlab-ce.list file, but still not working.

If I try to manually force the installation, this occurs:

ubuntu@ip-172-30-0-121:~$ sudo apt install gitlab-ce=15.3.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gitlab-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
**E:** Version '15.3.1' for 'gitlab-ce' was not found

Any idea what the issue could be?

So far only Ubuntu 20.04 and below is supported, there isn’t a release yet for Ubuntu 22.04. You should be able to use the 20.04 (focal) repository though. But that will require editing /etc/apt/sources.list.d/gitlab_gitlab-ce.list appropriately and replacing any distro references with focal.

Related topic with linked issues: Ubuntu 22.04LTS: Unable to upgrade: gitlab-ce is already the newest version (13.12.15-ce.0) - #3 by dnsmichi

1 Like