[DRE-maint] Bug#990103: gitlab: Conflicting dependencies on google-protobuf prevent package configuration during update

Maximilian Stein m at steiny.biz
Sun Jun 20 16:48:33 BST 2021


Package: gitlab
Version: 13.12.3+ds1-4~fto10+1
Severity: important

Dear Maintainer,

Unfortunately, upgrade to Gitlab 13.12.3+ds1-4~fto10+1 and gitaly
13.12.1+dfsg-4~fto10+1 fails since dependencies on google-protobuf are
conflicting apperently:

-----------------------------------------------------------

Setting up gitlab (13.12.3+ds1-4~fto10+1) ...
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Bundler could not find compatible versions for gem "google-protobuf":
  In Gemfile:
    google-protobuf (~> 3.14)

    grpc (~> 1.30, >= 1.30.2) was resolved to 1.30.2, which depends on
      google-protobuf (~> 3.12)

    gitlab-labkit (~> 0.17.1) was resolved to 0.17.1, which depends on
      pg_query (~> 2.0) was resolved to 2.0.3, which depends on
        google-protobuf (~> 3.15, >= 3.15.5)

Could not find gem 'google-protobuf (~> 3.15, >= 3.15.5)', which is required by gem 'pg_query (~> 2.0)', in any of the sources.
dpkg: error processing package gitlab (--configure):
 installed gitlab package post-installation script subprocess returned error exit status 1
Setting up gitaly (13.12.1+dfsg-4~fto10+1) ...
Resolving dependencies...
Bundler could not find compatible versions for gem "google-protobuf":
  In Gemfile:
    grpc (~> 1.30, >= 1.30.2) was resolved to 1.30.2, which depends on
      googleapis-common-protos-types (~> 1.0) was resolved to 1.0.6, which depends on
        google-protobuf (~> 3.14)

    grpc (~> 1.30, >= 1.30.2) was resolved to 1.30.2, which depends on
      google-protobuf (~> 3.12)

    gitlab-labkit (~> 0.17.1) was resolved to 0.17.1, which depends on
      pg_query (~> 2.0) was resolved to 2.0.3, which depends on
        google-protobuf (~> 3.15, >= 3.15.5)
dpkg: error processing package gitaly (--configure):
 installed gitaly package post-installation script subprocess returned error exit status 6
Errors were encountered while processing:
 gitlab
 gitaly
E: Sub-process /usr/bin/dpkg returned an error code (1)

----------------------------------------------------------------

I tried to manually edit the Gemfile without success. How can I fix
the configuration?

Best,
Maximilian



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