You are not logged in.

#1 2008-02-10 15:35:11

satimis
Member
Registered: 2007-03-03
Posts: 186

man package - manual NOT found

Hi folks,


After running update and ungrade ;

# pacman -Syu


$ man pacman
No manual entry for pacman


# pacman -Ql pacman

.....
pacman /usr/share/man/
pacman /usr/share/man/man3/
...........
pacman /usr/share/man/man5/
...
pacman /usr/share/man/man8/
....

# export | grep MAN
declare -x MANPATH="/usr/man:/usr/X11R6/man"


Then
Edit ~./bashrc
adding "export MANPATH=/usr/share/man

run
# source ~/.bashrc


$ man pacman
works again



Just installed iptables;

$ man iptables
No manual entry for iptables


$ iptables -h

iptables v1.3.8

Usage: iptables -[AD] chain rule-specification [options]
       iptables -[RI] chain rulenum rule-specification [options]
       iptables -D chain rulenum [options]
       iptables -[LFZ] [chain] [options]
       iptables -[NX] chain
       iptables -E old-chain-name new-chain-name
       iptables -P chain target [options]
       iptables -h (print this help information)
....

It is working.


I suppose I have to repeat the above steps on "man pacman".   Please advise is there any clue to fix this problem permanently avoiding re-running the said steps each time after installing a new package.  TIA


B.R.
satimi

Offline

#2 2008-02-10 16:03:31

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: man package - manual NOT found

I just add "unset MANPATH" as the last line of /etc/profile and this seems to fix all the manpage problems for me.

Offline

#3 2008-02-10 16:17:03

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

Re: man package - manual NOT found

The latest filesystem package added "unset MANPATH" at the end of /etc/profile .  Have you move the /etc/profile.pacnew to /etc/profile (after moving any additions you made to the new version)

Offline

#4 2008-02-11 04:22:43

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

Allan wrote:

The latest filesystem package added "unset MANPATH" at the end of /etc/profile .  Have you move the /etc/profile.pacnew to /etc/profile (after moving any additions you made to the new version)

I don't have /etc/profile.pacnew here


$ sudo locate profile.pacnew
Password:
No printout


$ grep pacnew /var/log/pacman.log

[2008-02-09 01:55] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
[2008-02-09 01:55] ==> Check /etc/locale.gen.pacnew for new supported locales
[2008-02-09 06:25] >>> when merging the pacnew file with your old configuration.

$ ls /etc/ | grep locale

locale.gen
locale.gen.pacnew

I doubt whether I should run;

$ sudo mv /etc/locale.gen.pacnew /etc/locale.gen
???

$ cat /etc/locale.gen.pacman

