Unable to update gitlab-ee from 14.8.2

Hi,

I am trying to update my gitlab ee version but I am stuck on 14.8.2

Running apt-get update and then apt-get install gitlab-ee I have

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gitlab-ee is already the newest version (14.8.2-ee.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Then trying to force any version, for example apt-get install gitlab-ee=14.9.x-ee.0

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gitlab-ee 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 '14.9.x-ee.0' for 'gitlab-ee' was not found

What Linux distribution do you run on that host? It sounds like the problem you would run into if you were on a distribution that GitLab stopped supporting with 14.8.

1 Like

I am on 18.04

Ubuntu 18.04 LTS

  Linux ubuntu 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Should I update 22.04 ?

Ubuntu 18.04 hasn’t reached EOL yet (but it will later this year), and there are packages of 15.7.3 for it on the official site.
So an upgrade shouldn’t be needed (but GitLab runs fine on newer Ubuntus, so you might want to consider it).
I assume you didn’t actually use a x in apt-get install gitlab-ee=14.9.x-ee.0, but tried various versions. Can you show us the actual output from some run?
Can you show us your /etc/apt/sources.list.d/gitlab<perhaps something I don't remember>?

1 Like

I have this message

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gitlab-ee 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 '14.9.5-ee.0' for 'gitlab-ee' was not found

I have gitlab_gitlab-ee.list

# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ee

# deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ focal main # disabled on upgrade to focal
# deb-src https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ focal main # disabled on upgrade to focal

gitlab_gitlab-ee.list.distUpgrade

# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ee

# deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ focal main # disabled on upgrade to focal
# deb-src https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ focal main # disabled on upgrade to focal

gitlab_gitlab-ee.list.save

# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ee

deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main
deb-src https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main

The first two of those files only contains comments, but the last looks correct.
I assume that you have run apt update (In most cases you can use apt in place of apt-get).
What does apt-cache policy gitlab-ee (apt has also implemented a lot of the functionality of apt-cache, but not policy) say? (It gives a few lines of output pr. version so be ready for quite a bit of output.)

1 Like

I already did, apt and apt-get update, I tried again but it does not change anything

The result of apt-cache policy gitlab-ee is

gitlab-ee:
  Installed: 14.8.2-ee.0
  Candidate: 14.8.2-ee.0
  Version table:
 *** 14.8.2-ee.0 100
        100 /var/lib/dpkg/status

Is that all that apt-cache policy says? It can’t even find 14.8.2 anywhere (except locally - because it is installed).

Can you share the output of apt update?