I think I broke pkg upgrade (solved)
pkg upgrade
Checking availability of current mirror:
[*] https://mirror.mwt.me/termux/main: ok
Hit:2 https://mirror.mwt.me/termux/main stable InRelease
Hit:3 https://mirror.mwt.me/termux/root root InRelease
Hit:4 https://mirror.mwt.me/termux/x11 x11 InRelease
Hit:1 https://turdl.kcubeterm.com tur-packages InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://mirror.mwt.me/termux/main stable InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'stable/binary-arm64/Packages' as repository 'https://mirror.mwt.me/termux/root root InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://mirror.mwt.me/termux/x11 x11 InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'tur/binary-arm64/Packages' as repository 'https://tur.kcubeterm.com tur-packages InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'tur-on-device/binary-arm64/Packages' as repository 'https://tur.kcubeterm.com tur-packages InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'tur-continuous/binary-arm64/Packages' as repository 'https://tur.kcubeterm.com tur-packages InRelease' doesn't support architecture 'arm64'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package box64-android:arm64 needs to be reinstalled, but I can't find an archive for it.
Anyone can help ?
MWT's Mirror
Infrastructure for open source software maintained by Matthew W. Thomas.
MWT's Mirror
Infrastructure for open source software maintained by Matthew W. Thomas.
MWT's Mirror
Infrastructure for open source software maintained by Matthew W. Thomas.
Solution:Jump to solution
I managed to remove the error but not the warning by telling dpkg to not care with
dpkg --remove --force-remove-reinstreq box64-android...
9 Replies
Probably you should simply clean up in your sources.list.d
I deleted everything, I still get the errors/warnings :
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://mirror.fcix.net/termux/termux-main stable InRelease' doesn't support architecture 'arm64'
and
E: The package box64-android:arm64 needs to be reinstalled, but I can't find an archive for it.
Probably because there is no 
binary-arm64 branches in our repositories.How do I tell that to pkg then ?
Try 
apt install --reinstall apt.~ $ apt install --reinstall apt
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: The package box64-android:arm64 needs to be reinstalled, but I can't find an archive for it.
And if that works try 
apt install --reinstall x11-repo and the same thing with glibc-repo, root-repo, tur-repo in the case you use them.
apt purge box64-android
I do not know where you got this but it is broken.guess that's the consequences of screwing around in proots
it broke termux itself
Solution
I managed to remove the error but not the warning by telling dpkg to not care with
dpkg --remove --force-remove-reinstreq box64-android