maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   man-db on harmattan (https://talk.maemo.org/showthread.php?t=94509)

u7knv9h 2015-01-24 20:39

Re: man-db on harmattan
 
Quote:

Originally Posted by lokai (Post 1457966)
/usr/share/man

That explains a bit, I guess.
that gets purged on installing any package, see the README

copied the man gzs from package to /usr/man and it works. As user as well as devel-su.

what README?

i tried copying some manpages in /usr/man and /usr/manX, but i get the same as before, it's like if the manpages are there but man can't read them. permissions on every manpage are rw-r--r-- (644) and i have groff-base installed, am i missing something?

it's interesting that if i do
Code:

echo test manpage > test
and then
Code:

man ./test
i still get an empty manpage with "Manual page $filename line ?/? (END)"
it's pretty frustrating

lokai 2015-01-24 21:32

Re: man-db on harmattan
 
Quote:

Originally Posted by nieldk (Post 1457906)
You can get the lot (manpages) from ubuntu
http://packages.ubuntu.com/source/utopic/manpages

But, also try to run 'mandb'

I downloaded manpages_3.65 (also dev), extracted with dpkg -x and copied to /usr/man.
Now I have much more man pages but simple commands like cp or ls are not included? Some hint where to download a more 'complete set'?

mandb is only for creating cache index, right? Not for downloading?

lokai 2015-01-24 21:44

Re: man-db on harmattan
 
That README:
Quote:

~ cat /usr/share/man/README
Purged by docpurge
man ./anyfile
should show something

Maybe some other lib missing? which I might have?
i am on open mode

u7knv9h 2015-01-24 22:32

Re: man-db on harmattan
 
can you plase run this command and post the output?
Code:

ldd /usr/bin/man

lokai 2015-01-24 22:52

Re: man-db on harmattan
 
Quote:

Originally Posted by u7knv9h (Post 1457987)
can you plase run this command and post the output?
Code:

ldd /usr/bin/man

Sure

~ $ ldd /usr/bin/man
libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x3aabc000)
libz.so.1 => /usr/lib/libz.so.1 (0x41408000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41180000)
libc.so.6 => /lib/libc.so.6 (0x41030000)
/lib/ld-linux.so.3 (0x41000000)

peterleinchen 2015-01-24 23:01

Re: man-db on harmattan
 
FWIW I have the exact same output of ldd.
And I have open mode kernel, too.

Man works and shows (whatever man pages are in /usr/man or /usr/share/man).

u7knv9h 2015-01-25 10:52

same output here too, but no open mode, so i think i'm gonna put it on my n9
just a question, should i remove inception/aegisctl before i put open mode kernel?

peterleinchen 2015-01-25 17:18

Re: man-db on harmattan
 
Quote:

Originally Posted by u7knv9h (Post 1458052)
same output here too, but no open mode, so i think i'm gonna put it on my n9
just a question, should i remove inception/aegisctl before i put open mode kernel?

Sorry, no idea. Never tried inception, went directly into open mode.

But I guess it should not harm (nevertheless I would remove it prior).

nieldk 2015-01-25 18:03

Re: man-db on harmattan
 
Dont use both inception and open mode (aegis patched) together.
Also, I doubt that either of those are the issue of the problem.

u7knv9h 2015-01-25 23:02

Re: man-db on harmattan
 
Quote:

Originally Posted by nieldk (Post 1458129)
Dont use both inception and open mode (aegis patched) together.
Also, I doubt that either of those are the issue of the problem.

i also thought so, since it has nothing to do with it (and 'less' works) but a try is not going to harm me lol, and i were already planning to use plain open mode kernel anyway


All times are GMT. The time now is 17:29.

vBulletin® Version 3.8.8