I tried installing Termux Ubuntu on ChromeOS without developer mode or root privileges, and was successful until then. I accessed an Ubuntu shell from termux, but dpkg returns this error for each package, rendering the system unusable. This is the output of "apt install nano"
root @ localhost: ~ # apt install nano
Read package lists … Done
Create dependency tree
Status information is read … Done
The following NEW packages will be installed:
0 updated, 1 reinstalled, 0 removed and 0 not updated.
Requires 243 kB archives.
After this process, 823 KB of additional space will be used.
Get: 1 http://archive.ubuntu.com/ubuntu bionic / main i386 nano i386 2.9.3-2 (243 kB)
Retrieved 243 kB in 1s (198 kB / s)
debconf: Delay package configuration because apt-utils is not installed
E: setting in start via TCSAFLUSH for stdin failed! – tcsetattr (13: permission denied)
dpkg-deb: unrecoverable fatal error, crash:
Waiting for tar subprocess failed: unknown error 512
dpkg: Error while processing the archive /var/cache/apt/archives/nano_2.9.3-2_i386.deb (–unpack):
dpkg-deb –control subprocess returned error completion status 2
There were errors during processing:
tar:.: Can not mkdir: No such file or directory
tar: ./conffiles: Can not open: No such file or directory
tar: ./control: Can not open: No such file or directory
tar: ./md5sums: Can not open: No such file or directory
tar: ./postinst: Can not open: No such file or directory
tar: ./prerm: Can not open: No such file or directory
tar: Stop with error status due to previous error
E: subprocess / usr / bin / dpkg returned an error code (1)