-
-
Notifications
You must be signed in to change notification settings - Fork 140
Raspberry Pi build fails #727
Copy link
Copy link
Closed
Description
What Happened?
The latest Raspberry Pi image build fails with the following error:
I: Retrieving xxd 2:9.1.0016-1ubuntu7
I: Validating xxd 2:9.1.0016-1ubuntu7
I: Retrieving zlib1g 1:1.3.dfsg-3.1ubuntu2
I: Validating zlib1g 1:1.3.dfsg-3.1ubuntu2
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting base-files...
E: Tried to extract package, but file already exists. Exit...
Error: Process completed with exit code 1.
I can reproduce this by building the image locally and according to the debootstrap.log this is the same issue with https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925
[ryo@b760m ~/work/elementary/os (ryonakano/rpi-fix-build $)]$ docker run --rm --privileged -it \
-v /proc:/proc \
-v ${PWD}:/working_dir \
-w /working_dir \
ubuntu:20.04
root@e9b961854ea7:/working_dir# tail -n5 artifacts/elementary-rpi/elementary-arm64/debootstrap/debootstrap.log
2024-11-03 06:22:46 URL:http://ports.ubuntu.com/ubuntu-ports/pool/main/z/zlib/zlib1g_1.3.dfsg-3.1ubuntu2_arm64.deb [61682/61682] -> "/working_dir/artifacts/elementary-rpi/elementary-arm64//var/cache/apt/archives/partial/zlib1g_1%3a1.3.dfsg-3.1ubuntu2_arm64.deb" [1]
tar: ./bin: Cannot create symlink to 'usr/bin': File exists
tar: ./lib: Cannot create symlink to 'usr/lib': File exists
tar: ./sbin: Cannot create symlink to 'usr/sbin': File exists
tar: Exiting with failure status due to previous errors
root@e9b961854ea7:/working_dir#
Steps to Reproduce
- See the latest build log
- Alternatively try building the Raspberry Pi image locally
Expected Behavior
The build succeeds.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels