[pkg-go] Bug#909191: gitaly: Hard coded outdated version numbers in Gemfile and Gemfile.lock cause problems with newer versions

Frederik Himpe fhimpe at ai.vub.ac.be
Wed Sep 19 14:32:08 BST 2018


Package: gitaly
Version: 0.96.2+debian-2~bpo9+1
Severity: normal

When creating a project in gitlab, there was an error that it failed to
create the repository via gitlab-shell.

In the gitaly logs, I found that it failed to connect to gitaly-ruby:

Sep 19 14:48:02 ai-gitlab gitaly[17635]: time="2018-09-19T14:48:02+02:00" level=info msg="grpc: addrConn.createTransport failed to connect to {/tmp/gitaly-ruby260196508/socket.0 0  <nil>}. Err :connection error: desc = \"transport: Error while dialing dial unix /tmp/gitaly-ruby260196508/socket.0: connect: no such file or directory\". Reconnecting..." system=system

GemNotFound: Your bundle is locked to rouge (3.1.1), but that version
could not be found in any of the sources listed in your Gemfile. If you
haven't changed sources, that means the author of rouge (3.1.1) has
removed it. You'll need to update your bundle to a different version of
rouge (3.1.1) that hasn't been removed in order to install
GemNotFound: Your bundle is locked to rugged (0.27.0), but that version
could not be found in any of the sources listed in your Gemfile. If you
haven't changed sources, that means the author of rugged (0.27.0) has
removed it. You'll need to update your bundle to a different version of
rugged (0.27.0) that hasn't been removed in order to install
GemNotFound: Your bundle is locked to sanitize (4.6.5), but that version
could not be found in any of the sources listed in your Gemfile. If you
haven't changed sources, that means the author of sanitize (4.6.5) has
removed it. You'll need to update your bundle to a different version of
sanitize (4.6.5) that hasn't been removed in order to install


I modified /usr/share/gitaly/ruby/Gemfile and
/usr/share/ruby/Gemfile.lock to specify the version numbers of the
newwer versions of the packages installed from backports, and then this
problem was gone.


-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (600, 'stable'), (550, 'proposed-updates'), (500, 'oldstable'), (450, 'oldstable-proposed-updates'), (420, 'testing'), (200, 'unstable'), (160, 'experimental'), (150, 'oldoldstable'), (140, 'oldoldstable-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitaly depends on:
ii  gitlab-common               10.7.7+dfsg-1~bpo9+1
ii  libc6                       2.27-6
ii  pipexec                     2.5.5-1
ii  procps                      2:3.3.12-3+deb9u1
ii  ruby-activesupport          2:4.2.10-1~bpo9+1
ii  ruby-gitaly                 0.99.0+dfsg-2~bpo9+1
ii  ruby-github-linguist        5.3.3-1~bpo9+1
ii  ruby-github-markup          1.6.3-1~bpo9+1
ii  ruby-gollum-lib             4.2.7.5-3~bpo9+1
ii  ruby-gollum-rugged-adapter  0.4.4.1-2~bpo9+1
ii  ruby-google-protobuf        3.6.0~rc2-2~bpo9+1
ii  ruby-grpc                   1.11.0+debian-1~bpo9+1
ii  ruby-licensee               8.9.2-1~bpo9+1
ii  ruby-rugged                 0.27.4+ds-1~bpo9+1
ii  ruby-sentry-raven           2.7.2-1~bpo9+1

gitaly recommends no packages.

gitaly suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/gitaly/ruby/Gemfile (from gitaly package)



More information about the Pkg-go-maintainers mailing list