Skip to content

[Bug]: Neovim v0.11.2-1 Fails with "Permission denied" from /libexec/nvim + Repeated makewhatis Warnings!! #25211

@Chandramauli-Arm64

Description

@Chandramauli-Arm64

Problem description

After updating to Neovim v0.11.2-1 on Termux (Android 15), launching nvim, vi fails with:

exec: /data/data/com.termux/files/usr/libexec/nvim: Permission denied

The previous version, v0.11.1, worked flawlessly under the same environment.

What steps will reproduce the bug?

  • Update or install neovim.

  • Run any of the following:
    nvim or vi

  • Observe error:
    /data/data/com.termux/files/usr/bin/nvim: 13: exec: /data/data/com.termux/files/usr/libexec/nvim: Permission denied

  • Manually executing the full binary works fine:

/data/data/com.termux/files/usr/libexec/nvim/nvim

  • Here is the output what I got after updating packages:
    update-alternatives: using /data/data/com.termux/files/usr/bin/nvim to provide /data/data/com.termux/files/usr/bin/vim (vim) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: using /data/data/com.termux/files/usr/libexec/nvim/ex to provide /data/data/com.termux/files/usr/bin/ex (ex) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: using /data/data/com.termux/files/usr/libexec/nvim/view to provide /data/data/com.termux/files/usr/bin/view (view) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: using /data/data/com.termux/files/usr/libexec/nvim/vimdiff to provide /data/data/com.termux/files/usr/bin/vimdiff (vimdiff) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: using /data/data/com.termux/files/usr/libexec/nvim/vimtutor to provide /data/data/com.termux/files/usr/bin/vimtutor (vimtutor) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage database
    update-alternatives: using /data/data/com.termux/files/usr/bin/nvim to provide /data/data/com.termux/files/usr/bin/vi (vi) in auto mode
    update-alternatives: warning: failed to detect 'makewhatis', not updating manpage databases

What is the expected behavior?

  • nvim or vi should invoke the correct Neovim binary without Permission denied.

  • makewhatis errors should not appear if manpage handling is not in use (Termux typically omits them).

System information

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=32680
TERMUX_APP__BUILD_DATA_DIR=/data/data/com.termux
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c30,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.2
TERMUX__HOME=/data/data/com.termux/files/home
TERMUX__PREFIX=/data/data/com.termux/files/usr
TERMUX__ROOTFS=/data/data/com.termux/files
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c30,c257,c512,c768
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.in.sahilister.net/termux/termux-main/ stable main
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 6.6.30-android15-8-o-g90e75faa3914-4k #1 SMP PREEMPT Thu May  8 08:48:51 UTC 2025 aarch64 Android
Device manufacturer:
realme
Device model:
RMX3870
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.styling versionCode:1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething is not working properly

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions