[DRE-maint] Bug#830837: gitlab: fails to install: Could not find gem 'recaptcha'; unversioned dependencies

Dmitry Smirnov onlyjob at debian.org
Tue Jul 12 03:58:52 UTC 2016


Package: gitlab
Version: 8.8.2+dfsg-5
Severity: normal

GitLab fails to install on Jessie as follows:

~~~~
Create database if not present
Make gitlab user owner of gitlab_production database...
ALTER DATABASE
Grant all privileges to gitlab user...
GRANT
NOTICE:  extension "pg_trgm" already exists, skipping
CREATE EXTENSION
Verifying we have all required libraries...
Could not find gem 'recaptcha' in any of the gem sources listed in your 
Gemfile
or available on this machine.
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 7
Errors were encountered while processing:
 gitlab
~~~~

Strangely enough "ruby-recaptcha" is already installed but this error 
disappeared when I upgraded "ruby-recaptcha" to 0.4.0.

However another error emerged:

~~~~
Verifying we have all required libraries...
Could not find gem 'six (~> 0.2.0)' in any of the gem sources listed in your
Gemfile or available on this machine.
~~~~

Upgrade of "ruby-six" from 0.2.0-2 to 0.2.0-3 allowed to progress to next 
error:

~~~~
Verifying we have all required libraries...
Could not find gem 'RedCloth (>= 4.2.9, ~> 4.2)' in any of the gem sources
listed in your Gemfile or available on this machine.
~~~~

So I've upgraded "ruby-redcloth" (4.2.9-5+b3) over (4.2.9-4)

then 

~~~~
Could not find gem 'rouge (>= 1.10.1, ~> 1.10)' in any of the gem sources 
listed
in your Gemfile or available on this machine.
~~~~

but "ruby-rouge" 2.0.2-1 from "testing" is already installed so here it 
stuck...


Versioning dependencies as follows should address some of the problems:

	ruby-recaptcha (>= 0.4.0~)
	ruby-six (>= 0.2.0-3~)
	ruby-redcloth (>= 4.2.9-5~)

However it does not solve "ruby-rouge" problem probably related to #830111.

-- 
All the best,
 Dmitry Smirnov
 GPG key : 4096R/52B6BBD953968D1B

---

Platitude: an idea (a) that is admitted to be true by everyone, and (b)
that is not true.
        -- H. L. Mencken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160712/ab9a2c7e/attachment.sig>


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