[DRE-maint] Bug#1040819: gitlab postinst fails with gem version number parsing error
Pirate Praveen
praveen at debian.org
Tue Jul 11 13:54:01 BST 2023
On 11/07/23 10:34 am, Jakob Bohm wrote:
> Package: gitlab
> Version: 15.10.8+ds1-1~fto12+1
> Severity: normal
>
> Dear Maintainer,
>
> When trying to install gitlab (fasttrack) in a mostly blank bookworm VM,
> postinst fails with the following messages:
>
> Setting up gitlab (15.10.8+ds1-1~fto12+1) ...
> Could not find gem 'pg (~> 1.4.5, >= 1.4.5)' in cached gems or installed
> locally.
>
> The source contains the following gems matching 'pg':
> * pg-1.5.2
> dpkg: error processing package gitlab (--configure):
> installed gitlab package post-installation script subprocess returned
> error exit status 1
>
> This looks like an error parsing some notation that version 1.4.5 or later
> of some ruby gem is needed when version 1.5.2 is actually available.
It should have been '~> 1.4, >= 1.4.5', but this is already fixed in
latest versions which has
gem 'pg', '~> 1.5', '>= 1.5.3'
We only support installing one version (latest) of gitlab at any time.
> I suspect the version relationship was expressed in a way not supported by
> the only available ruby-rubygems package, but possibly by some other not
> available implementation not explicitly specified as a gitlab dependency
> rule. Of cause it could be some other ruby package responsible for the
> expression in the error message or its parsing.
>
> P.S.
>
> A mostly blank bookworm VM would consist only of bookworm core packages,
> SysV init, git packages and site specific configuration of stuff such as
> networking.
You can try installing the latest version of gitlab which is
16.0.7+ds1-3~fto12+2
> P.P.S.
>
> I am not Irish, its just the only English EU locale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4044 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230711/87567b35/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230711/87567b35/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list