You are not logged in.
Salut,
when I try to run shutdown, iwconfig or reboot, I suddenly get the message
-bash: COMMAND: command not found
where COMMAND is the entered command.
I did not modify the .bashrc
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$'
Any chance to get that working again?
Thanks in advance,
Stefan
Last edited by vbtricks (2008-05-10 08:41:13)
Offline
Hello,
You may have a problem with your /etc/profile. Please post what you get when you type
ls /etc/profil*
Also, please post what you get when you type
echo $PATH
Offline
Salut,
ls /etc/profil*
/etc/profile.bash /etc/profile.pacsave
/etc/profile.d:
glib2.csh glib2.sh locale.sh mozilla-common.sh perlbin.sh xorg.sh
echo $PATH
/usr/gnu/bin:/usr/local/bin:/bin/:/usr/bin:.
Offline
You don't seem have a /etc/profile, this script sets most of the important global variables, its in the 'filesystem' package so a simple
pacman -Sy filesystem
should hopefully sort you out.
Don't forget that /etc/profile is only read on login so you will want to logout and log back in to get the correct effect.
Offline
Thanks, it's working again.
Stefan
Offline
Salut,
well, the next time I tried to start up ArchLinux it failed in mounting the root partition, so I had to reinstall ArchLinux and I encounter the same problem again.
Is there another way to fix this? Guess it's a missing path in the environment variables?
Thanks in advance,
Stefan
Offline
Hello,
What version of the installer are you using? 2007.8-2? Try using one of the newer ones, 2008.03 or 2008.04-rc: ftp://mir1.archlinuxfr.org/archlinux/iso/.
Offline
Salut,
yes, I'm using the 2007.8-2. No chance to get it to work with the current one? Or at least updating my current installation?
Stefan
Last edited by vbtricks (2008-05-08 17:49:01)
Offline
Well, whats on the installer is just a snapshot of the repos at a given time, once you have done your first 'pacman -Syu' you should be completely up-to-date. That said, the contents of the repos do change a little over time so if you install with an older iso there may be packages in [core] now that were not there before and you will not have them. Also, some changes to pacman mean that the version of pacman on the older ftp isos is incompatible with the repos in their current state.
A slightly sledgehammer option would be to run 'pacman -Sy base', however don't forget to look for, and merge if appropriate, any configuration file changes (*.pacnew files), you can find them by running 'updatedb && locate pacnew' as root.
However, If you've already reinstalled once it may be easier to get one of the more recent Core isos and install from there.
Offline
Well, installed the 2008.03 which caused me a lot of nerves as the newly introduced netcfg2 did not work and I had to configure the wireless connection manually. Installed the packages and made the changes I had done to the 2007.08-2 and did not encounter the problem again. So this seems to be solved now.
Thanks,
Stefan
Offline