| Author |
Message |
|
|
Post subject: sidux should come with `info' preinstalled
Posted: Jul 20, 2008 - 02:49 AM
|
|

Joined: Jun 26, 2008
Posts: 7
Location: Macau
Status: Offline
|
|
I come to this request since I do not get connected to the internet too often. One day (offline) I wanna read the info page of a command, I surprisedly find that the `info' command is not available. This is really weired. Just see the description of `info' by `apt-cache show info':
Quote:
Much of the software in Debian comes with its online documentation in the form of Info files, so it is most likely you will want to install it.
So I think sidux should come with `info' preinstalled. Thanks. |
|
|
| |
|
|
|
 |
|
|
Post subject: sidux should come with `info
Posted: Jul 20, 2008 - 02:56 AM
|
|

Joined: Nov 30, 2006
Posts: 3480
Location: Budapest
Status: Offline
|
|
|
|
|
 |
|
|
Post subject: Re: sidux should come with `info
Posted: Jul 20, 2008 - 03:18 AM
|
|

Joined: Jun 26, 2008
Posts: 7
Location: Macau
Status: Offline
|
|
|
hubi wrote:
Use man instead of info:
Code:
man packagename
hubi
Thanks for the reply, hubi. I know I can use man instead. But with only the man page is not sufficient. I installed the octave3.0 package. `man octave3.0' only give a simple description of the usage of octave as a command in the shell. What I wanna read is its detailed DOCUMENTATION. That's why I come to `info' since I installed its info-doc package as well. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 07:12 AM
|
|
Joined: Dec 19, 2006
Posts: 1030
Status: Offline
|
|
| I agree, it will be added for next time (pending veto). |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 02:17 PM
|
|
Joined: Jan 10, 2008
Posts: 225
Status: Offline
|
|
| ... and to search a manual page think of "apropos SEARCHSOME" (But I do not know if you have to updatedb before). Info is good to learn linux from ground up (textutils, grep, sed, etc), but seems to me outdated and not relevant if it comes to more actual config issues. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 02:47 PM
|
|

Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
|
|
|
ralul wrote:
... and to search a manual page think of "apropos SEARCHSOME" (But I do not know if you have to updatedb before).
...
updatedb fills the database for 'locate', an alternative for 'find'. From the man page for apropos:
Quote:
The database searched by apropos is updated by the mandb program.
|
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 07:26 PM
|
|
Joined: Jan 10, 2008
Posts: 225
Status: Offline
|
|
Yes CaesarTjalbo, so if you had installed something new recently for which you want apropos and manuals then start as root:
Code:
/etc/cron.daily/man-db
|
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 07:26 PM
|
|
Joined: Nov 25, 2006
Posts: 2571
Status: Offline
|
|
| newflash, this is not necessary in sid. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 20, 2008 - 11:18 PM
|
|

Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
|
|
|
slh wrote:
newflash, this is not necessary in sid.
What's so 'unnecessary' about info in sid? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 21, 2008 - 12:39 AM
|
|
Joined: Dec 19, 2006
Posts: 1030
Status: Offline
|
|
| I believe he referred to running "/etc/cron.daily/man-db", as that should be taken care of by dpkg trigger or so. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 21, 2008 - 11:48 AM
|
|
Joined: Nov 25, 2006
Posts: 2571
Status: Offline
|
|
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 21, 2008 - 12:40 PM
|
|

Joined: Jan 07, 2008
Posts: 298
Status: Offline
|
|
| BTW, the "info" documentation can be viewed with konqueror via info:/ just like man pages with man:/. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 21, 2008 - 06:22 PM
|
|

Joined: Dec 01, 2007
Posts: 203
Location: Enschede NL
Status: Offline
|
|
|
kelmo wrote:
I believe he referred to running "/etc/cron.daily/man-db", as that should be taken care of by dpkg trigger or so.
That makes so much more sense that I don't understand why I overlooked that.
Interesting, I'm new to the debian packaging system and I hadn't seen the triggers yet. I gather that means that every package which adds/removes man pages should have a dpkg trigger to run man-db. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 22, 2008 - 12:55 AM
|
|
Joined: Dec 19, 2006
Posts: 1030
Status: Offline
|
|
| Exactly. update-menu's, man-db, update-initramfs seem to all have dpkg-trigger support currently. Any package which needs to perform one of those actions activates the trigger and the action gets performed at the end of dpkg run. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
Posted: Jul 22, 2008 - 01:04 AM
|
|
Joined: Dec 02, 2006
Posts: 1909
Status: Offline
|
|
| The trigger system sounds interesting indeed. My thoughts it can allow certain actions to be deferred to end of dpkg run by queuing them for the trigger to process them. Sounds like a nice idea as it makes apt-get more robust and efficient |
|
|
| |
|
|
|
 |
|
|