LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-02-2012, 03:23 PM   #1
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 302
Blog Entries: 7

Rep: Reputation: 44
apropos and whatis aren't working in konsole


Apropos and whatis commands don't work in the konsole; the computer responds to everything I type with, 'nothing appropriate'. Please give me some ideas for fixing this problem!
 
Old 10-03-2012, 08:24 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You probably first need to update the databases. Usually this happens automagically from a cron job somewhere in /etc/cron(.daily/?) which you can also run manually. If one is for instance called "/etc/cron.daily/slocate.cron" and it its executable bit is set you just run '/etc/cron.daily/slocate.cron' or '/bin/sh /etc/cron.daily/slocate.cron' if the bit it isn't set.
 
Old 10-03-2012, 11:56 AM   #3
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 302

Original Poster
Blog Entries: 7

Rep: Reputation: 44
Not a directory!

Quote:
Originally Posted by unSpawn View Post
You probably first need to update the databases. Usually this happens automagically from a cron job somewhere in /etc/cron(.daily/?) which you can also run manually. If one is for instance called "/etc/cron.daily/slocate.cron" and it its executable bit is set you just run '/etc/cron.daily/slocate.cron' or '/bin/sh /etc/cron.daily/slocate.cron' if the bit it isn't set.
I tried both the commands that you told me to use but both commands brought back, 'Not a directory'. Would a reinstall of Mandriva help?
 
Old 10-03-2012, 12:23 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The /etc/cron.daily/makewhatis.cron and /etc/cron.weekly/makewhatis.cron files are provided by the "man" package. If you don't have those two files (and you didn't delete them ;-p) then it could be you simply need to install the "man" and "mlocate" packages: 'urpmi man mlocate'.

Last edited by unSpawn; 10-03-2012 at 12:54 PM. Reason: /Missed 1 package
 
Old 10-03-2012, 07:25 PM   #5
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 302

Original Poster
Blog Entries: 7

Rep: Reputation: 44
Unhappy Still didn't work!

Quote:
Originally Posted by unSpawn View Post
The /etc/cron.daily/makewhatis.cron and /etc/cron.weekly/makewhatis.cron files are provided by the "man" package. If you don't have those two files (and you didn't delete them ;-p) then it could be you simply need to install the "man" and "mlocate" packages: 'urpmi man mlocate'.
I ran this command too but it still didn't work; do I need an Internet connection to make the downloads from? Thanks for helping!
 
Old 10-03-2012, 08:01 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Unless you can load the packages from a CDROM or DVD then yes, you need an Internet connection. And the commands won't do much until the first time the database is updated, either via the cron job or by running it manually.
 
Old 10-11-2012, 08:24 PM   #7
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 302

Original Poster
Blog Entries: 7

Rep: Reputation: 44
Thanks for your help!

Quote:
Originally Posted by unSpawn View Post
Unless you can load the packages from a CDROM or DVD then yes, you need an Internet connection. And the commands won't do much until the first time the database is updated, either via the cron job or by running it manually.
Thanks for the help but I think I will go back to Fedora!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ on Ubuntu - #defines aren't working orrt Programming 5 03-23-2010 08:16 PM
apropos not working fisheromen1031 Linux - Newbie 7 06-11-2004 06:12 PM
Why aren't common commands working? NewTuxGirl Linux - Newbie 8 06-07-2004 10:42 AM
'apropos' and 'whatis' not returning info when 'man' does docbrazen Slackware 2 11-15-2003 11:46 PM
apropos not working pe2338 Linux - General 4 08-14-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration