You are not logged in.
Hi,
I've tried to install a couple packages from the AUR, but when I run "makepkg -s", I get this error:
/usr/bin/env: No such file or directory
make: *** [install] Error 127
==> ERROR: A failure occurred in package().
Aborting...
I'm sorry if this is something terribly simple, but I can't find any mention of /usr/bin/env anywhere.
I have coreutils installed, which I believe env is part of.
Thank you for any help!
Last edited by dluco (2013-09-24 01:37:11)
Offline
Is /usr/bin/env present in your system?
What's the output of
file /usr/bin/env
uname -m
Last edited by karol (2013-09-11 21:18:55)
Offline
This is a longshot guess, but did you have issues with (or just ignore) the not-so-recent manual intervention update for the binaries move?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
@karol, this is what I got:
$ file /usr/bin/env
/usr/bin/env: ERROR: cannot open `/usr/bin/env' (No such file or directory)
$ uname -m
i686
@Trilby, I had no idea that there was a manual intervention update, so it would be safe to say that I might be having issues with it... What is it exactly/where can I find info on it?
Offline
The /usr/bin/env is provided by the coreutils package.
You didn't run into issues when there was the move from /bin, /sbin, /usr/sbin → /usr/bin ? This happened back in the beginning of June! You need to read the front page news.
If this is the case, I am venturing to guess that your system is probably not actually up to date, and even that you might have been doing partial updates for some time now…
Edit: Check /bin, /sbin, and /usr/sbin and see if they are symlinks pointing to /usr/bin. If they are, you apparently made it through that update unscathed. If they are not, well…
Last edited by WonderWoofy (2013-09-23 16:25:19)
Offline
env is part of coreutils and has been at /usr/bin/env since Aug 2012. Either your installation is damaged or it's extremely out of date.
Last edited by Scimmia (2013-09-23 16:28:19)
Online
All of /bin, /sbin, and /usr/sbin point to /usr/bin, so I guess that's okay! My installation is relatively new (~1 month), so I never had to do a manual intervention.
Is it possible to reinstall coreutils, or is my installation toast?
Offline
"pacman -Syu coreutils" should get you up and going, just watch for other problems cropping up. Could be anything from an accidental deletion to a bad disk.
Last edited by Scimmia (2013-09-23 16:43:58)
Online
It all works perfectly now!
I'm not sure what caused env to be missing, but reinstalling coreutils fixed it.
Thank you everyone!
Offline