T
Termux7mo ago
-1

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:
I managed to remove the error but not the warning by telling dpkg to not care with dpkg --remove --force-remove-reinstreq box64-android...
Jump to solution
9 Replies
twaik
twaik7mo ago
Probably you should simply clean up in your sources.list.d
-1
-1OP7mo ago
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.
twaik
twaik7mo ago
Probably because there is no binary-arm64 branches in our repositories.
-1
-1OP7mo ago
How do I tell that to pkg then ?
twaik
twaik7mo ago
Try apt install --reinstall apt.
-1
-1OP7mo ago
~ $ 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.
twaik
twaik7mo ago
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.
-1
-1OP7mo ago
guess that's the consequences of screwing around in proots it broke termux itself
Solution
-1
-17mo ago
I managed to remove the error but not the warning by telling dpkg to not care with dpkg --remove --force-remove-reinstreq box64-android
Want results from more Discord servers?
Add your server