Image base "Ubuntu Server 20.04 LTS" apply Artifact "Node.js" will fail.
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- node.js, ubuntu
- 领域
- devops
调研方向
从 Artifacts/linux-install-nodejs/linux_install_nodejs_v1.sh 开始,重点查看第 17 行,并在 Ubuntu Server 20.04 LTS VM 上复现 artifact 安装过程。检查 NodeSource 设置命令及其报告的发行版支持失败。只有当 Node.js artifact 在该镜像上成功启用时,才算完成。
由索引模型根据 Issue 内容生成。
描述
Steps to reproduce:
Use a DTL and artifacts from official repo;
Create a Linux VM;
Apply the artifact "Node.js".
Expected Behavior:
Node.js installed successfully.
Actual Behavior:
Installation will be failed.
Related to line 17 in Artifacts/linux-install-nodejs/linux_install_nodejs_v1.sh:
curl --silent --location https://deb.nodesource.com/setup_4.x | bash -
Extension Message:
Enable failed: failed to execute command: command terminated with exit status=1 [stdout] l-updates/universe amd64 c-n-f Metadata [4112 B] Get:19 http://azure.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [1172 B] Get:20 http://azure.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [540 B] Get:21 http://azure.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [116 B] Get:22 http://azure.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B] Get:23 http://azure.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B] Get:24 http://azure.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [2784 B] Get:25 http://azure.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1272 B] Get:26 http://azure.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [192 B] Get:27 http://azure.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B] Get:28 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [106 kB] Get:29 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [40.1 kB] Get:30 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [2764 B] Get:31 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [11.0 kB] Get:32 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [3000 B] Get:33 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [35.5 kB] Get:34 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [17.7 kB] Get:35 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [1612 B] Get:36 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1172 B] Get:37 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [540 B] Get:38 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B] Fetched 15.3 MB in 6s (2670 kB/s) Reading package lists... ================================================================================ ================================================================================ DEPRECATION WARNING Node.js 4.x LTS Argon is no longer actively supported! You will not receive security or critical stability updates for this version. You should migrate to a supported version of Node.js as soon as possible. Use the installation script that corresponds to the version of Node.js you wish to install. e.g. * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium" * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended) * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium" Please see https://github.com/nodejs/Release for details about which version may be appropriate for you. The NodeSource Node.js distributions repository contains information both about supported versions of Node.js and supported Linux distributions. To learn more about usage, see the repository: https://github.com/nodesource/distributions ================================================================================ ================================================================================ Continuing in 20 seconds ... ## Installing the NodeSource Node.js 4.x LTS Argon repo... ## Populating apt-get cache... + apt-get update Hit:1 http://azure.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease Reading package lists... ## Confirming "focal" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/focal/Release' ## Your distribution, identified as "focal", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support [stderr]
- 主要语言
- PowerShell
- 星标
- 465
- 派生
- 595
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/azure-devtestlab 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
Azure/azure-devtestlab#911 ·
-
难度 5/5 一周以上 新手友好度 35/100
Azure/azure-devtestlab#914 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Azure/azure-devtestlab#912 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Azure/azure-devtestlab#909 ·
-
难度 4/5 3-5 天 新手友好度 35/100
Azure/azure-devtestlab#905 ·
查看 Azure/azure-devtestlab 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
track:release
难度 2/5 1-3 小时 新手友好度 80/100
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudnative-pg/plugin-barman-cloud#1187 ·
维护者通常 1 天内回复
-
security
难度 2/5 1-3 小时 新手友好度 65/100
IBM/bob-oic-tutorials#24 ·
维护者通常 1 天内回复
-
automated issue report
难度 2/5 1-3 小时 新手友好度 66/100
a2aproject/A2A#2389 ·
维护者通常 4 天内回复