Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Image base "Ubuntu Server 20.04 LTS" apply Artifact "Node.js" will fail.

Đang mở
#671 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, ubuntu
Lĩnh vực
devops

Hướng nghiên cứu

Bắt đầu với Artifacts/linux-install-nodejs/linux_install_nodejs_v1.sh, đặc biệt là dòng 17, và tái hiện việc cài đặt artifact trên một VM Ubuntu Server 20.04 LTS. Kiểm tra lệnh thiết lập NodeSource và lỗi hỗ trợ bản phân phối mà lệnh này báo cáo. Hoàn tất khi artifact Node.js được bật thành công trên image đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

artifacts bug

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]

Ngôn ngữ chính
PowerShell
Star
465
Fork
595
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-devtestlab

Tất cả issue của Azure/azure-devtestlab

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.