sidux.com

sidux Requests - sidux should come with `info' preinstalled

plmday - Jul 20, 2008 - 02:49 AM
Post subject: sidux should come with `info' preinstalled
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.
hubi - Jul 20, 2008 - 02:56 AM
Post subject: sidux should come with `info
Use man instead of info:
Code:
man packagename
hubi
plmday - Jul 20, 2008 - 03:18 AM
Post subject: Re: sidux should come with `info
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.
kelmo - Jul 20, 2008 - 07:12 AM
Post subject: RE: Re: sidux should come with `info
I agree, it will be added for next time (pending veto).
ralul - Jul 20, 2008 - 02:17 PM
Post subject: RE: Re: sidux should come with `info
... 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.
CaesarTjalbo - Jul 20, 2008 - 02:47 PM
Post subject: Re: RE: Re: sidux should come with `info
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.

ralul - Jul 20, 2008 - 07:26 PM
Post subject: RE: Re: RE: Re: sidux should come with `info
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

slh - Jul 20, 2008 - 07:26 PM
Post subject: RE: Re: RE: Re: sidux should come with `info
newflash, this is not necessary in sid.
CaesarTjalbo - Jul 20, 2008 - 11:18 PM
Post subject: Re: RE: Re: RE: Re: sidux should come with `info
slh wrote:
newflash, this is not necessary in sid.

What's so 'unnecessary' about info in sid?
kelmo - Jul 21, 2008 - 12:39 AM
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
I believe he referred to running "/etc/cron.daily/man-db", as that should be taken care of by dpkg trigger or so.
slh - Jul 21, 2008 - 11:48 AM
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
indeed
ModestUser - Jul 21, 2008 - 12:40 PM
Post subject: RE: Re: RE: Re: RE: Re: sidux should come with `info
BTW, the "info" documentation can be viewed with konqueror via info:/ just like man pages with man:/.
CaesarTjalbo - Jul 21, 2008 - 06:22 PM
Post subject: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
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.
kelmo - Jul 22, 2008 - 12:55 AM
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
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.
DeepDayze - Jul 22, 2008 - 01:04 AM
Post subject: RE: Re: RE: Re: RE: Re: RE: Re: sidux should come with `info
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
ralul - Jul 22, 2008 - 11:56 AM
Post subject: triggers and crontab
DeepDayze, triggers in Debian package system are reality nowadays. Some time ago when i began with ubuntu you had to wait with updates much longer time as if several packages needed an update-initramfs it was made several times.

And some time ago there was my experience that a new package installed hadn't any apropos search terms updated in mandb up to the next day when crontab started. If every package you install were configured properly there was no need for /etc/cron.daily/man-db to exist anymore.
All times are GMT
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits