[DRE-maint] Bug#925254: gitlab: Failed to upgrade (google-api-client not installed)

Matthijs Möhlmann matthijs at cacholong.nl
Thu Mar 21 20:39:08 GMT 2019


Package: gitlab
Version: 11.8.2-3
Severity: important

Dear Maintainer,

I was trying to upgrade gitlab from 11.5.10 to the current version
(11.8.2-3) in unstable. Most required packages are coming from buster
with a few dependencies coming from unstable.

The output from apt is as follows:

Setting up gitlab (11.8.2-3) ...
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
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-api-client":
  In Gemfile:
    google-api-client (~> 0.23)

    fog-google (~> 1.8) was resolved to 1.8.2, which depends on
      google-api-client (~> 0.23.0)

Could not find gem 'google-api-client (~> 0.23.0)', which is required by gem
'fog-google (~> 1.8)', in any of the sources.
dpkg: error processing package gitlab (--configure):
 installed gitlab package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have no experience with ruby and how I can fix this. If you need more
information please tell me and I'll try to provide it.

One last thing, I am very grateful for providing gitlab in Debian. This
must be an huge job with all the dependencies in ruby. Thank you!

Regards, Matthijs

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gitlab depends on:
ii  asciidoctor                                1.5.8-1
ii  bc                                         1.07.1-2+b1
ii  bundler                                    1.17.3-3
ii  bzip2                                      1.0.6-9
ii  dbconfig-pgsql                             2.0.11
ii  debconf [debconf-2.0]                      1.5.71
ii  gitlab-common                              11.8.2-3
ii  gitlab-workhorse                           7.6.0+debian-1+b20
ii  libjs-uglify                               2.8.29-6
ii  lsb-base                                   10.2019031300
ii  nginx                                      1.14.2-2
ii  nginx-full [nginx]                         1.14.2-2
ii  nodejs                                     10.15.2~dfsg-1
ii  openssh-client                             1:7.9p1-9
ii  postfix [mail-transport-agent]             3.4.1-1
ii  postgresql-client                          11+200
ii  postgresql-client-11 [postgresql-client]   11.2-2
ii  postgresql-client-9.6 [postgresql-client]  9.6.10-0+deb9u1
ii  postgresql-contrib                         11+200
ii  rake                                       12.3.1-3
ii  redis-server                               5:5.0.3-4
ii  ruby                                       1:2.5.1
ii  ruby-ace-rails-ap                          4.1.1-1
ii  ruby-acts-as-taggable-on                   6.0.0-3
ii  ruby-addressable                           2.5.2-1
ii  ruby-akismet                               2.0.0-1
ii  ruby-asana                                 0.8.1-2
ii  ruby-asciidoctor-plantuml                  0.0.8-1
ii  ruby-attr-encrypted                        3.1.0-2
ii  ruby-babosa                                1.0.2-2
ii  ruby-base32                                0.3.2-3
ii  ruby-batch-loader                          1.2.2-1
ii  ruby-bcrypt-pbkdf                          1.0.0-2
ii  ruby-bootstrap-form                        2.7.0-1
ii  ruby-browser                               2.5.3-1
ii  ruby-carrierwave                           1.3.1-1
ii  ruby-charlock-holmes                       0.7.6-1
ii  ruby-chronic                               0.10.2-3
ii  ruby-chronic-duration                      0.10.6-1
ii  ruby-commonmarker                          0.17.9-1
ii  ruby-connection-pool                       2.2.2-1
ii  ruby-creole                                0.5.0-2
ii  ruby-default-value-for                     3.1.1-3
ii  ruby-device-detector                       1.0.1-2
ii  ruby-devise                                4.5.0-2
ii  ruby-devise-two-factor                     3.0.3-1
ii  ruby-diffy                                 3.2.1-1
ii  ruby-discordrb-webhooks                    3.3.0-1
ii  ruby-doorkeeper                            4.4.2-1
ii  ruby-doorkeeper-openid-connect             1.5.2-1
ii  ruby-ed25519                               1.2.4-1
ii  ruby-email-reply-trimmer                   0.1.6-1
ii  ruby-escape-utils                          1.2.1-1+b1
ii  ruby-excon                                 0.60.0-1
ii  ruby-faraday                               0.13.1-2
ii  ruby-fast-blank                            1.0.0-1+b1
ii  ruby-flipper                               0.13.0-3
pn  ruby-flipper-active-record                 <none>
pn  ruby-flipper-active-support-cache-store    <none>
ii  ruby-flowdock                              0.7.1-1
ii  ruby-fog-aliyun                            0.3.2-3
ii  ruby-fog-aws                               3.3.0-5
ii  ruby-fog-core                              2.1.0-3
ii  ruby-fog-google                            1.8.2-1
ii  ruby-fog-local                             0.6.0-1
ii  ruby-fog-openstack                         1.0.8-2
ii  ruby-fog-rackspace                         0.1.6-2
ii  ruby-fogbugz                               0.2.1-3
ii  ruby-font-awesome-rails                    4.7.0.4-1
ii  ruby-fugit                                 1.1.8-1
ii  ruby-gemojione                             3.3.0-1
ii  ruby-gettext-i18n-rails                    1.8.0-1
ii  ruby-gettext-i18n-rails-js                 1.3.0+dfsg-2
pn  ruby-gitaly-proto                          <none>
ii  ruby-github-markup                         1.7.0+dfsg-2
ii  ruby-gitlab-sidekiq-fetcher                0.4.0-2
ii  ruby-gon                                   6.2.1-1
ii  ruby-google-api-client                     0.28.4-1
ii  ruby-google-protobuf                       3.6.1.3-1
ii  ruby-googleauth                            0.8.0-2
ii  ruby-gpgme                                 2.0.18-1
ii  ruby-grape                                 1.1.0-2
ii  ruby-grape-entity                          0.7.1-1
ii  ruby-grape-logging                         1.7.0-1
ii  ruby-grape-path-helpers                    1.1.0-1
ii  ruby-graphiql-rails                        1.4.10-1
ii  ruby-graphql                               1.8.4-1
ii  ruby-grpc                                  1.16.1-1
ii  ruby-hamlit                                2.9.2-2
ii  ruby-hangouts-chat                         0.0.5-1
ii  ruby-hashie-forbidden-attributes           0.1.1-1
ii  ruby-health-check                          2.6.0-1
ii  ruby-hipchat                               1.5.2-3
ii  ruby-html-pipeline                         2.8.4-1
ii  ruby-html2text                             0.2.0-1
ii  ruby-httparty                              0.16.2+dfsg1-2
ii  ruby-icalendar                             2.4.1-2
ii  ruby-influxdb                              0.2.3-2
ii  ruby-jira                                  1.5.0-1
ii  ruby-jquery-atwho-rails                    1.5.4+dfsg-1
ii  ruby-js-regex                              3.1.1-1
ii  ruby-kaminari                              1.0.1-4
ii  ruby-kgio                                  2.11.2-1+b1
ii  ruby-kubeclient                            4.3.0-1
ii  ruby-licensee                              8.9.2-1
ii  ruby-lograge                               0.10.0-1
ii  ruby-loofah                                2.2.3-1
ii  ruby-mail-room                             0.9.1-2
ii  ruby-method-source                         0.9.2-1
ii  ruby-mimemagic                             0.3.2+dfsg-1
ii  ruby-mini-magick                           4.9.2-1
ii  ruby-nakayoshi-fork                        0.0.4-1
ii  ruby-net-ldap                              0.16.1-1
ii  ruby-net-ssh                               1:5.1.0-1
ii  ruby-nokogiri                              1.10.0+dfsg1-2
ii  ruby-ntlm                                  0.6.1-2
ii  ruby-oauth2                                1.4.1-1
ii  ruby-octokit                               4.13.0-1
ii  ruby-omniauth                              1.8.1-1
ii  ruby-omniauth-auth0                        2.0.0-1
ii  ruby-omniauth-authentiq                    0.3.3-1
ii  ruby-omniauth-azure-oauth2                 0.0.10-1
ii  ruby-omniauth-cas3                         1.1.4-2
ii  ruby-omniauth-crowd                        2.4.0-1
ii  ruby-omniauth-facebook                     4.0.0-2
ii  ruby-omniauth-github                       1.3.0-1
ii  ruby-omniauth-gitlab                       1.0.2-1
ii  ruby-omniauth-kerberos                     0.3.0-3
ii  ruby-omniauth-ldap                         2.0.4-2
ii  ruby-omniauth-oauth2-generic               0.2.2-1
ii  ruby-omniauth-saml                         1.10.0-1
ii  ruby-omniauth-shibboleth                   1.3.0-1
ii  ruby-omniauth-twitter                      1.4.0-1
ii  ruby-org                                   0.9.12-2
ii  ruby-parser                                3.11.0-1
ii  ruby-peek                                  1.0.1-1
ii  ruby-peek-gc                               0.0.2-1
ii  ruby-peek-pg                               1.3.0-1
ii  ruby-peek-rblineprof                       0.2.0-1
ii  ruby-peek-redis                            1.2.0-1
ii  ruby-pg                                    1.1.3-3
ii  ruby-posix-spawn                           0.3.13-2+b1
ii  ruby-premailer-rails                       1.9.7-1
ii  ruby-prof                                  0.17.0+dfsg-3+b1
ii  ruby-progressbar                           1.9.0-2
ii  ruby-prometheus-client-mmap                0.9.4-1
ii  ruby-rack                                  2.0.6-3
ii  ruby-rack-attack                           4.4.1-1
ii  ruby-rack-cors                             1.0.2-1
ii  ruby-rack-oauth2                           1.9.2-1
ii  ruby-rack-proxy                            0.6.1-2
ii  ruby-rails                                 2:5.2.2.1+dfsg-1
ii  ruby-rails-deprecated-sanitizer            1.0.3-3
ii  ruby-rails-i18n                            5.1.2-2
ii  ruby-rainbow                               3.0.0-2
ii  ruby-raindrops                             0.19.0-1+b2
ii  ruby-rbtrace                               0.4.10-1
ii  ruby-re2                                   1.1.1-2+b3
ii  ruby-recaptcha                             4.11.1-2
ii  ruby-redcarpet                             3.4.0-4+b1
ii  ruby-redcloth                              4.3.2-3+b1
ii  ruby-redis                                 3.3.5-1
ii  ruby-redis-namespace                       1.6.0-1
ii  ruby-redis-rails                           5.0.2-3
ii  ruby-request-store                         1.3.0-1
ii  ruby-responders                            2.4.0-3
ii  ruby-rouge                                 3.3.0-1
ii  ruby-rqrcode-rails3                        0.1.7-1
ii  ruby-rugged                                0.27.4+ds-1
ii  ruby-sanitize                              4.6.6-2
ii  ruby-sass                                  3.5.6-1
ii  ruby-sass-rails                            5.0.6-2
ii  ruby-seed-fu                               2.3.7-2
ii  ruby-select2-rails                         3.5.9.3-2
ii  ruby-sentry-raven                          2.7.4-1
ii  ruby-settingslogic                         2.0.9-3
ii  ruby-sidekiq                               5.2.3+dfsg-1
ii  ruby-sidekiq-cron                          1.1.0-3
ii  ruby-slack-notifier                        1.5.1-2
ii  ruby-sprockets                             3.7.2-1
ii  ruby-sshkey                                1.9.0-1
ii  ruby-state-machines-activerecord           0.5.1-2
ii  ruby-sys-filesystem                        1.1.7-2
ii  ruby-task-list                             2.0.0-2
ii  ruby-toml-rb                               1.0.0-2
ii  ruby-truncato                              0.7.11-1
ii  ruby-u2f                                   0.2.1-2
ii  ruby-uglifier                              2.7.2+dfsg-2
ii  ruby-unf                                   0.1.4-2
ii  ruby-unf-ext                               0.0.7.5-1
ii  ruby-unicorn-worker-killer                 0.4.4-1
ii  ruby-validates-hostname                    1.0.7-1
ii  ruby-version-sorter                        2.1.0+dfsg-1+b2
ii  ruby-virtus                                1.0.5-3
ii  ruby-vmstat                                2.3.0-2+b1
ii  ruby-webpack-rails                         0.9.11+git-1
ii  ruby-wikicloth                             0.8.1+dfsg-4
ii  ruby-zip                                   1.2.2-1
ii  ucf                                        3.0038+nmu1
ii  unicorn                                    5.4.1-2
ii  yarnpkg                                    1.13.0-1

Versions of packages gitlab recommends:
ii  certbot  0.31.0-1
ii  gitaly   1.20.0+debian-1

gitlab suggests no packages.

-- Configuration Files:
/etc/gitlab/initializers/active_record_verbose_query_logs.rb [Errno 2] No such file or directory: '/etc/gitlab/initializers/active_record_verbose_query_logs.rb'

-- debconf information:
* gitlab/pgsql/app-pass: (password omitted)
  gitlab/password-confirm: (password omitted)
* gitlab/app-password-confirm: (password omitted)
  gitlab/pgsql/admin-pass: (password omitted)
  gitlab/pgsql/no-empty-passwords:
  gitlab/install-error: abort
  gitlab/pgsql/authmethod-admin: ident
  gitlab/pgsql/admin-user: postgres
  gitlab/pgsql/manualconf:
  gitlab/passwords-do-not-match:
  gitlab/remote/newhost: localhost
  gitlab/letsencrypt_email:
  gitlab/upgrade-backup: true
  gitlab/remote/port:
  gitlab/dbconfig-upgrade: true
  gitlab/purge: false
* gitlab/dbconfig-install: true
  gitlab/internal/skip-preseed: true
  gitlab/db/app-user: gitlab at localhost
  gitlab/missing-db-package-error: abort
* gitlab/ssl: true
  gitlab/internal/reconfiguring: false
  gitlab/upgrade-error: abort
  gitlab/purge_data: true
  gitlab/dbconfig-remove: true
* gitlab/remote/host: localhost
* gitlab/database-type: pgsql
* gitlab/fqdn: moneymaker-gitlab.mohlmann.org
  gitlab/remove-error: abort
* gitlab/user: gitlab
  gitlab/pgsql/authmethod-user: password
  gitlab/pgsql/changeconf: false
  gitlab/pgsql/method: TCP/IP
  gitlab/dbconfig-reinstall: false
* gitlab/letsencrypt: false
  gitlab/db/dbname: gitlab_production



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