[DRE-maint] Bug#995073: gitlab: yarnpkg fails with error An unexpected error occurred: "Release not found: 2.4.2".

Pirate Praveen praveen at onenetbeyond.org
Sat Sep 25 21:57:54 BST 2021


On 25/9/21 11:11 PM, Ondrej Zary wrote:
> Package: gitlab
> Version: 13.12.9+ds1-1~fto10+1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
> installing gitlab 13.12.9+ds1-1~fto10+1 on buster amd64 fails with:
>
> Installing node modules...
> Resolving 2.4.2 to a url...
> error An unexpected error occurred: "Release not found: 2.4.2".
> info If you think this is a bug, please open a bug report with the information provided in "/var/lib/gitlab/yarn-error.log".
> info Visit https://yarnpkg.com/en/docs/cli/policies for documentation about this command.

yarn 3.0 needs nodejs 12. So this was a work around used to force yarn
2.x. Looks like there is no way to install 2.x versions of yarn anymore :(

So we will have to update minimum version of nodejs to 12 (already done
for latest versions in bullseye) and use yarn set version berry. I guess
you will have to use nodejs from official repos or we will have to
backport nodejs 12 to buster.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20210926/59c5dedc/attachment-0001.sig>


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