You are not logged in.
Somehow, when I upgraded to the most recent kernel (one of the packages needed it), it somehow destroyed some of the environment paths. I can't "modprobe <device>", for example. It says "command not found". Here's what I get when I do a "set" command:
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="33" [3]="1" [4]="release" [5]="x86_64-unknown-linux-gnu")
BASH_VERSION='3.2.33(1)-release'
COLORTERM=gnome-terminal
COLUMNS=80
DESKTOP_SESSION=kde
DESKTOP_STARTUP_ID=
DIRSTACK=()
DISPLAY=:0.0
DM_CONTROL=/var/run/xdmctl
EUID=1000
GPG_AGENT_INFO=/tmp/gpg-m1XxxE/S.gpg-agent:7508:1
GROUPS=()
GS_LIB=/home/smitty/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/smitty/.gtkrc-2.0:/home/smitty/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/smitty/.gtkrc:/home/smitty/.kde/share/config/gtkrc
HISTFILE=/home/smitty/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/smitty
HOSTNAME=archlinux
HOSTTYPE=x86_64
IFS=$' \t\n'
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
LINES=24
LOGNAME=smitty
MACHTYPE=x86_64-unknown-linux-gnu
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/opt/kde/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/games
PIPESTATUS=([0]="0")
PPID=7678
PS1='[\u@\h \W]\$ '
PS2='> '
PS4='+ '
PWD=/home/smitty
SESSION_MANAGER=local/archlinux:/tmp/.ICE-unix/7538
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=2
SSH_AGENT_PID=7511
SSH_AUTH_SOCK=/tmp/ssh-PeUZvc7510/agent.7510
TERM=xterm
UID=1000
USER=smitty
WINDOWID=18874414
XCURSOR_THEME=default
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
_=
Here's also the output of "env" comand (if it helps):
KDE_MULTIHEAD=false
SSH_AGENT_PID=7511
DM_CONTROL=/var/run/xdmctl
GPG_AGENT_INFO=/tmp/gpg-m1XxxE/S.gpg-agent:7508:1
SHELL=/bin/bash
DESKTOP_STARTUP_ID=
TERM=xterm
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/smitty/.gtkrc-2.0:/home/smitty/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/smitty/.gtkrc:/home/smitty/.kde/share/config/gtkrc
GS_LIB=/home/smitty/.fonts
WINDOWID=18874414
KDE_FULL_SESSION=true
USER=smitty
SSH_AUTH_SOCK=/tmp/ssh-PeUZvc7510/agent.7510
SESSION_MANAGER=local/archlinux:/tmp/.ICE-unix/7538
DESKTOP_SESSION=kde
PATH=/opt/kde/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/games
PWD=/home/smitty
KDE_SESSION_UID=1000
HOME=/home/smitty
SHLVL=2
XCURSOR_THEME=default
LOGNAME=smitty
DISPLAY=:0.0
COLORTERM=gnome-terminal
_=/usr/bin/env
Thanks for any suggestions.
P.S. I also can't launch "kdm" in the root environment, as well. It's located as "/opt/kde/bin/kdm"
Offline
$ which modprobe
/sbin/modprobe
$ grep sbin /etc/profile
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
Offline
$ which modprobe
/sbin/modprobe$ grep sbin /etc/profile
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
I get the following results:
[root@archlinux smitty]# which modprobe
which: no modprobe in (/opt/kde/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/games)
And, with the other:
[root@archlinux smitty]# grep sbin /etc/profile
grep: /etc/profile: No such file or directory
Offline
$ pacman -Qo /etc/profile
/etc/profile is owned by filesystem 2007.11-6
Offline
$ pacman -Qo /etc/profile
/etc/profile is owned by filesystem 2007.11-6
[root@archlinux smitty]# pacman -Qo /etc/profile
error: failed to read file '/etc/profile': No such file or directory
Why would there be no "/etc/profile"?
Also, a "locate filesystem" gives me several possibilities:
/root/repository/current/filesystem-2007.11-6-x86_64.pkg.tar.gz
/root/repository/current/filesystem-2007.11-3-x86_64.pkg.tar.gz
/root/repository/core/filesystem-2007.08-2.pkg.tar.gz
/root/repository/core/filesystem-2007.11-6-x86_64.pkg.tar.gz
/root/repository/core/filesystem-2007.11-3-x86_64.pkg.tar.gz
Last edited by smitty (2008-02-07 02:40:32)
Offline
I've no idea what you did during the upgrade but apparently you have removed a bunch of packages in the process. Try reinstalling "filesystem" package and "module-init-tools". Also, have a look in /var/log/pacman.log to see what actually happened.
Offline
I've no idea what you did during the upgrade but apparently you have removed a bunch of packages in the process. Try reinstalling "filesystem" package and "module-init-tools". Also, have a look in /var/log/pacman.log to see what actually happened.
'"
That worked! I wonder if possibly it was because of this one line in "/var/log/pacman.conf/":
[2008-02-06 04:15] upgraded bash (3.2.025-1 -> 3.2.033-1)
Offline
fwojciec wrote:I've no idea what you did during the upgrade but apparently you have removed a bunch of packages in the process. Try reinstalling "filesystem" package and "module-init-tools". Also, have a look in /var/log/pacman.log to see what actually happened.
'"
That worked! I wonder if possibly it was because of this one line in "/var/log/pacman.conf/":
[2008-02-06 04:15] upgraded bash (3.2.025-1 -> 3.2.033-1)
I see absolutely no reason why this in particular would be the culprit.
Offline
I had the same problem. I solved it by :
pacman -S filesystem
and then
source /etc/profile
I could say what I did before getting that problem: I tried to update some files while my base was still old, the one from the cd 2007.5. I have a 56k modem so I wanted to know the total size of a : pacman -Su . Then it said there were conflicts and it asked for deleting some files. I said yes since I wanted to get the total size of that update, and this info was only shown after these questions. Then I finally refused the update, since it was 108 Mb. I tried to reinstall the deleted packages, or installing correctly the ones that replace them. None of these methods worked. I really needed to do what I say above. Oh yeah, the bash was updated around at the same time. It could be that to.
Last edited by tandycorp (2008-05-19 02:15:34)
Offline