Open 404oops opened 3 years ago
We have no plans to change the default repositories in iSH at this time. That being said, we would very much like to hear more about APKINDEX not downloading: is this something that you can consistently reproduce? Are you behind a firewall or any other non-standard network connection?
I'm on an iPad, the connection is not limited, nor throttled via Xcode
I could confirmed this issue ,but I “fixed” it
wangbaoshandeiPad:~# grep -v "file:///ish/apk/" /etc/apk/repositories | dd of=/etc/apk/repositories bs=4194304
0+0 records in
0+0 records out
wangbaoshandeiPad:~# echo https://dl-cdn.alpinelinux.org/alpine/v3.13/main >> /etc/apk/repositories
wangbaoshandeiPad:~# echo https://dl-cdn.alpinelinux.org/alpine/v3.13/community >> /etc/apk/repositories
wangbaoshandeiPad:~#
wangbaoshandeiPad:~#
2. Then I run `apk update`
wangbaoshandeiPad:~# apk update fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/main: Permission denied WARNING: Ignoring APKINDEX.32aecc44.tar.gz: No such file or directory fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/community: Permission denied WARNING: Ignoring APKINDEX.c77b2f80.tar.gz: No such file or directory 2 errors; 29 distinct packages available
3. I tried to run `apk search`
wangbaoshandeiPad:~# apk search ssh WARNING: Ignoring APKINDEX.32aecc44.tar.gz: No such file or directory WARNING: Ignoring APKINDEX.c77b2f80.tar.gz: No such file or directory
4. at the end I clear the contents in `/etc/apk/repositories` ,and added the repo mannually
wangbaoshandeiPad:~# vi /etc/apk/repositories wangbaoshandeiPad:~# apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86/APKINDEX.tar.gz v3.13.0-127-g9cfb48d2a1 [http://dl-cdn.alpinelinux.org/alpine/v3.13/main] v3.13.0-136-g7cf49de2ec [http://dl-cdn.alpinelinux.org/alpine/v3.13/community] OK: 13572 distinct packages available
It’s successful.
5. `apk search ssh` as good.
My 200mbps internet won't budge when it comes to downloading APKINDEX files, so these repos might be useful for future releases: