22.09.2014 21:50, Colin Watson wrote:
> On Sun, Sep 21, 2014 at 12:27:59PM +0400, Michael Tokarev wrote:
>> Almost every time I install or remove some software (on a freshly installed
>> jessie system as of today, Sept-2014), when man-db dpkg trigger is run, I
>> see the following message:
>>
>>   Building database of manual pages ...
>>   /usr/bin/mandb: can't create index cache /var/cache/man/uk/5773: No such 
>> file or directory
>>
>> (with varied subdir and the number).  /var/cache/man directory is empty.
> 
> What does "ls -ld /var/cache/man" say?

# ll -d /var/cache/man
drwxr-xr-x 32 man root 4096 сен 22 05:05 /var/cache/man/
# ll /usr/bin/mandb
-rwxr-xr-x 1 root root 129632 апр 10 07:38 /usr/bin/mandb*

But it doesn't happen anymore, and the cache of manpages is now
finally created.  I think it is the cron job who did the trick
and fixed the prob.

Now when you asked, I can reproduce the issue again by chown'ing the
cache directory to root -- after removing all the cache (/var/cache/man/*),
and re-runnin mandb -pq as user man it complains exactly the same way.

But in the man-db.deb, /var/cache/man is owned by man user?  And it
should had been here when installing man-db, because it installs after
base-password.  Wtf.

I installed using debootstrap --variant=minbase, and later on, installed
a bunch of large packages (like gnome), and man-db has been pulled by one
of these.  So I'll try to reproduce it in a next few days by doing another
install.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to