You are not logged in.
Pages: 1
After installing a new (encrypted) system on a different SSD I got no man pages on my system. The install was done with a bootstrap image via my other system.
man ls
env: 'command': No such file or directory
mandb
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
Did I miss something? Can't find anything online that refers to this kind of problem.
Last edited by kaymio (2017-02-13 22:35:54)
Offline
What shell are you using?
Offline
Bash as usual
Offline
Please paste your pacman.conf
Offline
(edit) never mind --answer jasonwyran's question.
What is the output of
alias man
echo $PAGER
env
Last edited by 2ManyDogs (2017-02-13 21:46:35)
Offline
It is stock, except uncommenting the color option.
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Offline
XTERM_256_COLORS=1
XDG_MENU_PREFIX=e-
LANG=de_DE.UTF-8
DISPLAY=:0.0
QT_STYLE_OVERRIDE=gtk2
E_DATA_DIR=/usr/share/enlightenment
E_BIN_DIR=/usr/bin
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
E_PREFIX=/usr
XDG_VTNR=7
PANTS=ON
E_TAINTED=NO
XDG_SESSION_ID=c4
USER=XXX
DESKTOP_SESSION=/usr/share/xsessions/enlightenment
TERMINOLOGY=1
QT_QPA_PLATFORMTHEME=gtk2
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/enlightenment:/usr/share:/usr/local/share:/usr/share
XDG_SESSION_DESKTOP=
E_IPC_SOCKET=/run/user/1000/e-XXX@0/10400
E_LIB_DIR=/usr/lib
E_LOCALE_DIR=/usr/share/locale
GTK_MODULES=canberra-gtk-module
E_START_TIME=1487013895.2
E_ICON_THEME=hicolor
MAIL=/var/spool/mail/XXX
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_CLASS=user
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=
E_SCALE=1,000
E_RESTART=1
XDG_SEAT=seat0
SHLVL=1
E_CONF_PROFILE=standard
LOGNAME=XXX
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP=Enlightenment
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/home/XXX/.Xauthority
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session4
XDG_CONFIG_DIRS=/usr/etc/xdg:/etc/xdg
PATH=/home/XXX/Applications/.bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
XCURSOR_PATH=/home/XXX/.icons:/usr/share/icons
E_START=/usr/bin/enlightenment_start
_=/usr/bin/env
Offline
Let's go back to the start - several things in your inital question don't add up to the working hypothesis in this thread. First, the return from `man ls` is nonsensical. If the man page was not found, man /usr/bin/man would return "No manual entry for ls". But instead you get a response from `env` saying something litterally defined as 'command' was not able to be executed. This is most likely the result of some bad copy-pasta where you were supposed to actually put some command in place of a placeholder - but instead you just left the placeholder "command".
Second, your mandb command returned the expected output: nothing out of the ordindary there. perhaps a slightly more informative command would be the following:
find /usr/share/man -type f | wc -l
But I'm already pretty sure that will return a suitably large number (15960 here, but this will vary widely across systems ... yours should not be zero) - please confirm.
The best way to follow up on the actual problem is to figure out why your `man ls` invocation is giving nonsensical output. The first step is this:
type man
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
1. Just to rule out enlightenment as the culprit... has this been tried on a tty?
2. Is there anything fancy going on in /home/XXX/Applications/.bin?
Offline
Trilby, thank you very much. In fact, thank all of you.
The find request gave me "13896" and the type man gave
type man
man is a function
man ()
{
env LESS_TERMCAP_mb=$(printf "\e[1;31m")
LESS_TERMCAP_md=$(printf "\e[1;31m")
LESS_TERMCAP_me=$(printf "\e[0m")
LESS_TERMCAP_se=$(printf "\e[0m")
LESS_TERMCAP_so=$(printf "\e[1;44;33m")
LESS_TERMCAP_ue=$(printf "\e[0m")
LESS_TERMCAP_us=$(printf "\e[1;32m")
command man "$@"
}
Somehow the "env" snuck in my old .bashrc which I blatantly copied to my new .bashrc. This caused this weird behavior.
It is for the coloring of the man pages as can be found here .
Thx again!
Offline
Pages: 1