I tried to run pkg in git - y and after a while it gave me this error:
Reading package lists... Error! E: Unable to parse package file /data/data/com.termux/files/usr/var/lib/dpkg/status (1) W: You may want to run apt-get update to correct these problems E: The package cache file is corrupted ~ $ apt-get update Hit:1 https://is.mirror.flokinet.net/termux/termux-main stable InRelease Reading package lists... Error! E: Unable to parse package file /data/data/com.termux/files/usr/var/lib/dpkg/status (1) W: You may want to run apt-get update to correct these problems E: The package cache file is corrupted ~ $