Here is the explanation.

Muon is very silly about file permissions. In its work it must read a
lot of files and query the apt-xapian database. However, if it cannot
read some file due to too strict permissions, it does not say so in any
way. It just pretends that everything is fine and that the files were
readable but empty. Similarly, if querying the xapian database, it
cannot read any data because the database looks empty, it does not say
so in any way, but it merely pretends that no package is on the system
(as far as the possibility to search packages is concerned).

To make muon work

1) make sure that /var/lib/apt-xapian-index/ and everything under it is 
readable by all users
2) make sure that /var/cache/apt-xapian-index/ and everything under it is 
readable by all users
3) make sure that /var/lib/update-notifier/updates-available is readable by all 
users (see 
http://www.kubuntuforums.net/showthread.php?57469-Muon-Update-Notifications-in-12-04)

And that apt-xapian-index does not change these permissions.

Muon developers seem not to like the idea to provide diagnostic info
about this, indicating it as a distribution bug
(https://bugs.kde.org/show_bug.cgi?id=320035)

** Bug watch added: KDE Bug Tracking System #320035
   https://bugs.kde.org/show_bug.cgi?id=320035

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1006101

Title:
  Index update seems to disable muon search until restarting muon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1006101/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to