[Bug 1006101] Re: Index update seems to disable muon search until restarting muon

Sergio Callegari sergio.callegari at gmail.com
Sun Jun 16 08:45:15 UTC 2013


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
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/1006101

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

Status in “apt-xapian-index” package in Ubuntu:
  Confirmed

Bug description:
  It seems that when update-apt-xapian-index runs while Muon Package
  Manager is in use, search is disabled until Muon is restarted.
  Ideally, I'd expect the old index to remain available until the update
  is complete and user notification if there is a need to restart an
  open package manager.

  Please excuse me if I've reached any incorrect conclusions or if this
  has already been attended to, as I'm not using the most current
  version.  I did search around a bit and glance at some changelogs
  though, and didn't see any mention of anything similar.

  Apt-xapian-index   0.44ubuntu4
  Muon   1.2.1-0ubuntu1.1
  KDE   4.7.4
  Kubuntu   11.10
  Architecture   amd64

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




More information about the foundations-bugs mailing list