termux-pacman / pacman-for-termux

Special configured pacman for termux.
https://termux-pacman.dev
MIT License
64 stars 6 forks source link

error: command terminated by signal 31: Bad system call #4

Closed Maxython closed 3 years ago

Maxython commented 3 years ago

Some packages from pacman show this error after installation. For example the archlinuxarm-keyring package.
Screenshot_20210522-142308_Termux At the moment, it is not clear why this error is displayed, and the addition to this is the package itself is installed.

Maxython commented 3 years ago

After examining the code and running pacman in chroot and proot. I can conclude that the error is probably due to the root setting.
Errors on chroot and proot are completely different.

Chroot(termux-chroot)

Screenshot_20210523-001704_Termux

Proot(proot -0)

Screenshot_20210523-001712_Termux

Maxython commented 3 years ago

The bug has been fixed. util.c