## Configuration file for locale-gen
##
## lists of locales that are to be generated by the locale-gen command.
##
## Each line is of the form:
##
##     <locale> <charset>
##
##  where <locale> is one of the locales given in /usr/share/i18n/locales
##  and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
##
##  Examples:
##  en_US ISO-8859-1
##  en_US.UTF-8 UTF-8
##  de_DE ISO-8859-1
##  de_DE@euro ISO-8859-15
##
##  The locale-gen command will generate all the locales,
##  placing them in /usr/lib/locale.
##
##  A list of supported locales is included in this file.
##  Uncomment the ones you need.
##
## This file names the currently supported and somewhat tested locales.
## If you have any additions please file a glibc bug report.
# 
#aa_DJ.UTF-8 UTF-8  
#aa_DJ ISO-8859-1  
#aa_ER UTF-8  
#aa_ER@saaho UTF-8  
#aa_ET UTF-8  
#af_ZA.UTF-8 UTF-8  
#af_ZA ISO-8859-1  
#am_ET UTF-8  
#an_ES.UTF-8 UTF-8  
#an_ES ISO-8859-15  
#ar_AE.UTF-8 UTF-8  
#ar_AE ISO-8859-6  
#ar_BH.UTF-8 UTF-8  
#ar_BH ISO-8859-6  
#ar_DZ.UTF-8 UTF-8  
#ar_DZ ISO-8859-6  
#ar_EG.UTF-8 UTF-8  
#ar_EG ISO-8859-6  
#ar_IN UTF-8  
#ar_IQ.UTF-8 UTF-8  
#ar_IQ ISO-8859-6  
#ar_JO.UTF-8 UTF-8  
#ar_JO ISO-8859-6  
#ar_KW.UTF-8 UTF-8  
#ar_KW ISO-8859-6  
#ar_LB.UTF-8 UTF-8  
#ar_LB ISO-8859-6  
#ar_LY.UTF-8 UTF-8  
#ar_LY ISO-8859-6  
#ar_MA.UTF-8 UTF-8  
#ar_MA ISO-8859-6  
#ar_OM.UTF-8 UTF-8  
#ar_OM ISO-8859-6  
#ar_QA.UTF-8 UTF-8  
#ar_QA ISO-8859-6  
#ar_SA.UTF-8 UTF-8  
#ar_SA ISO-8859-6  
#ar_SD.UTF-8 UTF-8  
#ar_SD ISO-8859-6  
#ar_SY.UTF-8 UTF-8  
#ar_SY ISO-8859-6  
#ar_TN.UTF-8 UTF-8  
#ar_TN ISO-8859-6  
#ar_YE.UTF-8 UTF-8  
#ar_YE ISO-8859-6  
#az_AZ.UTF-8 UTF-8  
#as_IN.UTF-8 UTF-8  
#ast_ES.UTF-8 UTF-8  
#ast_ES ISO-8859-15  
#be_BY.UTF-8 UTF-8  
#be_BY CP1251  
#be_BY@latin UTF-8  
#ber_DZ UTF-8  
#ber_MA UTF-8  
#bg_BG.UTF-8 UTF-8  
#bg_BG CP1251  
#bn_BD UTF-8  
#bn_IN UTF-8  
#br_FR.UTF-8 UTF-8  
#br_FR ISO-8859-1  
#br_FR@euro ISO-8859-15  
#bs_BA.UTF-8 UTF-8  
#bs_BA ISO-8859-2  
#byn_ER UTF-8  
#ca_AD.UTF-8 UTF-8  
#ca_AD ISO-8859-15  
#ca_ES.UTF-8 UTF-8  
#ca_ES ISO-8859-1  
#ca_ES@euro ISO-8859-15  
#ca_ES.UTF-8@valencia UTF-8  
#ca_ES@valencia ISO-8859-15  
#ca_FR.UTF-8 UTF-8  
#ca_FR ISO-8859-15  
#ca_IT.UTF-8 UTF-8  
#ca_IT ISO-8859-15  
#crh_UA UTF-8  
#cs_CZ.UTF-8 UTF-8  
#cs_CZ ISO-8859-2  
#csb_PL UTF-8  
#cy_GB.UTF-8 UTF-8  
#cy_GB ISO-8859-14  
#da_DK.UTF-8 UTF-8  
#da_DK ISO-8859-1  
#da_DK.ISO-8859-15 ISO-8859-15  
#de_AT.UTF-8 UTF-8  
#de_AT ISO-8859-1  
#de_AT@euro ISO-8859-15  
#de_BE.UTF-8 UTF-8  
#de_BE ISO-8859-1  
#de_BE@euro ISO-8859-15  
#de_CH.UTF-8 UTF-8  
#de_CH ISO-8859-1  
#de_DE.UTF-8 UTF-8  
#de_DE ISO-8859-1  
#de_DE@euro ISO-8859-15  
#de_LU.UTF-8 UTF-8  
#de_LU ISO-8859-1  
#de_LU@euro ISO-8859-15  
#dz_BT UTF-8  
#el_GR.UTF-8 UTF-8  
#el_GR ISO-8859-7  
#el_CY.UTF-8 UTF-8  
#el_CY ISO-8859-7  
#en_AU.UTF-8 UTF-8  
#en_AU ISO-8859-1  
#en_BW.UTF-8 UTF-8  
#en_BW ISO-8859-1  
#en_CA.UTF-8 UTF-8  
#en_CA ISO-8859-1  
#en_DK.UTF-8 UTF-8  
#en_DK.ISO-8859-15 ISO-8859-15  
#en_DK ISO-8859-1  
#en_GB.UTF-8 UTF-8  
#en_GB ISO-8859-1  
#en_GB.ISO-8859-15 ISO-8859-15  
#en_HK.UTF-8 UTF-8  
#en_HK ISO-8859-1  
#en_IE.UTF-8 UTF-8  
#en_IE ISO-8859-1  
#en_IE@euro ISO-8859-15  
#en_IN UTF-8  
#en_NG UTF-8  
#en_NZ.UTF-8 UTF-8  
#en_NZ ISO-8859-1  
#en_PH.UTF-8 UTF-8  
#en_PH ISO-8859-1  
#en_SG.UTF-8 UTF-8  
#en_SG ISO-8859-1  
#en_US.UTF-8 UTF-8  
#en_US ISO-8859-1  
#en_US.ISO-8859-15 ISO-8859-15  
#en_ZA.UTF-8 UTF-8  
#en_ZA ISO-8859-1  
#en_ZW.UTF-8 UTF-8  
#en_ZW ISO-8859-1  
#eo.UTF-8 UTF-8  
#eo ISO-8859-3  
#es_AR.UTF-8 UTF-8  
#es_AR ISO-8859-1  
#es_BO.UTF-8 UTF-8  
#es_BO ISO-8859-1  
#es_CL.UTF-8 UTF-8  
#es_CL ISO-8859-1  
#es_CO.UTF-8 UTF-8  
#es_CO ISO-8859-1  
#es_CR.UTF-8 UTF-8  
#es_CR ISO-8859-1  
#es_DO.UTF-8 UTF-8  
#es_DO ISO-8859-1  
#es_EC.UTF-8 UTF-8  
#es_EC ISO-8859-1  
#es_ES.UTF-8 UTF-8  
#es_ES ISO-8859-1  
#es_ES@euro ISO-8859-15  
#es_GT.UTF-8 UTF-8  
#es_GT ISO-8859-1  
#es_HN.UTF-8 UTF-8  
#es_HN ISO-8859-1  
#es_MX.UTF-8 UTF-8  
#es_MX ISO-8859-1  
#es_NI.UTF-8 UTF-8  
#es_NI ISO-8859-1  
#es_PA.UTF-8 UTF-8  
#es_PA ISO-8859-1  
#es_PE.UTF-8 UTF-8  
#es_PE ISO-8859-1  
#es_PR.UTF-8 UTF-8  
#es_PR ISO-8859-1  
#es_PY.UTF-8 UTF-8  
#es_PY ISO-8859-1  
#es_SV.UTF-8 UTF-8  
#es_SV ISO-8859-1  
#es_US.UTF-8 UTF-8  
#es_US ISO-8859-1  
#es_UY.UTF-8 UTF-8  
#es_UY ISO-8859-1  
#es_VE.UTF-8 UTF-8  
#es_VE ISO-8859-1  
#et_EE.UTF-8 UTF-8  
#et_EE ISO-8859-1  
#et_EE.ISO-8859-15 ISO-8859-15  
#eu_ES.UTF-8 UTF-8  
#eu_ES ISO-8859-1  
#eu_ES@euro ISO-8859-15  
#eu_FR.UTF-8 UTF-8  
#eu_FR ISO-8859-1  
#eu_FR@euro ISO-8859-15  
#fa_IR UTF-8  
#fi_FI.UTF-8 UTF-8  
#fi_FI ISO-8859-1  
#fi_FI@euro ISO-8859-15  
#fil_PH UTF-8  
#fo_FO.UTF-8 UTF-8  
#fo_FO ISO-8859-1  
#fr_BE.UTF-8 UTF-8  
#fr_BE ISO-8859-1  
#fr_BE@euro ISO-8859-15  
#fr_CA.UTF-8 UTF-8  
#fr_CA ISO-8859-1  
#fr_CH.UTF-8 UTF-8  
#fr_CH ISO-8859-1  
#fr_FR.UTF-8 UTF-8  
#fr_FR ISO-8859-1  
#fr_FR@euro ISO-8859-15  
#fr_LU.UTF-8 UTF-8  
#fr_LU ISO-8859-1  
#fr_LU@euro ISO-8859-15  
#fur_IT UTF-8  
#fy_NL UTF-8  
#fy_DE UTF-8  
#ga_IE.UTF-8 UTF-8  
#ga_IE ISO-8859-1  
#ga_IE@euro ISO-8859-15  
#gd_GB.UTF-8 UTF-8  
#gd_GB ISO-8859-15  
#gez_ER UTF-8  
#gez_ER@abegede UTF-8  
#gez_ET UTF-8  
#gez_ET@abegede UTF-8  
#gl_ES.UTF-8 UTF-8  
#gl_ES ISO-8859-1  
#gl_ES@euro ISO-8859-15  
#gu_IN UTF-8  
#gv_GB.UTF-8 UTF-8  
#gv_GB ISO-8859-1  
#ha_NG UTF-8  
#he_IL.UTF-8 UTF-8  
#he_IL ISO-8859-8  
#hi_IN UTF-8  
#hr_HR.UTF-8 UTF-8  
#hr_HR ISO-8859-2  
#hsb_DE.UTF-8 UTF-8  
#hsb_DE ISO-8859-2  
#hu_HU.UTF-8 UTF-8  
#hu_HU ISO-8859-2  
#hy_AM UTF-8  
#hy_AM.ARMSCII-8 ARMSCII-8  
#ia UTF-8  
#id_ID.UTF-8 UTF-8  
#id_ID ISO-8859-1  
#ig_NG UTF-8  
#ik_CA UTF-8  
#is_IS.UTF-8 UTF-8  
#is_IS ISO-8859-1  
#it_CH.UTF-8 UTF-8  
#it_CH ISO-8859-1  
#it_IT.UTF-8 UTF-8  
#it_IT ISO-8859-1  
#it_IT@euro ISO-8859-15  
#iu_CA UTF-8  
#iw_IL.UTF-8 UTF-8  
#iw_IL ISO-8859-8  
#ja_JP.UTF-8 UTF-8  
#ja_JP.EUC-JP EUC-JP  
#ka_GE.UTF-8 UTF-8  
#ka_GE GEORGIAN-PS  
#kk_KZ.UTF-8 UTF-8  
#kk_KZ PT154  
#kl_GL.UTF-8 UTF-8  
#kl_GL ISO-8859-1  
#km_KH UTF-8  
#kn_IN UTF-8  
#ko_KR.UTF-8 UTF-8  
#ko_KR.EUC-KR EUC-KR  
#ku_TR.UTF-8 UTF-8  
#ku_TR ISO-8859-9  
#kw_GB.UTF-8 UTF-8  
#kw_GB ISO-8859-1  
#ky_KG UTF-8  
#lg_UG.UTF-8 UTF-8  
#lg_UG ISO-8859-10  
#li_BE UTF-8  
#li_NL UTF-8  
#lo_LA UTF-8  
#lt_LT.UTF-8 UTF-8  
#lt_LT ISO-8859-13  
#lv_LV.UTF-8 UTF-8  
#lv_LV ISO-8859-13  
#mai_IN UTF-8  
#mg_MG.UTF-8 UTF-8  
#mg_MG ISO-8859-15  
#mi_NZ.UTF-8 UTF-8  
#mi_NZ ISO-8859-13  
#mk_MK.UTF-8 UTF-8  
#mk_MK ISO-8859-5  
#ml_IN UTF-8  
#mn_MN UTF-8  
#mr_IN UTF-8  
#ms_MY.UTF-8 UTF-8  
#ms_MY ISO-8859-1  
#mt_MT.UTF-8 UTF-8  
#mt_MT ISO-8859-3  
#nb_NO.UTF-8 UTF-8  
#nb_NO ISO-8859-1  
#nds_DE UTF-8  
#nds_NL UTF-8  
#ne_NP UTF-8  
#nl_BE.UTF-8 UTF-8  
#nl_BE ISO-8859-1  
#nl_BE@euro ISO-8859-15  
#nl_NL.UTF-8 UTF-8  
#nl_NL ISO-8859-1  
#nl_NL@euro ISO-8859-15  
#nn_NO.UTF-8 UTF-8  
#nn_NO ISO-8859-1  
#nr_ZA UTF-8  
#nso_ZA UTF-8  
#oc_FR.UTF-8 UTF-8  
#oc_FR ISO-8859-1  
#om_ET UTF-8  
#om_KE.UTF-8 UTF-8  
#om_KE ISO-8859-1  
#or_IN UTF-8  
#pa_IN UTF-8  
#pa_PK UTF-8  
#pap_AN UTF-8  
#pl_PL.UTF-8 UTF-8  
#pl_PL ISO-8859-2  
#pt_BR.UTF-8 UTF-8  
#pt_BR ISO-8859-1  
#pt_PT.UTF-8 UTF-8  
#pt_PT ISO-8859-1  
#pt_PT@euro ISO-8859-15  
#ro_RO.UTF-8 UTF-8  
#ro_RO ISO-8859-2  
#ru_RU.UTF-8 UTF-8  
#ru_RU.KOI8-R KOI8-R  
#ru_RU ISO-8859-5  
#ru_RU.CP1251 CP1251  
#ru_UA.UTF-8 UTF-8  
#ru_UA KOI8-U  
#rw_RW UTF-8  
#sa_IN UTF-8  
#sc_IT UTF-8  
#se_NO UTF-8  
#si_LK UTF-8  
#sid_ET UTF-8  
#sk_SK.UTF-8 UTF-8  
#sk_SK ISO-8859-2  
#sl_SI.UTF-8 UTF-8  
#sl_SI ISO-8859-2  
#so_DJ.UTF-8 UTF-8  
#so_DJ ISO-8859-1  
#so_ET UTF-8  
#so_KE.UTF-8 UTF-8  
#so_KE ISO-8859-1  
#so_SO.UTF-8 UTF-8  
#so_SO ISO-8859-1  
#sq_AL.UTF-8 UTF-8  
#sq_AL ISO-8859-1  
#sr_ME UTF-8  
#sr_RS UTF-8  
#sr_RS@latin UTF-8  
#ss_ZA UTF-8  
#st_ZA.UTF-8 UTF-8  
#st_ZA ISO-8859-1  
#sv_FI.UTF-8 UTF-8  
#sv_FI ISO-8859-1  
#sv_FI@euro ISO-8859-15  
#sv_SE.UTF-8 UTF-8  
#sv_SE ISO-8859-1  
#sv_SE.ISO-8859-15 ISO-8859-15  
#ta_IN UTF-8  
#te_IN UTF-8  
#tg_TJ.UTF-8 UTF-8  
#tg_TJ KOI8-T  
#th_TH.UTF-8 UTF-8  
#th_TH TIS-620  
#ti_ER UTF-8  
#ti_ET UTF-8  
#tig_ER UTF-8  
#tk_TM UTF-8  
#tl_PH.UTF-8 UTF-8  
#tl_PH ISO-8859-1  
#tn_ZA UTF-8  
#tr_CY.UTF-8 UTF-8  
#tr_CY ISO-8859-9  
#tr_TR.UTF-8 UTF-8  
#tr_TR ISO-8859-9  
#ts_ZA UTF-8  
#tt_RU.UTF-8 UTF-8  
#tt_RU@iqtelif.UTF-8 UTF-8  
#ug_CN UTF-8  
#uk_UA.UTF-8 UTF-8  
#uk_UA KOI8-U  
#ur_PK UTF-8  
#uz_UZ.UTF-8 UTF-8  
#uz_UZ ISO-8859-1  
#uz_UZ@cyrillic UTF-8  
#ve_ZA UTF-8  
#vi_VN UTF-8  
#vi_VN.TCVN TCVN5712-1  
#wa_BE.UTF-8 UTF-8  
#wa_BE ISO-8859-1  
#wa_BE@euro ISO-8859-15  
#wo_SN UTF-8  
#xh_ZA.UTF-8 UTF-8  
#xh_ZA ISO-8859-1  
#yi_US.UTF-8 UTF-8  
#yi_US CP1255  
#yo_NG UTF-8  
#zh_CN.UTF-8 UTF-8  
#zh_CN.GB18030 GB18030  
#zh_CN.GBK GBK  
#zh_CN GB2312  
#zh_HK.UTF-8 UTF-8  
#zh_HK BIG5-HKSCS  
#zh_SG.UTF-8 UTF-8  
#zh_SG.GBK GBK  
#zh_SG GB2312  
#zh_TW.UTF-8 UTF-8  
#zh_TW BIG5  
#zh_TW.EUC-TW EUC-TW  
#zu_ZA.UTF-8 UTF-8  
#zu_ZA ISO-8859-1

All lines comment out


$ cat /etc/locale.gen

...
#  Examples:
  en_US ISO-8859-1
  en_US.UTF-8 UTF-8
...
zh_CN.GBK       GBK
zh_CN.UTF-8     UTF-8
.....
zh_HK.UTF-8     UTF-8
zh_HK   BIG5-HKSCS
...
zh_TW.UTF-8     UTF-8
zh_TW   BIG5
......

B.R.
satimis

Offline

#5 2008-02-11 04:28:04

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

fwojciec wrote:

I just add "unset MANPATH" as the last line of /etc/profile and this seems to fix all the manpage problems for me.

$ cat /etc/profile

#
# /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

Whether add a line "unset MANPATH" after  "unset profile" ?

TIA


B.R.
satimis

Offline

#6 2008-02-11 04:37:50

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

Re: man package - manual NOT found

When was the last time you updated your system?  The latest "filesystem" package was released on 2008-02-01 so should have made it to your mirror by now.  This fixes that problem for you.

Offline

#7 2008-02-11 04:56:22

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

Allan wrote:

When was the last time you updated your system?  The latest "filesystem" package was released on 2008-02-01 so should have made it to your mirror by now.  This fixes that problem for you.

About 3~4 days ago.


I'll re-run "pacman -Syu" later.  I'm now NOT on Arch


