Appstream in fedora

Matthias Klumpp matthias at tenstral.net
Fri Oct 3 09:45:33 PDT 2014


Am 03.10.2014 18:03 schrieb "Aleix Pol" <aleixpol at kde.org>:
>
> On Fri, Oct 3, 2014 at 5:40 PM, Matthias Klumpp <mak at debian.org> wrote:
>>
>> Hi! Replying from my phone, so sorry for top-posting. (I am currently
without internet)
>> This looks like a packaging bug for libas. Can you place
"categories.xml" from the libas source tree in the requested directory?
>> Also, can you ensure that the package "appstream-data" is installed, and
if you still don't get any search results, run "appstream-index refresh
--force" as root?
>> That should definitively do the trick.
>> Cheers,
>>     Matthias
>> Am 02.10.2014 17:06 schrieb "Aleix Pol" <aleixpol at kde.org>:
>>
>>
>> >
>> > Hi ximion,
>> > I was trying to test muon discover in fedora, because I thought it
would be appstream wonderland (in comparison to Arch, at least) and I'm not
having anything reported. See this for example:
>> >
>> > [aleix at localhost ~]$ appstream-index search libreoffice
>> > I/O warning : failed to load external entity
"/usr/share/appstream/app-info/categories.xml"
>> > No component matching 'libreoffice' found.
>> >
>> > Do you know what can be happening?
>> >
>> > FWIW, the actual problem isn't that appstream-index is not working,
but Muon Discover isn't working. This is just an easier way to reproduce
the problem.
>> >
>> > Aleix
>
>
> I already refreshed appstream-index otherwise other things crash.
>
> Is the categories.xml needed to get results from the index?
Can you please report the crashes? Even with no index all, nothing should
ever crash.
The categories file is needed - it was added on request for the Elementary
software center, and Apper uses it too (I plan to remove the requirement of
it later though, which is a bit oft work, since I don't want to break ABI -
but AS 0.7.2 already contains work in that direction).
This file should be shipped by the Fedora package though, if it isn't, it's
a bug in the packaging.
--- Matthias

P.S.: Can you verify that the Xapian cache is present in
/var/cache/app-info/xapian ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/distributions/attachments/20141003/901016e8/attachment.html>


More information about the Distributions mailing list