You are not logged in.

#1 2008-08-15 18:44:42

Lickwid
Member
Registered: 2008-08-15
Posts: 4

Newly installed packages: "No such file or directory"

Hi there, Arch newbie here, and I'm having a problem setting up my system correctly. It seems that everytime I install a new package, it can never be found by Arch. I've downloaded quite a few packages including alsa-utils and X from the official repositories and whenever I try to run alsamixer, or "Xorg -configure," the system gives me this error:

-bash: /usr/bin/name: No such file or directory

Initially I thought this might be a problem with Pacman so I decided to use "pacman -Syu" to update my system, now it gives me the same error when I try to run pacman! Any ideas what may be causing this? Any help would be appreciated.

Fyi: I'm running archlinux-2008.06-core-x86_64 smile

Edit: Oh, it might also be worth mentioned that when I use the command "which name" (where name obviously is the name of the program in question, for example pacman), I always get back a directory for that program. It's a bit strange though, since I can never actually run the program even when I use its full path.

Last edited by Lickwid (2008-08-15 18:47:12)

Offline

#2 2008-08-16 21:28:03

tuxing
Member
From: Berlin/Germany
Registered: 2007-06-27
Posts: 34

Re: Newly installed packages: "No such file or directory"

hello Lickwid!

you wrote problems on SETTING up archlinux:

if you're within the initial setup routine -- started by '/arch/setup' -- then note that everythng you do manually will be done in the initram disk only!

THAN:
look where your real harddisk partition is mounted on -- maybe /mnt/root .
When you install pkgs manually you need to tell pacman WHERE it should be installed to:
e.g. /mnt/root/usr/bin

I would recommend:
-- 1. run strait through the setup routine, step by step, no extra packages.
-- 2. reboot your freshly set up system.
-- 3. now you can install extra packages

This is much simpler, as the system is correctly setup according to your installation.

greez!


GNU/Linux is not only another operating system. It is freedom from any point view!

Offline

#3 2008-08-16 21:54:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Newly installed packages: "No such file or directory"

if pacman doesn't work...how are you installing anything?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2008-09-03 18:08:40

Lickwid
Member
Registered: 2008-08-15
Posts: 4

Re: Newly installed packages: "No such file or directory"

Thanks for replying guys, first of all:

@Tuxing: I am installing and upgrading packages after the initial setup (meaning i've installed the core packages, rebooted, etc.)

@Inxsible: Pacman only stops functioning when I upgrade it, just like everything else.

Does anybody have any ideas about this? It's getting very frustrating sad

Offline

#5 2008-09-03 18:42:49

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Newly installed packages: "No such file or directory"

maybe your PATH is set wrong? Try reinstalling bash, maybe it got corrupted.

Offline

#6 2008-09-03 18:43:37

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: Newly installed packages: "No such file or directory"

-bash: /usr/bin/name: No such file or directory

There is apparently an exec called "/usr/bin/namei" on my Arch install (notice the "i" at the end, it's not a typo). I don't know what /usr/bin/name is, it might be a bug with bash; which is most likely calling the wrong file.

If all else fails report a bug for bash.

Offline

#7 2008-09-03 21:26:54

Lickwid
Member
Registered: 2008-08-15
Posts: 4

Re: Newly installed packages: "No such file or directory"

Majorix wrote:
-bash: /usr/bin/name: No such file or directory

There is apparently an exec called "/usr/bin/namei" on my Arch install (notice the "i" at the end, it's not a typo). I don't know what /usr/bin/name is, it might be a bug with bash; which is most likely calling the wrong file.

If all else fails report a bug for bash.

"/usr/bin/name" is just the example I'm using for program names, where "name" is the name of any given program (pacman, vi, sudo, nano etc). Sorry if that caused any confusion.

Offline

Board footer

Powered by FluxBB