-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
I found that some of my custom builds fail due to server error during apt-get install.
Here's an example:
Get:926 http://mirror.glennmcgurrin.com/raspbian stretch/main armhf vlan armhf 1.9-3.2 [36.1 kB]
Fetched 589 MB in 4min 28s (2190 kB/s)
E: Failed to fetch http://mirror.glennmcgurrin.com/raspbian/pool/main/libx/libxrender/libxrender1_0.9.10-1_armhf.deb 400 Bad request
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
From the build.sh script:
Lines 28 to 37 in 8d9cfb3
| if [ -f "${i}-packages" ]; then | |
| log "Begin ${SUB_STAGE_DIR}/${i}-packages" | |
| PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages")" | |
| if [ -n "$PACKAGES" ]; then | |
| on_chroot << EOF | |
| apt-get install -y $PACKAGES | |
| EOF | |
| fi | |
| log "End ${SUB_STAGE_DIR}/${i}-packages" | |
| fi |
The script doesnt check if all the packages were correctly installed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels