alpinelinux / docker-alpine

Official Alpine Linux Docker image. Win at minimalism!
MIT License
1.04k stars 261 forks source link

Command "apk upgrade --no-cache" fail on arm64 for version 20220715 #274

Closed kambo-1st closed 1 year ago

kambo-1st commented 1 year ago

Command "apk upgrade --no-cache" fail on arm64 platform for alpine version 20220715 with error message: "Error while loading /usr/local/sbin/apk: No such file or directory"

 > [linux/arm64 stage-1  2/13] RUN apk upgrade --no-cache && echo 2:                                                                                                   
#0 0.216 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz                                                                                 
#0 3.574 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz                                                                            
#0 5.061 Upgrading critical system libraries and apk-tools:                                                                                                            
#0 5.061 (1/6) Purging ssl_client (1.35.0-r18)                                                                                                                         
#0 5.063 (2/6) Installing libcrypto3 (3.0.5-r2)                                                                                                                        
#0 5.635 (3/6) Installing libssl3 (3.0.5-r2)                                                                                                                           
#0 5.781 (4/6) Upgrading apk-tools (2.12.9-r5 -> 2.12.9-r6)                                                                                                            
#0 5.876 (5/6) Purging libssl1.1 (1.1.1q-r0)                                                                                                                           
#0 5.876 (6/6) Purging libcrypto1.1 (1.1.1q-r0)                                                                                                                        
#0 5.879 Executing busybox-1.35.0-r18.trigger                                                                                                                          
#0 6.097 Continuing the upgrade transaction with new apk-tools:                                                                                                        
#0 6.098 Error while loading /usr/local/sbin/apk: No such file or directory