Если вы пропустили несколько обновлений GitLab и теперь при попытке апдейта через apt update && apt upgrade получаете ошибку перехода на мажорную версию (см. текст ошибки ниже), то устанавливать обновления придется поочередно. Preparing to unpack .../gitlab-ce_13.1.3-ce.0_amd64.deb ...
gitlab preinstall: It seems you are upgrading from major version 12 to major version 13.
gitlab preinstall: It is required to upgrade to the latest 13.0.x version first before proceeding.
gitlab preinstall: Please follow the upgrade documentation at https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations
dpkg: error processing archive /var/cache/apt/archives/gitlab-ce_13.1.3-ce.0_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/gitlab-ce_13.1.3-ce.0_amd64.deb В моем случае порядок устанавливаемых версий выглядит так: // Ставим последнюю 12 версию
apt install gitlab-сe=12.10.10-