You may have deleted the whole /usr/local
directory unintentionally, plese run sudo /usr/bin/stateful_update_wrapper.sh recover
, wait for the script to finish, then reboot and try to install OpenGapps again.
1 Like