You are not logged in.

#1 2008-03-02 13:48:59

Bangel
Member
Registered: 2007-05-17
Posts: 45

Man pages missing?

Hi

In a core install, I noticed that the man pages are missing. How do I install them? And I mean the man pages plus those ones that are part of the programming in C functions.
Also ... what's the name of the package which contains such usefull programs as strace and string?

Last edited by Bangel (2008-03-02 13:49:37)

Offline

#2 2008-03-02 13:55:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Man pages missing?

Are you sure man pages are missing and not that you haven't moved /etc/profile.pacnew to /etc/profile (after replicating any changes you made to /etc/profile...)?

Last edited by Allan (2008-03-02 13:55:59)

Offline

#3 2008-03-02 14:00:24

Bangel
Member
Registered: 2007-05-17
Posts: 45

Re: Man pages missing?

Well, I was just looking into this now. Did a search on the forum and found the answer. It was the unset MANPATH problem. Solved it and works like a charm smile

Offline

#4 2008-03-04 00:51:59

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Man pages missing?

Okay, im not sure about which stuff to merge from profile.pacnew to profile apart from unset MANPATH.

#
# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"

export LC_COLLATE="C"

export COLUMNS LINES

export PS1='[\u@\h \W]\$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
  PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi

# load profiles from /etc/profile.d
#  (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
  for profile in /etc/profile.d/*.sh; do
    if [ -x $profile ]; then
      . $profile
    fi
  done
  unset profile
fi
# End of file
File: /etc/profile.pacnew                                                                                                     

# Note the explicit use of 'test' to cover all bases
#  and potentially incompatible shells

#Determine our shell without using $SHELL, which may lie
shell="sh"
if test -f /proc/mounts; then
   case $(/bin/ls -l /proc/$$/exe) in
        *bash) shell=bash ;;
        *dash) shell=dash ;;
        *ash)  shell=ash ;;
        *ksh)  shell=ksh ;;
        *zsh)  shell=zsh ;;
    esac
fi

# Load shell specific profile settings
test -f "/etc/profile.$shell" &&  . "/etc/profile.$shell"

#Set our umask
umask 022

# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
export PATH

# Some readline stuff that is fairly common
HISTSIZE=1000
HISTCONTROL="erasedups"

INPUTRC="/etc/inputrc"
LESS="-R"
LC_COLLATE="C"

export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
    for profile in /etc/profile.d/*.sh; do
        test -x $profile && . $profile
    done
    unset profile
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH

Offline

#5 2008-03-04 03:23:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Man pages missing?

It does not look like you added anything to /etc/profile so just replace it with /etc/profile.pacnew

Last edited by Allan (2008-03-04 03:23:57)

Offline

#6 2009-04-13 17:32:25

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Man pages missing?

After an update "man" found missing from the system. pacman -U /var/cache/pacman/pkg/man-1.6f-2-i686.pkg.tar.gz solved this. (Which and find did not get the location of man executable). This may help any one facing the same issue.

Offline

Board footer

Powered by FluxBB