You are not logged in.
I'm getting a brief and nonfatal error when I start my WM (openbox) after logging in with "startx". It says something like the title (to quick to get exactly); essentially complaining about no /usr/bin/hostname.
Indeed, /usr/bin/hostname does not exist on my system. Should it?
$ cat ~/.xinitrc
exec ck-launch-session dbus-launch openbox-session
Last edited by jwhendy (2011-10-10 21:02:18)
Offline
Have you read the announce on the Arch Linux home page ?
You have now to install the inetutils package to have hostname command.
Offline
And in general, use pkgfile to see what package provides the files you're missing https://wiki.archlinux.org/index.php/FA … is_X_in.3F and use logs - e.g. log the output of startx - to see the exact error.
Offline
@jaco: That was the ticket. I should read that more often.
@karol:
1) `$ pkgfile hostname` produces no output.
2) Thanks for the tip about logging. I wasn't sure how to do this but found something that should do if I need it in the future.
Offline
@jwhendy
Have you updated pkgfile database?
[karol@black ~]$ pacman -S pkgtools
<snip>
(1/1) installing pkgtools [################################] 100%
- Make sure to run pkgfile --update before use
- pkgfile includes a "command not found" hook for both zsh and bash.
This will automatically run pkgfile whenever you run
a command which the shell cannot find. If you want
this functionality, set CMD_SEARCH_ENABLED to 1 in
/etc/pkgtools/pkgfile.conf (or per-user by copying
that file to ${XDG_CONFIG_HOME}/pkgtools/pkgfile.conf), then
in your current shell run:
source /etc/profile
- An entry has been placed in /etc/cron.daily to run pkgfile --update
If you do not want this functionality, set UPDATE_CRON=0 in /etc/pkgtools/pkgfile.conf
Optional dependencies for pkgtools
cron: For pkgfile --update entry
abs: Provides proto packaging files for newpkg
python-yaml: for gem2arch
python2: for pkgconflict
Last edited by karol (2011-10-10 19:16:59)
Offline
@karol: sigh... I shouldn't do these things at work when I'm prone to ignoring documentation like this. Alas, you are correct and I should have rtfm. Thanks for the assistance.
Offline