[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Several newbie questions



Kyo.bbs@VOIDbbs.e-fever.org (天下无敌小拳王) writes:
> But after upgrading to testing/unstable, "man" command become not
> found.  Then I tried "whereis man", it returns: /usr/local/man
> /usr/share/man

you misunderstood `whereis' command, you should use `which'.
 
> But both are directory, not the command. I think man is quite
> important to me as I am just a newbie on debian. Besides, is that
> there is a some setting problem for the upgrading and make some
> important command/tools gone?

zw@q ~ % which man
/usr/bin/man
zw@q ~ % dpkg -S /usr/bin/man
dpkg: /usr/bin/man not found.
zw@q ~ % ls -alF /usr/bin/man
lrwxrwxrwx    1 root     root           17 Jul  1 00:59 /usr/bin/man -> ../lib/man-db/man*
zw@q ~ % dpkg -S /usr/lib/man-db/man
man-db: /usr/lib/man-db/man
zw@q ~ % dpkg -s man-db
Package: man-db
Status: install ok installed
Priority: important
Section: doc
Installed-Size: 984
Maintainer: Colin Watson <cjwatson@debian.org>
Version: 2.3.18-10
Replaces: man, nlsutils
Provides: man, man-browser
Depends: groff-base (>= 1.17-2) | groff (>> 1.15-3.ja.3), bsdmainutils, debconf (>= 0.5), dpkg (>= 1.8.0), libc6 (>= 2.2.3-1), libdb2 (>= 2:2.7.7-4)
Suggests: groff, groff-x11
Conflicts: man, suidmanager (<< 0.50)
Conffiles:
 /etc/manpath.config 8a0e85f57db42394b12639ba2db2145a
 /etc/cron.daily/man-db 685bf9be59b46674cc4fccbca2ae99cf
 /etc/cron.weekly/man-db 61c71d58077ce1e7570a677ed838cfe8
Description: Display the on-line manual.
 This package provides the man command. This utility is the primary
 way of examining the on-line help files (manual pages). Other utilities
 provided include the whatis and apropos commands for searching the
 manual page database, the manpath utility for determining the manual
 page search path, and the maintenance utilities mandb, catman and
 zsoelim. This package uses the groff suite of programs to format and
 display the manual pages.

zw@q ~ % 

So, apt-get install man-db

-- 
I CONSTANTLY LOST EMAIL FROM THIS MAILINGLIST SO
IF YOU WANT TO REACH ME FOR SURE THEN CC ME A COPY

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: