Bug#995073: gitlab: yarnpkg fails with error An unexpected error occurred: "Release not found: 2.4.2".
On 26 September 2021 8:14:08 pm IST, Ondrej Zary wrote: >> 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. > >I've built nodejs 12 and added "yarnpng set version berry" before >"yarnpkg set version 2.4.2". >It downloaded tons of random crap from somewhere during the "fetch step". >Is that normal? Not sure which packages it pulls in that step. >Otherwise it seems to work. >Webpack failed, as always...3 kinds of errors this time. > >Installing node modules... >(node:22064) [DEP0005] DeprecationWarning: Buffer() is deprecated due to >security and usability issues. Please use the Buffer.alloc(), >Buffer.allocUnsafe(), or Buffer.from() methods instead. >Resolving berry to a url... >Downloading >https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js... >Saving it into /var/lib/gitlab/.yarn/releases/yarn-berry.js... >Updating /var/lib/gitlab/.yarnrc.yml... >Done! >➤ YN: Retrieving >https://repo.yarnpkg.com/2.4.2/packages/yarnpkg-cli/bin/yarn.js >➤ YN: Saving the new release in .yarn/releases/yarn-2.4.2.cjs >➤ YN: Done in 1s 327ms >➤ YN: ┌ Resolution step >➤ YN0061: │ document-register-element@npm:1.14.3 is deprecated: V0 is gone and >the best V1 polyfill is now @ungap/custom-elements >➤ YN0061: │ axios@npm:0.20.0 is deprecated: Critical security vulnerability >fixed in v0.21.1. For more information, see >https://github.com/axios/axios/pull/3410 >➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see >https://github.com/lydell/urix#deprecated >➤ YN0061: │ smooshpack@npm:0.0.62 is deprecated: Package moved to >@codesandbox/sandpack-client >➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: >https://github.com/lydell/resolve-url#deprecated >➤ YN0061: │ uuid@npm:3.3.2 is deprecated: Please upgrade to version 7 or >higher. Older versions may use Math.random() in certain circumstances, which >is known to be problematic. See https://v8.dev/blog/math-random for details. >➤ YN0061: │ popper.js@npm:1.16.1 is deprecated: You can find the new Popper v2 >at @popperjs/core, this package is dedicated to the legacy v1 >➤ YN0061: │ querystring@npm:0.2.0 is deprecated: The querystring API is >considered Legacy. new code should use the URLSearchParams API instead. >➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are >discouraged >➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are >discouraged >➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are >discouraged >➤ YN0002: │ apollo-link-batch@npm:1.1.15 doesn't provide graphql (pf2c3f), >requested by apollo-link >➤ YN0002: │ bootstrap-vue@npm:2.17.3 doesn't provide jquery (p8724c), >requested by bootstrap >➤ YN0002: │ bootstrap-vue@npm:2.17.3 doesn't provide vue (p74d19), requested >by portal-vue >➤ YN0060: │ root-workspace-0b6124@workspace:. provides @babel/core (p8d5b6) >with version 0.0.0, which doesn't satisfy what babel-loader requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides popper.js (pb3b3d) with >version 0.0.0, which doesn't satisfy what bootstrap requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p02edf) with >version 0.0.0, which doesn't satisfy what portal-vue requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (pa125f) with >version 0.0.0, which doesn't satisfy what tiptap requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p6c5ff) with >version 0.0.0, which doesn't satisfy what @gitlab/ui requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p4a08d) with >version 0.0.0, which doesn't satisfy what @tiptap/vue-2 requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (pc6a59) with >version 0.0.0, which doesn't satisfy what @toast-ui/vue-editor requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p082e1) with >version 0.0.0, which doesn't satisfy what tiptap-extensions requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (paa947) with >version 0.0.0, which doesn't satisfy what vue-resize requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p1dfac) with >version 0.0.0, which doesn't satisfy what vuex requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue-template-compiler >(pb49ea) with version 0.0.0, which doesn't satisfy what tiptap requests >➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue-template-compiler >(p659ff) with version 0.0.0, which doesn't satisfy what tiptap-extensions >requests >➤ YN: │ Some peer dependencies are incorrectly met; run yarn explain >peer-requirements for details, where is the
Bug#995073: gitlab: yarnpkg fails with error An unexpected error occurred: "Release not found: 2.4.2".
> 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. I've built nodejs 12 and added "yarnpng set version berry" before "yarnpkg set version 2.4.2". It downloaded tons of random crap from somewhere during the "fetch step". Is that normal? Otherwise it seems to work. Webpack failed, as always...3 kinds of errors this time. Installing node modules... (node:22064) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Resolving berry to a url... Downloading https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js... Saving it into /var/lib/gitlab/.yarn/releases/yarn-berry.js... Updating /var/lib/gitlab/.yarnrc.yml... Done! ➤ YN: Retrieving https://repo.yarnpkg.com/2.4.2/packages/yarnpkg-cli/bin/yarn.js ➤ YN: Saving the new release in .yarn/releases/yarn-2.4.2.cjs ➤ YN: Done in 1s 327ms ➤ YN: ┌ Resolution step ➤ YN0061: │ document-register-element@npm:1.14.3 is deprecated: V0 is gone and the best V1 polyfill is now @ungap/custom-elements ➤ YN0061: │ axios@npm:0.20.0 is deprecated: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 ➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated ➤ YN0061: │ smooshpack@npm:0.0.62 is deprecated: Package moved to @codesandbox/sandpack-client ➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated ➤ YN0061: │ uuid@npm:3.3.2 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. ➤ YN0061: │ popper.js@npm:1.16.1 is deprecated: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 ➤ YN0061: │ querystring@npm:0.2.0 is deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged ➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are discouraged ➤ YN0002: │ apollo-link-batch@npm:1.1.15 doesn't provide graphql (pf2c3f), requested by apollo-link ➤ YN0002: │ bootstrap-vue@npm:2.17.3 doesn't provide jquery (p8724c), requested by bootstrap ➤ YN0002: │ bootstrap-vue@npm:2.17.3 doesn't provide vue (p74d19), requested by portal-vue ➤ YN0060: │ root-workspace-0b6124@workspace:. provides @babel/core (p8d5b6) with version 0.0.0, which doesn't satisfy what babel-loader requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides popper.js (pb3b3d) with version 0.0.0, which doesn't satisfy what bootstrap requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p02edf) with version 0.0.0, which doesn't satisfy what portal-vue requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (pa125f) with version 0.0.0, which doesn't satisfy what tiptap requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p6c5ff) with version 0.0.0, which doesn't satisfy what @gitlab/ui requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p4a08d) with version 0.0.0, which doesn't satisfy what @tiptap/vue-2 requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (pc6a59) with version 0.0.0, which doesn't satisfy what @toast-ui/vue-editor requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p082e1) with version 0.0.0, which doesn't satisfy what tiptap-extensions requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (paa947) with version 0.0.0, which doesn't satisfy what vue-resize requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue (p1dfac) with version 0.0.0, which doesn't satisfy what vuex requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue-template-compiler (pb49ea) with version 0.0.0, which doesn't satisfy what tiptap requests ➤ YN0060: │ root-workspace-0b6124@workspace:. provides vue-template-compiler (p659ff) with version 0.0.0, which doesn't satisfy what tiptap-extensions requests ➤ YN: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code ➤ YN: └ Completed in 11s 268ms ➤ YN: ┌ Fetch step ➤ YN0013: │ yargs@npm:13.3.2 can't be found in the cache and will be fetched from the remote registry ➤ YN0013: │
Bug#995073: gitlab: yarnpkg fails with error An unexpected error occurred: "Release not found: 2.4.2".
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. signature.asc Description: OpenPGP digital signature
Bug#995073: gitlab: yarnpkg fails with error An unexpected error occurred: "Release not found: 2.4.2".
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. -- System Information: Debian Release: 10.10 APT prefers oldstable-proposed-updates-debug APT policy: (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-debug'), (500, 'oldstable'), (100, 'buster-fasttrack'), (100, 'buster-backports') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-0.bpo.8-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages gitlab depends on: ii asciidoctor 2.0.10-2~bpo10+1 pn bc ii bundler 2.1.4-2~bpo10+1 ii bzip2 1.0.6-9.2~deb10u1 pn dbconfig-pgsql | dbconfig-no-t ii debconf [debconf-2.0] 1.5.71 pn gitlab-common pn gitlab-workhorse ii libruby2.7 [ruby-rexml] 2.7.3-2~fto10+1 ii lsb-base10.2019051400 ii msmtp-mta [mail-transport-agen 1.8.3-1 ii nginx-full [nginx] 1.14.2-2+deb10u4 pn node-autosize pn node-axios pn node-babel-loader pn node-babel-plugin-lodash pn node-babel7 pn node-bootstrap ii node-brace-expansion1.1.8-1 ii node-cache-loader 4.1.0-6~bpo10+1 pn node-chart.js pn node-clipboard pn node-codemirror pn node-compression-webpack-plugi pn node-copy-webpack-plugin ii node-core-js3.6.1-2~bpo10+2 ii node-css-loader 5.0.1+~cs14.0.5-1~bpo10+1 pn node-d3 pn node-d3-scale pn node-d3-selection pn node-dateformat pn node-exports-loader ii node-file-loader6.2.0-2~bpo10+1 pn node-font-awesome pn node-fuzzaldrin-plus ii node-glob 7.1.6-1~bpo10+1 ii node-imports-loader 0.8.0-2~bpo10+1 pn node-jed ii node-jquery 3.5.1+dfsg-4~bpo10+1 pn node-jquery-ujs pn node-js-cookie ii node-js-yaml3.13.1+dfsg-2~bpo10+1 pn node-jszip pn node-jszip-utils pn node-katex ii node-lodash 4.17.21+dfsg+~cs8.31.189.20210220-1~bpo10+1 pn node-marked pn node-mermaid ii node-minimatch 3.0.4-3 pn node-mousetrap pn node-pdfjs-dist pn node-popper.js pn node-prismjs pn node-prosemirror-markdown pn node-prosemirror-model pn node-raven-js ii node-raw-loader 4.0.2-2~bpo10+1 pn node-style-loader pn node-three-orbit-controls pn node-three-stl-loader ii node-timeago.js 4.0.2-2~bpo10+1 pn node-underscore ii node-url-loader 4.1.1-3~bpo10+1 ii node-uuid 8.3.2+~8.3.0-1~bpo10+1 pn node-vue pn node-vue-resource pn node-vue-template-compiler pn node-webpack-stats-plugin ii node-worker-loader 3.0.5-2~bpo10+1 pn node-xterm ii nodejs 10.24.0~dfsg-1~deb10u1 pn ohai ii openssh-client 1:7.9p1-10+deb10u2 ii postgresql-client 11+200+deb10u4 ii postgresql-client-11 [postgres 11.12-0+deb10u1 pn postgresql-contrib pn puma ii rake12.3.1-3+deb10u1 pn redis-server pn ruby-ace-rails-ap pn ruby-acme-client ii ruby-actioncable [node-rails-a 2:6.0.3.7+dfsg-1~fto10+1 pn ruby-activerecord-explain-anal ii ruby-acts-as-taggable-on7.0.0-1~bpo10+1 pn ruby-addressable ii ruby-akismet3.0.0-1~bpo10+1 pn ruby-apollo-upload-server ii ruby-asana 0.10.3-1~bpo10+1 pn ruby-asciidoctor-include-ext pn ruby-asciidoctor-kroki ii ruby-asciidoctor-plantuml 0.0.12-1~bpo10+1 pn