Skip to content

ubuntu22.04 build vpp vm img error #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nanfengnan1 opened this issue Jan 17, 2025 · 9 comments
Open

ubuntu22.04 build vpp vm img error #150

nanfengnan1 opened this issue Jan 17, 2025 · 9 comments

Comments

@nanfengnan1
Copy link

alexan@alexan-PowerEdge-R740:/program/github/sonic/sonic-platform-vpp$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
alexan@alexan-PowerEdge-R740:
/program/github/sonic/sonic-platform-vpp$ uname -ra
Linux alexan-PowerEdge-R740 6.8.0-51-generic #5222.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
alexan@alexan-PowerEdge-R740:
/program/github/sonic/sonic-platform-vpp$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
sonic-slave-bookworm-alexan d7490192ee0 04285bd6d2b6 12 minutes ago 9.43GB
sonic-slave-bookworm-alexan 628599c5b24 39dd0efddade 3 hours ago 9.43GB
sonic-slave-bookworm 64170fff7d3 dd1b387775a1 3 hours ago 9.43GB
tmp-sonic-slave-bookworm 64170fff7d3 53844af66c37 3 hours ago 9.43GB
sonic-slave-bullseye-alexan 5035c0c8be2 fe9a9eccb0c0 4 hours ago 6.92GB
sonic-slave-bullseye 51488526f75 f776817a2bdf 4 hours ago 6.92GB
tmp-sonic-slave-bullseye 51488526f75 8be152c590d1 4 hours ago 6.92GB
sonic-slave-buster-alexan 7c1a1eaf9ab ba4c9139aa0f 5 hours ago 5.32GB
sonic-slave-buster b7372dc76d2 2c72114d4f33 5 hours ago 5.32GB
tmp-sonic-slave-buster b7372dc76d2 812137c1e422 5 hours ago 5.32GB
debian latest 30f245ccb05f 4 days ago 117MB
debian buster 69530eaa9e7e 7 months ago 115MB
publicmirror.azurecr.io/debian jessie 3aaeab7a4777 3 years ago 129MB

alexan@alexan-PowerEdge-R740:~/program/github/sonic/sonic-buildimage$ NOBULLSEYE=1 NOBUSTER=1 make SONIC_BUILD_JOBS=4 target/sonic-vpp.img.gz
+++ --- Making target/sonic-vpp.img.gz --- +++
./scripts/run_with_retry make BLDENV=bookworm -f Makefile.work target/sonic-vpp.img.gz
make[1]: Entering directory '/home/alexan/program/github/sonic/sonic-buildimage'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/program/github/sonic/sonic-buildimage/src/sonic-build-hooks ~/program/github/sonic/sonic-buildimage
make[2]: Entering directory '/home/alexan/program/github/sonic/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/home/alexan/program/github/sonic/sonic-buildimage/src/sonic-build-hooks'
~/program/github/sonic/sonic-buildimage
Checking sonic-slave-base image: sonic-slave-bookworm:64170fff7d3
Checking sonic-slave-user image: sonic-slave-bookworm-alexan:628599c5b24
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Can't find a source to download version '2.0.16-1' of 'libnuma1:amd64'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Can't find a source to download version '2.0.16-1' of 'libnuma1:amd64'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedcrypto3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedcrypto3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedx509-0
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedx509-0
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedtls12
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/debian.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list.d/debian.sources:2
E: Unable to locate package libmbedtls12
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "vpp"
"CONFIGURED_ARCH" : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "4"
"SONIC_CONFIG_MAKE_JOBS" : "48"
"USE_NATIVE_DOCKERD_FOR_BUILD" : ""
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "admin"
"PASSWORD" : "YourPaSsWoRd"
"CHANGE_DEFAULT_PASSWORD" : "n"
"SECURE_UPGRADE_MODE" : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY" : ""
"SECURE_UPGRADE_SIGNING_CERT" : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS" : ""
"ONIE_IMAGE_PART_SIZE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"SAITHRIFT_V2" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"NO_PROXY" : ""
"ENABLE_ZTP" : ""
"INCLUDE_PDE" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20250117.220956"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "master.0-dirty-20250117.220956"
"BLDENV" : "bookworm"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "y"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "n"
"INCLUDE_SYSTEM_GNMI" : "y"
"INCLUDE_SYSTEM_BMP" : "y"
"INCLUDE_SYSTEM_EVENTD" : "y"
"ENABLE_HOST_SERVICE_ON_START" : "y"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_DHCP_SERVER" : "n"
"INCLUDE_P4RT" : "n"
"INCLUDE_KUBERNETES" : "n"
"INCLUDE_KUBERNETES_MASTER" : "n"
"INCLUDE_MACSEC" : "y"
"INCLUDE_MUX" : "y"
"INCLUDE_TEAMD" : "y"
"INCLUDE_ROUTER_ADVERTISER" : "y"
"INCLUDE_BOOTCHART : "y"
"ENABLE_BOOTCHART : "n"
"INCLUDE_FIPS" : "y"
"ENABLE_TRANSLIB_WRITE" : ""
"ENABLE_NATIVE_WRITE" : "y"
"ENABLE_DIALOUT" : ""
"ENABLE_AUTO_TECH_SUPPORT" : "y"
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "deb,py2,py3,web,git,docker"
"ENABLE_ASAN" : "n"
"DEFAULT_CONTAINER_REGISTRY" : "publicmirror.azurecr.io/"
"CROSS_BUILD_ENVIRON" : "n"
"LEGACY_SONIC_MGMT_DOCKER" : "y"
"INCLUDE_EXTERNAL_PATCHES" : "n"
"PTF_ENV_PY_VER" : "mixed"
"ENABLE_MULTIDB" : ""

mv: cannot move '/etc/apt/sources.list.d/debian.sources' to '/etc/apt/sources.list.d/debian.sources.back': Permission denied
"SONIC_DPKG_CACHE_METHOD" : "none"

@nanfengnan1
Copy link
Author

alexan@alexan-PowerEdge-R740:~/program/github/sonic/sonic-buildimage$ make configure PLATFORM=vpp
+++ Cheking platform/vpp +++
+++ Making configure +++
BLDENV=buster make -f Makefile.work configure
make[1]: Entering directory '/home/alexan/program/github/sonic/sonic-buildimage'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/program/github/sonic/sonic-buildimage/src/sonic-build-hooks ~/program/github/sonic/sonic-buildimage
make[2]: Entering directory '/home/alexan/program/github/sonic/sonic-buildimage/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/home/alexan/program/github/sonic/sonic-buildimage/src/sonic-build-hooks'
~/program/github/sonic/sonic-buildimage
Checking sonic-slave-base image: sonic-slave-buster:b7372dc76d2
Checking sonic-slave-user image: sonic-slave-buster-alexan:7c1a1eaf9ab
E: Can't find a source to download version '2.0.12-1' of 'libnuma1:amd64'
E: Can't find a source to download version '2.0.12-1' of 'libnuma1:amd64'
E: Unable to locate package libmbedcrypto3
E: Unable to locate package libmbedcrypto3
E: Unable to locate package libmbedx509-0
E: Unable to locate package libmbedx509-0
E: Unable to locate package libmbedtls12
E: Unable to locate package libmbedtls12
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM" : "vpp"
"CONFIGURED_ARCH" : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS" : "1"
"SONIC_CONFIG_MAKE_JOBS" : "48"
"USE_NATIVE_DOCKERD_FOR_BUILD" : ""
"SONIC_USE_DOCKER_BUILDKIT" : ""
"USERNAME" : "admin"
"PASSWORD" : "YourPaSsWoRd"
"CHANGE_DEFAULT_PASSWORD" : "n"
"SECURE_UPGRADE_MODE" : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY" : ""
"SECURE_UPGRADE_SIGNING_CERT" : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS" : ""
"ONIE_IMAGE_PART_SIZE" : ""
"SHUTDOWN_BGP_ON_START" : ""
"ENABLE_PFCWD_ON_START" : ""
"SONIC_BUFFER_MODEL" : ""
"INSTALL_DEBUG_TOOLS" : ""
"ROUTING_STACK" : "frr"
"FRR_USER_UID" : "300"
"FRR_USER_GID" : "300"
"ENABLE_SYNCD_RPC" : ""
"SAITHRIFT_V2" : ""
"ENABLE_ORGANIZATION_EXTENSIONS" : "y"
"HTTP_PROXY" : ""
"HTTPS_PROXY" : ""
"NO_PROXY" : ""
"ENABLE_ZTP" : ""
"INCLUDE_PDE" : ""
"SONIC_DEBUGGING_ON" : ""
"SONIC_PROFILING_ON" : ""
"KERNEL_PROCURE_METHOD" : "build"
"BUILD_TIMESTAMP" : "20250117.221419"
"BUILD_LOG_TIMESTAMP" : "none"
"SONIC_IMAGE_VERSION" : "master.0-dirty-20250117.221419"
"BLDENV" : "buster"
"VS_PREPARE_MEM" : "yes"
"INCLUDE_MGMT_FRAMEWORK" : "y"
"INCLUDE_ICCPD" : "n"
"INCLUDE_SYSTEM_TELEMETRY" : "n"
"INCLUDE_SYSTEM_GNMI" : "y"
"INCLUDE_SYSTEM_BMP" : "y"
"INCLUDE_SYSTEM_EVENTD" : "y"
"ENABLE_HOST_SERVICE_ON_START" : "y"
"INCLUDE_RESTAPI" : "n"
"INCLUDE_SFLOW" : "y"
"INCLUDE_NAT" : "y"
"INCLUDE_DHCP_RELAY" : "y"
"INCLUDE_DHCP_SERVER" : "n"
"INCLUDE_P4RT" : "n"
"INCLUDE_KUBERNETES" : "n"
"INCLUDE_KUBERNETES_MASTER" : "n"
"INCLUDE_MACSEC" : "y"
"INCLUDE_MUX" : "y"
"INCLUDE_TEAMD" : "y"
"INCLUDE_ROUTER_ADVERTISER" : "y"
"INCLUDE_BOOTCHART : "y"
"ENABLE_BOOTCHART : "n"
"INCLUDE_FIPS" : "y"
"ENABLE_TRANSLIB_WRITE" : ""
"ENABLE_NATIVE_WRITE" : "y"
"ENABLE_DIALOUT" : ""
"ENABLE_AUTO_TECH_SUPPORT" : "y"
"PDDF_SUPPORT" : "y"
"MULTIARCH_QEMU_ENVIRON" : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "deb,py2,py3,web,git,docker"
"ENABLE_ASAN" : "n"
"DEFAULT_CONTAINER_REGISTRY" : "publicmirror.azurecr.io/"
"CROSS_BUILD_ENVIRON" : "n"
"LEGACY_SONIC_MGMT_DOCKER" : "y"
"INCLUDE_EXTERNAL_PATCHES" : "n"
"PTF_ENV_PY_VER" : "mixed"
"ENABLE_MULTIDB" : ""

@nanfengnan1
Copy link
Author

docker run -ti sonic-slave-bullseye-alexan:5035c0c8be2 bash
alexan@2e7c0f8abc53:/$ apt-get download --print-uris libnuma1 | cut -d " " -f2
E: Can't find a source to download version '2.0.12-1+b1' of 'libnuma1:amd64'
alexan@2e7c0f8abc53:/$ sudo apt-get download --print-uris libnuma1 | cut -d " " -f2
E: Can't find a source to download version '2.0.12-1+b1' of 'libnuma1:amd64'
alexan@2e7c0f8abc53:/$ apt search libnuma1
Sorting... Done
Full Text Search... Done
libnuma1/now 2.0.12-1+b1 amd64 [installed,local]
Libraries for controlling NUMA policy

alexan@2e7c0f8abc53:/$

@nanfengnan1
Copy link
Author

172 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'stable/source/Sources' as repository 'https://download.docker.com/linux/debian bullseye InRelease' does not seem to provide it (sources.list entry misspelt?)

@nanfengnan1
Copy link
Author

resolved methods:
alexan@alexan-PowerEdge-R740:~/program/github/sonic/sonic-buildimage$ docker run -ti sonic-slave-bullseye-alexan:5035c0c8be2 bash
alexan@b6d39bd63c27:/$ apt-get download --print-uris libnuma1 | cut -d " " -f2
E: Can't find a source to download version '2.0.12-1+b1' of 'libnuma1:amd64'
alexan@b6d39bd63c27:/$ apt update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
alexan@b6d39bd63c27:/$ sudo apt update
Hit:1 https://download.docker.com/linux/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:6 http://deb.debian.org/debian bullseye/main Sources [8500 kB]
Get:7 http://deb.debian.org/debian bullseye/contrib Sources [43.2 kB]
Get:8 http://deb.debian.org/debian bullseye/non-free Sources [81.0 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Get:10 http://deb.debian.org/debian bullseye/main all Contents (deb) [31.3 MB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 Contents (deb) [10.3 MB]
Get:12 http://deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:14 http://deb.debian.org/debian bullseye/contrib amd64 Contents (deb) [54.7 kB]
Get:15 http://deb.debian.org/debian bullseye/non-free amd64 Packages [96.4 kB]
Get:16 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [888 kB]
Get:17 http://deb.debian.org/debian bullseye/non-free amd64 Contents (deb) [81.1 kB]
Get:18 http://deb.debian.org/debian bullseye-updates/main Sources [7908 B]
Get:19 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:20 http://deb.debian.org/debian bullseye-updates/main amd64 Contents (deb) [88.3 kB]
Get:21 http://deb.debian.org/debian bullseye-updates/main all Contents (deb) [27.3 kB]
Get:22 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [403 kB]
Get:23 http://deb.debian.org/debian bullseye-backports/main amd64 Contents (deb) [1133 kB]
Get:24 http://deb.debian.org/debian bullseye-backports/main all Contents (deb) [4672 kB]
Get:25 http://deb.debian.org/debian bullseye-backports/contrib amd64 Packages [6164 B]
Get:26 http://deb.debian.org/debian bullseye-backports/contrib all Contents (deb) [22.2 kB]
Get:27 http://deb.debian.org/debian bullseye-backports/contrib amd64 Contents (deb) [17.3 kB]
Get:28 http://deb.debian.org/debian bullseye-backports/non-free amd64 Packages [14.4 kB]
Get:29 http://deb.debian.org/debian bullseye-backports/non-free amd64 Contents (deb) [11.5 kB]
Get:30 http://deb.debian.org/debian bullseye-backports/non-free all Contents (deb) [58.5 kB]
Get:31 http://deb.debian.org/debian-security bullseye-security/main Sources [226 kB]
Get:32 http://deb.debian.org/debian-security bullseye-security/non-free Sources [1352 B]
Get:33 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [334 kB]
Get:34 http://deb.debian.org/debian-security bullseye-security/non-free amd64 Packages [1164 B]
Fetched 66.8 MB in 57s (1165 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
172 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'stable/source/Sources' as repository 'https://download.docker.com/linux/debian bullseye InRelease' does not seem to provide it (sources.list entry misspelt?)
alexan@b6d39bd63c27:/$ apt update^C
alexan@b6d39bd63c27:/$ apt-get download --print-uris libnuma1 | cut -d " " -f2
libnuma1_2.0.12-1+b1_amd64.deb

@linqingxuan
Copy link
Contributor

First, I suggest you change the source. Secondly, I recommend you use:

~ ❯ make configure PLATFORM=vpp NOBULLSEYE=1 NOBUSTER=1

@nanfengnan1
Copy link
Author

First, I suggest you change the source. Secondly, I recommend you use:

~ ❯ make configure PLATFORM=vpp NOBULLSEYE=1 NOBUSTER=1

Hi, lingqingqxuan,
which source I shall use?

@nanfengnan1
Copy link
Author

alexan@alexan-PowerEdge-R740:/program/github/sonic/sonic-platform-vpp$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cf9b3652e781 sonic-slave-bookworm-alexan:628599c5b24 "bash -c 'make -f sl…" About a minute ago Up About a minute 22/tcp reverent_babbage
1e59b4f76c0d alexan/vpp:latest "bash" 3 days ago Up 3 days ovs
fbd73dc2be6b alexan/vpp:latest "bash" 4 days ago Up 4 days frr
790b3d34e28d alexan/vpp:latest "bash" 4 days ago Up 4 days vpp
alexan@alexan-PowerEdge-R740:
/program/github/sonic/sonic-platform-vpp$ docker exec -ti reverent_babbage bash
alexan@cf9b3652e781:/sonic$ apt update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
alexan@cf9b3652e781:/sonic$

@linqingxuan
Copy link
Contributor

Are you in China? If you are in China, I recommend you to change the following script

cat scripts/build_mirror_config.sh
DEFAULT_MIRROR_URLS=https://mirrors.tuna.tsinghua.edu.cn/debian/
DEFAULT_MIRROR_SECURITY_URLS=https://mirrors.tuna.tsinghua.edu.cn/debian-security/

@nanfengnan1
Copy link
Author

nanfengnan1 commented Jan 28, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants