Release Candidate takes precedence over final version
Summary
In raspberry pi, apt-get install
prefers release candidates to final versions. For example, 10.6.0-rc7
will be installed despite 10.6.0
is the most recent release. Please, could you have a look?
Thank you for your time,
Steps to reproduce
Attempt to install/upgrade or check order using apt-cache policy
as described below:
apt-update
apt-cache policy gitlab-ce
Notice that 10.6.0-rc7
is preferred to 10.6.0
, 10.5.0-rc10
to 10.5.0
and so on.
root@rpi1:~# apt-cache policy gitlab-ce
gitlab-ce:
Installed: 10.5.6-ce.0
Candidate: 10.6.0-rc7.ce.0
Version table:
10.6.0-rc7.ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
10.6.0-rc3.ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
10.6.0-ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
*** 10.5.6-ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
100 /var/lib/dpkg/status
...
10.5.0-rc10.ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
...
10.5.0-ce.0 500
500 https://packages.gitlab.com/gitlab/raspberry-pi2/raspbian jessie/main armhf Packages
...
Workaround
Explicitly set the version to install. For example:
apt-update
apt-get install gitlab-ce=10.6.0-ce.0