pdk
데비안 불스아이에 외부 패키지를 설치하려고 합니다. 따르다공식 설명나는 다음을 수행했습니다.
wget https://apt.puppet.com/puppet-tools-release-bullseye.deb
dpkg -i puppet-tools-release-bullseye.deb
apt-get update
apt-get install pdk
새 도커 이미지에서 수행한 모든 단계는 다음과 같습니다 debian:bullseye
.
- 패키지 목록 업데이트 및 wget 설치
root@fb976189c8c6:/# apt-get update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 Packages [7951 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [250 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [14.9 kB]
Fetched 8424 kB in 2s (4213 kB/s)
Reading package lists... Done
root@fb976189c8c6:/# apt-get install wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ca-certificates libpsl5 openssl publicsuffix
The following NEW packages will be installed:
ca-certificates libpsl5 openssl publicsuffix wget
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2126 kB of archives.
After this operation, 5853 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bullseye/main arm64 openssl arm64 1.1.1w-0+deb11u1 [837 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 ca-certificates all 20210119 [158 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 libpsl5 arm64 0.21.0-1.2 [57.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 wget arm64 1.21-1+deb11u1 [946 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 publicsuffix all 20220811.1734-0+deb11u1 [127 kB]
Fetched 2126 kB in 0s (5603 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package openssl.
(Reading database ... 6656 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1w-0+deb11u1_arm64.deb ...
Unpacking openssl (1.1.1w-0+deb11u1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20210119_all.deb ...
Unpacking ca-certificates (20210119) ...
Selecting previously unselected package libpsl5:arm64.
Preparing to unpack .../libpsl5_0.21.0-1.2_arm64.deb ...
Unpacking libpsl5:arm64 (0.21.0-1.2) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.21-1+deb11u1_arm64.deb ...
Unpacking wget (1.21-1+deb11u1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../publicsuffix_20220811.1734-0+deb11u1_all.deb ...
Unpacking publicsuffix (20220811.1734-0+deb11u1) ...
Setting up libpsl5:arm64 (0.21.0-1.2) ...
Setting up wget (1.21-1+deb11u1) ...
Setting up openssl (1.1.1w-0+deb11u1) ...
Setting up publicsuffix (20220811.1734-0+deb11u1) ...
Setting up ca-certificates (20210119) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Processing triggers for libc-bin (2.31-13+deb11u7) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
- 다운로드
puppet-tools-release-bullseye.deb
root@fb976189c8c6:/# wget https://apt.puppet.com/puppet-tools-release-bullseye.deb
--2023-10-13 07:10:35-- https://apt.puppet.com/puppet-tools-release-bullseye.deb
Resolving apt.puppet.com (apt.puppet.com)... 18.173.154.43, 18.173.154.87, 18.173.154.2, ...
Connecting to apt.puppet.com (apt.puppet.com)|18.173.154.43|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11772 (11K) [application/x-debian-package]
Saving to: 'puppet-tools-release-bullseye.deb'
puppet-tools-release-bullseye.deb 100%[===================================================================================================================================================================>] 11.50K --.-KB/s in 0.002s
2023-10-13 07:10:36 (4.85 MB/s) - 'puppet-tools-release-bullseye.deb' saved [11772/11772]
- 설치
puppet-tools-release-bullseye.deb
root@fb976189c8c6:/# dpkg -i puppet-tools-release-bullseye.deb
Selecting previously unselected package puppet-tools-release.
(Reading database ... 7074 files and directories currently installed.)
Preparing to unpack puppet-tools-release-bullseye.deb ...
Unpacking puppet-tools-release (1.0.0-9bullseye) ...
Setting up puppet-tools-release (1.0.0-9bullseye) ...
- 패키지 목록을 다시 업데이트하고 설치해 보세요.
pdk
root@fb976189c8c6:/# apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 http://apt.puppet.com bullseye InRelease [83.7 kB]
Get:5 http://apt.puppet.com bullseye/puppet-tools arm64 Packages [549 B]
Get:6 http://apt.puppet.com bullseye/puppet-tools all Packages [549 B]
Fetched 84.8 kB in 1s (95.3 kB/s)
Reading package lists... Done
root@fb976189c8c6:/# apt-get install pdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package pdk
마지막 명령을 실행한 후 다음 오류가 발생합니다.
E: Unable to locate package pdk
pdk
또한 사용 가능한 패키지 목록()에서도 해당 패키지를 찾을 수 없습니다 apt list
.
내가 뭘 잘못했나요?
답변1
pdk
arm64 버전의 Buster에는 사용할 수 있는 패키지 가 없습니다 . amd64 버전만 출시된 것 같습니다. 여기에서 사용 가능한 패키지를 볼 수 있습니다.
http://apt.puppet.com/pool/bullseye/puppet-tools/p/pdk/index.html
직접 빌드해 보거나 Arm 빌드가 가능한 다른 배포판, 아키텍처 또는 버전을 사용할 수 있습니다. 저는 인형에 대해 잘 알지 못하며 귀하의 질문 범위를 벗어납니다. 팔 빌드를 진행하는 방법을 보려면 인형 문서를 참조해야 합니다.