On Thu, 17 Aug 2023 10:54:07 +0200 Bardi Laurent <laurent.ba...@ipbs.fr> wrote:
Hi,

at first thanks to all, workaround is working, the case can be closed.

Have a nice day.

--
logo-cnrs


  Laurent Bardi


    RSSI IPBS / CRSSI DR14

Institut de Pharmacologie et de Biologie Structurale

+33 5 61 17 59 05 | +33 6 23 46 06 28 | laurent.ba...@ipbs.fr

UMR5089 | CNRS – UT3 | 205 Route de Narbonne BP 64182 – 31077 Toulouse Cedex 4

ipbs.fr <https://www.ipbs.fr>


J'étais indéniablement misanthrope.
Je voulus traverser à gué un marigot infesté d'imbéciles.
Quand j'atteignis l'autre rive, j'étais devenu philanthrope.

Hello,

Here's a patch for the salsa GitLab repository[0] that applies the workaround mentioned above. I've tested the changes locally and it seems to be working. I've requested an account on salsa, I'll create an MR of the same once it's approved :)

Warm regards,
Aravinth Manivannan

[0]: https://salsa.debian.org/ruby-team/gitlab/
diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst
index 6baa966d7a..6eb3bf7023 100755
--- a/debian/gitlab.postinst
+++ b/debian/gitlab.postinst
@@ -68,10 +68,7 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.8.0 "^graphiql-rails$"
 
 # TODO: Update packages for these gems
 runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.44.0 "^google-cloud-storage$" >/dev/null; then gem install -v 1.44.0 google-cloud-storage; fi"
-
-runuser -u ${gitlab_user} -- sh -c "gem uninstall -v '~> 3.24.0' google-protobuf"
-runuser -u ${gitlab_user} -- sh -c "gem install -v '= 3.23.4' google-protobuf"
-
+runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 3.22.2' "^google-protobuf$" >/dev/null; then gem install -v '~> 3.22.2' google-protobuf; fi"
 runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.1.3' "^net-protocol$" >/dev/null; then gem install -v '~> 0.1.3' net-protocol; fi"
 runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 1.3' "^duo_api$" >/dev/null; then gem install -v '~> 1.3' duo_api; fi"
 runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.3' "^google-cloud-profiler-v2$" >/dev/null; then gem install -v '~> 0.3' google-cloud-profiler-v2; fi"

Attachment: OpenPGP_0xF8F50389936984FF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to