Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execv failed (no such file or directoy) #2

Closed
ghost opened this issue Mar 12, 2018 · 5 comments
Closed

Execv failed (no such file or directoy) #2

ghost opened this issue Mar 12, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 12, 2018

Execv failed always comes up while installing any package and also during installation in armhf

@SDRausty
Copy link
Owner

Details are requested. Post your input and output along with system information. Use setupTermuxArch.sh --sysinfo to provide system information.

@ghost
Copy link
Author

ghost commented Mar 13, 2018

Thats i am getting after installing any package like I ran pacman -S nmap, after the installation it gives following error:
call to execv failed (No such file or directory) error: command failed to execute correctly :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... call to execv failed (No such file or directory) error: command failed to execute correctly (2/2) Updating the desktop file MIME type cache... call to execv failed (No such file or directory) error: command failed to execute correctly
And your commnand setupTermuxArch.sh --sysinfo isn't working( command not found)

@SDRausty
Copy link
Owner

SDRausty commented Mar 13, 2018

@Arindamname more information is wanted to better understand this issue. There is no error like this on aarch64 and armv7. Use bash setupTermuxArch.sh sysinfo to give the information that was requested.

along with system information.

Use termux-info too. More information about the device architecture is wanted to turn puzzle into a potential resolution. Do not hesitate to add screenshots.

!!
pacman -S nmap
resolving dependencies...
looking for conflicting packages...

Packages (2) lua52-5.2.4-2  nmap-7.60-1

Total Installed Size:  27.48 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                         [############################] 100%
(2/2) checking package integrity                       [############################] 100%
(2/2) loading package files                            [############################] 100%
(2/2) checking for file conflicts                      [############################] 100%
(2/2) checking available disk space                    [############################] 100%
:: Processing package changes...
(1/2) installing lua52                                 [############################] 100%
(2/2) installing nmap                                  [############################] 100%
Optional dependencies for nmap
    pygtk: zenmap
    sudo: privilege escalation for zenmap
    xterm: privilege escalation for zenmap
    kde-cli-tools: privilege escalation for zenmap
    gksu: privilege escalation for zenmap
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[04:12 home ]$ namp --version
bash: namp: command not found
[04:12 home ]$ nmap --version

Nmap version 7.60 ( https://nmap.org )
Platform: armv7l-unknown-linux-gnueabihf
Compiled with: nmap-liblua-5.3.3 openssl-1.1.0f libssh2-1.8.0 libz-1.2.8 libpcre-8.41 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select
[04:12 home ]$ nmap --help
Nmap 7.60 ( https://nmap.org )
Usage: nmap [Scan Type(s)] [Options] {target specification}
TARGET SPECIFICATION:
  Can pass hostnames, IP addresses, networks, etc.

The exec error origin is unkown. Provide the device architecture (include the Arch Linux system image download name) to help turn a puzzle into a possible resolution.

@jlebonzec
Copy link

Hello!

Since this issue comes second when searching for "archlinux execv not found", Here's the solution that worked for me, even though it is unrelated to this repository:

sudo pacman -S pacman-contrib

Remember: don't do partial upgrades, and upgrade more often.

I hope that helps some people.

PS: If it annoys you, feel free to remove the comment even without telling me, @SDRausty. :)

@SDRausty
Copy link
Owner

This commit adds support for pacman-contrib in all available architectures. Thank you for sharing @jlebonzec 🔔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants