LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 04:23 PM   #1
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 290
Blog Entries: 7

Rep: Reputation: 43
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, 09:24 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,564
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
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, 12:56 PM   #3
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 290
Blog Entries: 7

Original Poster
Rep: Reputation: 43
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, 01:23 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,564
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
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 01:54 PM. Reason: /Missed 1 package
 
Old 10-03-2012, 08:25 PM   #5
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 290
Blog Entries: 7

Original Poster
Rep: Reputation: 43
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, 09:01 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,564
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
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, 09:24 PM   #7
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 290
Blog Entries: 7

Original Poster
Rep: Reputation: 43
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:16 PM
apropos not working fisheromen1031 Linux - Newbie 7 06-11-2004 07:12 PM
Why aren't common commands working? NewTuxGirl Linux - Newbie 8 06-07-2004 11:42 AM
'apropos' and 'whatis' not returning info when 'man' does docbrazen Slackware 2 11-16-2003 12:46 AM
apropos not working pe2338 Linux - General 4 08-14-2003 06:51 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration