[DRE-maint] Bug#955555: gitlab: uninitialized constant APIGuard
Dragos Jarca
dragos.jarca at dynamicpuzzle.ro
Fri Apr 3 09:46:11 BST 2020
On 03.04.2020 10:51, Pirate Praveen wrote:
> It looks like you are not using grpc debian package.
> If you look in
> /usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/specifications/grpc-1.26.0.gemspec
>
> s.required_ruby_version = Gem::Requirement.new(">= 2.3.0".freeze)
>
grep -a required_ruby_version
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/specifications/grpc-1.26.0.gemspec
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0".freeze)
> Run "gem which grpc" which should be
>
> /usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/grpc-1.26.0/src/ruby/lib/grpc.rb
>
> If you get a path in /var/lib/gems/2.7.0/ then it means you are using
> the gem from rubyems.org
gem which grpc
/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/grpc-1.26.0/src/ruby/lib/grpc.rb
root at a:~# dpkg -l ruby-grpc
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii ruby-grpc 1.26.0-2 amd64 GRPC system in Ruby
root at a:~# apt-get install --reinstall ruby-grpc
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not
upgraded.
2 not fully installed or removed.
Need to get 0 B/1096 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 358794 files and directories currently installed.)
Preparing to unpack .../ruby-grpc_1.26.0-2_amd64.deb ...
Unpacking ruby-grpc (1.26.0-2) over (1.26.0-2) ...
Setting up ruby-grpc (1.26.0-2) ...
Setting up gitlab (12.8.8-4) ...
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
grpc-1.26.0-x86_64-linux requires ruby version < 2.7.dev, >= 2.3, which
is incompatible with the current version, ruby 2.7.0p0
dpkg: error processing package gitlab (--configure):
installed gitlab package post-installation script subprocess returned
error exit status 1
Setting up gitaly (1.86.0+dfsg1-1) ...
Resolving dependencies...
grpc-1.26.0-x86_64-linux requires ruby version < 2.7.dev, >= 2.3, which
is incompatible with the current version, ruby 2.7.0p0
dpkg: error processing package gitaly (--configure):
installed gitaly package post-installation script subprocess returned
error exit status 5
Errors were encountered while processing:
gitlab
gitaly
E: Sub-process /usr/bin/dpkg returned an error code (1)
More information about the Pkg-ruby-extras-maintainers
mailing list