satimis

Offline

#8 2008-02-11 08:34:42

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

Hi folks,


Performed following steps.


$ sudo pacman -Syu
Password:

:: Synchronizing package databases...
 core                      23.8K   31.8K/s 00:00:01 [######################################] 100%
 extra                    303.5K  125.5K/s 00:00:02 [######################################] 100%
 community                335.9K  129.8K/s 00:00:03 [######################################] 100%
:: Starting full system upgrade...
:: Replace mktemp with core/coreutils? [Y/n] Y
:: Replace slocate with core/mlocate? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...

Remove: mktemp  slocate  
....
.....

Total Download Size:    143.96 MB

Proceed mlocate command is technically locate, but slocate is symlinked and still works.
You should run updatedb as root.
with installation? [Y/n] Y
...
....
checking package integrity...
warning: /etc/updatedb.conf saved as /etc/updatedb.conf.pacsave
....
...
mlocate command is technically locate, but slocate is symlinked and still works.
You should run updatedb as root.
...
....
warning: /etc/profile installed as /etc/profile.pacnew
....
...
ATTENTION UDEV:
----------
udev >=098 rules syntax has changed, please update your own rules.
udev >=099 Added persistent network and CD/DVD Symlink generator rules.
Please read the instructions carefully before reboot.
They are located in /etc/udev/readme-udev-arch.txt
...
....
IMPORTANT NOTICE FOR ENCRYPTION USERS

The "password" column in /etc/crypttab has now
two special keywords:
- ASK  ask for a passphrase on boot
- SWAP use a random key and create swapspace
       This is particularly dangerous, as the
       volume in question will be overwritten
       If you use SWAP as your passphrase (which
       is insecure anyway), be sure to remove it
       from /etc/crypttab to avoid dataloss!

See /etc/crypttab(.pacnew) for more information.
....
...
If you use the LILO bootloader, you should run 'lilo' after upgrading.

( 75/103) upgrading logrotate                       [######################################] 100%
warning: /etc/logrotate.conf installed as /etc/logrotate.conf.pacnew
...
....
warning: /etc/nanorc installed as /etc/nanorc.pacnew
....
...
warning: /etc/sudoers installed as /etc/sudoers.pacnew
...
....
:: Could not detect nvidia-utils on system
:: Will attempt to use built-in libwfb
(103/103) upgrading yelp                            [############################

No error displayed except "Could not detect nvidia-utils on system".

What shall I do?  Install "nvidia-utils" on repo?



$ sudo updatedb
Password:
No complaint



$ cat /etc/profile.pacnew

# 
# /etc/profile
#
# This file is intended to be used for ALL common
# Bourne-compatible shells. Shell specifics should be
# handled in /etc/profile.$SHELL where $SHELL is the name
# of the binary being run (discounting symlinks)
#
# Sections taken from SuSe's /etc/profile
# 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
* end *

$ sudo cp /etc/profile.pacnew /etc/profile
No complaint



$ man iptables
No manual entry for iptables



$ pacman -Ql iptables | grep man

iptables /usr/man/
iptables /usr/man/man3/
iptables /usr/man/man3/ipq_create_handle.3.gz
iptables /usr/man/man3/ipq_destroy_handle.3.gz
iptables /usr/man/man3/ipq_errstr.3.gz
iptables /usr/man/man3/ipq_get_msgerr.3.gz
iptables /usr/man/man3/ipq_get_packet.3.gz
iptables /usr/man/man3/ipq_message_type.3.gz
iptables /usr/man/man3/ipq_perror.3.gz
iptables /usr/man/man3/ipq_read.3.gz
iptables /usr/man/man3/ipq_set_mode.3.gz
iptables /usr/man/man3/ipq_set_verdict.3.gz
iptables /usr/man/man3/libipq.3.gz
iptables /usr/man/man8/
iptables /usr/man/man8/ip6tables.8.gz
iptables /usr/man/man8/iptables-restore.8.gz
iptables /usr/man/man8/iptables-save.8.gz
iptables /usr/man/man8/iptables.8.gz

$ export | grep MAN

declare -x MANPATH="/usr/share/man"
declare -x SESSION_MANAGER="local/arch:/tmp/.ICE-unix/5484"

$ cat ~/.bashrc

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export MANPATH=/usr/share/man

Edit ~/.bashrc
Change "MANPATH=/usr/share/man" as "MANPATH=/usr/man



$ source ~/.bashrc
No complaint



$ man iptables
iptables manual starts



$ man pacman
No manual entry for pacman



What  shall I do.  I can't have 2 MANPATH to satisfy both "man iptables" and "man pacman"?


Edit ~/.bashrc

adding another line "export MANPATH=/usr/share/man" above "export MANPATH=/usr/man"

???



Besides;
How about those warnings on running update and upgrade with "pacman -Syu";

warning: /etc/updatedb.conf saved as /etc/updatedb.conf.pacsave
warning: /etc/nanorc installed as /etc/nanorc.pacnew
warning: /etc/sudoers installed as /etc/sudoers.pacnew

???


TIA



B.R.
satimis

Offline

#9 2008-02-11 08:37:59

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: man package - manual NOT found

I realized this too: /usr/share/man is not in MANPATH
same as man pages for root users, including sbin folder
so the easiest would be to change /etc/profile to include all stuff needed
no ?
please, don't tell me that user should not have access to man pages for commands which are only designed for root ;-)


Zygfryd Homonto

Offline

#10 2008-02-11 08:50:37

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

zyghom wrote:

I realized this too: /usr/share/man is not in MANPATH
same as man pages for root users, including sbin folder
so the easiest would be to change /etc/profile to include all stuff needed
no ?
please, don't tell me that user should not have access to man pages for commands which are only designed for root ;-)

Thanks for your advice.


I solved my problem with;


Edit ~/.bashrc

...
export MANPATH="/usr/share/man:/usr/man"
...

$ source ~/.bashrc
No complaint


$ man iptables
$ man pacman
start their manuals


I have no idea about further new package installed.  Maybe I have to adding more paths.



B.R.
satimis

Offline

#11 2008-02-11 09:02:59

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: man package - manual NOT found

It works perfectly when MANPATH is NOT set. In the new /etc/profile, MANPATH is no longer set.
Simply remove MANPATH from ~/.bashrc too, then do source /etc/profile, and everything should work.

About .pacnew files, you should merge all these new config files. If you don't know wtf these config files are (and never edited them), then simply overwrite the config with the .pacnew one.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#12 2008-02-11 12:06:08

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: man package - manual NOT found

shining wrote:

It works perfectly when MANPATH is NOT set. In the new /etc/profile, MANPATH is no longer set.
Simply remove MANPATH from ~/.bashrc too, then do source /etc/profile, and everything should work.

About .pacnew files, you should merge all these new config files. If you don't know wtf these config files are (and never edited them), then simply overwrite the config with the .pacnew one.

Thanks for your advice.


Performed following steps;

Edit ~/.bashrc
delete the line "export MANPATH=/usr/share/man:/usr/man"


$ source ~/.bashrc
No complaint


$ man iptables/gedit/pacman/etc.
all work.



I'm running sudoers


$ cat /etc/sudoers

root    ALL=(ALL) SETENV: ALL
satimis ALL=(ALL) ALL

$ cat /etc/sudoers.pacnew

root    ALL=(ALL) ALL

I retain the old file.



I'm running nano

/etc/nanorc.pacnew
It is a new file.  All lines there are commented out.  Therefore I also retain /etc/nanorc



satimis

Offline

#13 2008-02-11 17:39:30

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: man package - manual NOT found

Just to make sure everyone sees this:

zyghom wrote:

I realized this too: /usr/share/man is not in MANPATH
same as man pages for root users, including sbin folder
so the easiest would be to change /etc/profile to include all stuff needed
no ?
please, don't tell me that user should not have access to man pages for commands which are only designed for root ;-)

shining wrote:

It works perfectly when MANPATH is NOT set. In the new /etc/profile, MANPATH is no longer set.
Simply remove MANPATH from ~/.bashrc too, then do source /etc/profile, and everything should work.

From /etc/profile

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

Offline

#14 2008-03-05 09:04:03

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

Re: man package - manual NOT found

just regarding locale.gen what is en_US.ISO-8859-15 ISO-8859-15, at the moment I only have:

en_AU.UTF-8 UTF-8
en_AU ISO-8859-1
en_US.UTF-8 UTF-8
en_US ISO-8859-1

I don't think I need en_US.ISO-8859-15 ISO-8859-15 but it was apart of the .pacnew

Offline

Board footer

Powered by FluxBB