You are not logged in.
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 directoryInitially 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 ![]()
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
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
if pacman doesn't work...how are you installing anything?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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 ![]()
Offline
maybe your PATH is set wrong? Try reinstalling bash, maybe it got corrupted.
[git] | [AURpkgs] | [arch-games]
Offline
-bash: /usr/bin/name: No such file or directoryThere 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
-bash: /usr/bin/name: No such file or directoryThere 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