Processing triggers for man-db ... /usr/bin/mandb: can't ope

Archived topics about LMDE 1
Forum rules
WhatUsernameIsFree?
Level 4
Level 4
Posts: 211
Joined: Wed Oct 19, 2011 1:32 pm

Processing triggers for man-db ... /usr/bin/mandb: can't ope

Postby WhatUsernameIsFree? » Tue Jan 01, 2013 2:41 pm

Hi all,

I tried to install a program (caffeine) before realisng I have no idea what I'm doing. Whenever I try to install or remove something, I end up with the following error:

Code: Select all

Processing triggers for man-db ...
/usr/bin/mandb: can't open /usr/local/share/man/man1/caffeine.1.gz: Permission denied


Can anyone tell me how to resolve this?

Thanks

User avatar
DrHu
Level 17
Level 17
Posts: 7563
Joined: Wed Jun 17, 2009 8:20 pm

Re: Processing triggers for man-db ... /usr/bin/mandb: can't

Postby DrHu » Tue Jan 01, 2013 3:27 pm

You always have to be admin (first user created) or root to manage install/removal of programs..

WhatUsernameIsFree?
Level 4
Level 4
Posts: 211
Joined: Wed Oct 19, 2011 1:32 pm

Re: Processing triggers for man-db ... /usr/bin/mandb: can't

Postby WhatUsernameIsFree? » Tue Jan 01, 2013 3:53 pm

Hi,

Thanks, this is done as root with sudo. Is there a way to find out what it's trying to do and edit it manually or something? Or manually run the command?

WhatUsernameIsFree?
Level 4
Level 4
Posts: 211
Joined: Wed Oct 19, 2011 1:32 pm

Re: Processing triggers for man-db ... /usr/bin/mandb: can't

Postby WhatUsernameIsFree? » Tue Jan 01, 2013 3:55 pm

Fixed, I hope!

I did the following. Anyone tell me what it did or if I shouldn't have done it?

Code: Select all

sudo /usr/bin/mandb
[sudo] password:
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Purging old database entries in /usr/share/man/jp...
Processing manual pages under /usr/share/man/jp...
Purging old database entries in /usr/share/man/hr...
Processing manual pages under /usr/share/man/hr...
Purging old database entries in /usr/share/man/ja...
Processing manual pages under /usr/share/man/ja...
Purging old database entries in /usr/share/man/ro...
Processing manual pages under /usr/share/man/ro...
Purging old database entries in /usr/share/man/gl...
Processing manual pages under /usr/share/man/gl...
Purging old database entries in /usr/share/man/es...
Processing manual pages under /usr/share/man/es...
Purging old database entries in /usr/share/man/pl...
Processing manual pages under /usr/share/man/pl...
Purging old database entries in /usr/share/man/sl...
Processing manual pages under /usr/share/man/sl...
Purging old database entries in /usr/share/man/fr.UTF-8...
Processing manual pages under /usr/share/man/fr.UTF-8...
Purging old database entries in /usr/share/man/fr.ISO8859-1...
Processing manual pages under /usr/share/man/fr.ISO8859-1...
Purging old database entries in /usr/share/man/cs...
Processing manual pages under /usr/share/man/cs...
Purging old database entries in /usr/share/man/pt...
Processing manual pages under /usr/share/man/pt...
Purging old database entries in /usr/share/man/hu...
Processing manual pages under /usr/share/man/hu...
Purging old database entries in /usr/share/man/it...
Processing manual pages under /usr/share/man/it...
Purging old database entries in /usr/share/man/zh_TW...
Processing manual pages under /usr/share/man/zh_TW...
Purging old database entries in /usr/share/man/ru...
Processing manual pages under /usr/share/man/ru...
Purging old database entries in /usr/share/man/sk...
Processing manual pages under /usr/share/man/sk...
Purging old database entries in /usr/share/man/fi...
Processing manual pages under /usr/share/man/fi...
Purging old database entries in /usr/share/man/pt_BR...
Processing manual pages under /usr/share/man/pt_BR...
Purging old database entries in /usr/share/man/id...
Processing manual pages under /usr/share/man/id...
Purging old database entries in /usr/share/man/sv...
Processing manual pages under /usr/share/man/sv...
Purging old database entries in /usr/share/man/da...
Processing manual pages under /usr/share/man/da...
Purging old database entries in /usr/share/man/fr...
Processing manual pages under /usr/share/man/fr...
Purging old database entries in /usr/share/man/nl...
Processing manual pages under /usr/share/man/nl...
Purging old database entries in /usr/share/man/zh_CN...
Processing manual pages under /usr/share/man/zh_CN...
Purging old database entries in /usr/share/man/ko...
Processing manual pages under /usr/share/man/ko...
Purging old database entries in /usr/share/man/tr...
Processing manual pages under /usr/share/man/tr...
Purging old database entries in /usr/share/man/pa...
Processing manual pages under /usr/share/man/pa...
Purging old database entries in /usr/share/man/zh...
Processing manual pages under /usr/share/man/zh...
Purging old database entries in /usr/share/man/de...
Processing manual pages under /usr/share/man/de...
Processing manual pages under /usr/local/share/man...
Updating index cache for path `/usr/local/share/man/man1'. Wait...done.
Checking for stray cats under /usr/local/share/man...
Checking for stray cats under /var/cache/man/local...
1 man subdirectory contained newer manual pages.
1 manual page was added.
0 stray cats were added.
10 old database entries were purged.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests