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

Attachment: OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to