[DRE-maint] Bug#995906: gitlab: Upgrading buster to bullseye needs some more gitlab-apt-pin-preferences adjustments

Pirate Praveen praveen at onenetbeyond.org
Fri Oct 8 15:38:19 BST 2021



On 8 October 2021 11:23:05 am IST, "Patrick Matthäi" <pmatthaei at debian.org> wrote:
>Package: gitlab
>Version: 14.1.7+ds1-2~fto11+1
>Severity: important
>
>Hi,
>
>I am just upgrading our buster gitlab (13.12.8+ds1-1~fto10+1) to bullseye (14.1.7+ds1-2~fto11+1)
>along with the whole system.
>On upgrading I get some errors like:
>
>Could not find gem 'bootsnap (~> 1.4)' in any of the gem sources listed in your Gemfile.
>dpkg: Fehler beim Bearbeiten des Paketes gitlab (--configure):
> »installiertes gitlab-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
>gitaly (14.1.7+dfsg-1~fto11+1) wird eingerichtet ...
>Could not find gem 'rbtrace' in any of the gem sources listed in your Gemfile.
>
>or:
>
>gitaly (14.1.7+dfsg-1~fto11+1) wird eingerichtet ...
>Resolving dependencies...
>Bundler could not find compatible versions for gem "ffi":
>  In Gemfile:
>    rbtrace was resolved to 0.4.11, which depends on
>      ffi (>= 1.0.6) x86_64-linux
>Could not find gem 'ffi (>= 1.0.6)', which is required by gem 'rbtrace', in any of the sources.
>dpkg: Fehler beim Bearbeiten des Paketes gitaly (--configure):
>
>To solve it after the failed dist-upgrade I had to install the following versions:
>
>  apt install ruby-bootsnap=1.4.6-1+b2 ruby-rbtrace=0.4.11-3+b3 ruby-ffi=1.12.2+dfsg-2+b3 ruby-character-set/bullseye ruby-concurrent/bullseye ruby-concurrent-ext/bullseye ruby-enumerable-statistics/bullseye ruby-gpgme/bullseye ruby-grape-path-helpers=1.6.3-1~bpo11+1 ruby-hitimes/bullseye ruby-js-regex/bullseye ruby-json/bullseye ruby-murmurhash3/bullseye ruby-pg/bullseye ruby-prof/bullseye ruby-re2/bullseye ruby-redcloth/bullseye ruby-rinku/bullseye ruby-stackprof/bullseye ruby-unf-ext/bullseye ruby-yajl/bullseye unicorn/bullseye
>
>The main problem is, that most packages are not upgraded from the fto10 version to
>the bullseye one, because the fto10 version was "higher".

This is documented here
https://wiki.debian.org/gitlab/buster

I don't think pin preferences will work for "downgrades".

>Thanks for your great work :-)

You are welcome :)

>
>
>-- System Information:
>Debian Release: 11.0
>  APT prefers stable-updates
>  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
>Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>LSM: AppArmor: enabled

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-ruby-extras-maintainers mailing list