[Bug 961738] New: digikam: zypper wants to remove ImagePlugin-*, but nothing to do
http://bugzilla.opensuse.org/show_bug.cgi?id=961738 Bug ID: 961738 Summary: digikam: zypper wants to remove ImagePlugin-*, but nothing to do Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: All OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: i@marguerite.su QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After recent TW update, zypper always wants to remove those: <code> will remove those applications: ImagePlugin-Color ImagePlugin-Decorate ImagePlugin-Enhance ImagePlugin-FxFilters ImagePlugin-Transform </code> but: <code> sudo zypper rm -u -t application ImagePlugin-Color ImagePlugin-Decorate ImagePlugin-Enhance ImagePlugin-FxFilters ImagePlugin-Transform nothing to do </code> after some search, I found those ImagePlugin are provided by digikam. <code> ls /usr/share/appdata | grep digiKam digiKam-ImagePlugin_Color.metainfo.xml digiKam-ImagePlugin_Decorate.metainfo.xml digiKam-ImagePlugin_Enhance.metainfo.xml digiKam-ImagePlugin_FxFilters.metainfo.xml digiKam-ImagePlugin_Transform.metainfo.xml </code> which are provided actually by .so libraries. Is this a zypper thing or digikam shouldn't provides those? Marguerite -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c1
Wolfgang Bauer
Is this a zypper thing or digikam shouldn't provides those?
Those appdata files are already provided by the digikam package in 13.2 (maybe even earlier), and upto now it wasn't a problem. So I'd say it is a zypper thing, maybe the fix for Bug#926865 caused this new issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c2
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c3
--- Comment #3 from Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c4
Michael Andres
ImagePlugin-Color ImagePlugin-Decorate ImagePlugin-Enhance ImagePlugin-FxFilters ImagePlugin-Transform digiKam Showfoto
Applications digiKam and Showfoto (parsed from *.appdata.xml) are also available in repo-oss (http://download.opensuse.org/tumbleweed/repo/oss). The remaining 5 (parsed from *.metainfo.xml) appear as installed, but they are not available in the repo-oss metadata; i.e. they appear to be orphaned. We should somehow take care that application metadata in repos and system are in sync. If .metainfo.xml is parsed in the system the corresponding data must be available in the repo as well. 2) On almost every transaction (even 'zypper in xteddy') the resolver suggests to remove the 5 orphaned ImagePlugin-* applications. 3) The testcase system has also application:gedit installed. While 'zypper rm application:gedit' resolves to deleting package:gedit as expected, deletion of application:digiKam or application:Showfoto does not resolve to deleting package:digikam. Removing package:digikam however resolves to also removing all 7 applications. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c5
--- Comment #5 from Dominique Leuenberger
Michael/Dominique: There are still a few issues with libsolv-0.6.17 and applications.
1) After installing package:digikam is see 7 new installed applications:
ImagePlugin-Color ImagePlugin-Decorate ImagePlugin-Enhance ImagePlugin-FxFilters ImagePlugin-Transform digiKam Showfoto
Applications digiKam and Showfoto (parsed from *.appdata.xml) are also available in repo-oss (http://download.opensuse.org/tumbleweed/repo/oss).
The remaining 5 (parsed from *.metainfo.xml) appear as installed, but they are not available in the repo-oss metadata; i.e. they appear to be orphaned.
We should somehow take care that application metadata in repos and system are in sync. If .metainfo.xml is parsed in the system the corresponding data must be available in the repo as well.
appdata-failed.xml contains the reason for this: <vetos> <veto>partially absorbing digiKam-ImagePlugin_Color into digikam.desktop</veto> </vetos> The plugin is not split out in a sep package - thus it cannot be proposed to a software center to be installed on-demand / removed on demand There are two solutions - none are actually to be fixed in libzypp: * accept that you do not want digikam to be extensible by plugins: do not install the metainfo.xml files * split the plugins in their own packages, so that a SC can list them as extensions as they should be (so the plugin package should contain all the files needed for this plugin plus the metainfo.xml file)
Removing package:digikam however resolves to also removing all 7 applications.
That's really because all metainfo lives in one package.. even for any appstore this has to be an issue, as one package gives more than one feature. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
Walter Haidinger
From the resolvers POV the one-to-many relation between 'package:digikam' and
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c6
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c7
--- Comment #7 from Dominique Leuenberger
From the resolvers POV the one-to-many relation between 'package:digikam' and the provided 'applications' seems to be the problem.
The resolver messages about removing 'application:ImagePlugin-' need to be ignored until we have a fix for it.
It's not even purely related to 1:n relationships: The following application is going to be REMOVED: SpamAssassin This is actully no 'App', but an evolution plugin. The metainfo.xml file contains: <component type="addon"> <id>evolution-spamassassin</id> <extends>evolution.desktop</extends> <name>SpamAssassin</name>
rpm -qlf /usr/share/appdata/evolution-spamassassin.metainfo.xml /usr/lib64/evolution/modules/module-spamassassin.so /usr/share/appdata/evolution-spamassassin.metainfo.xml
so, the plugin is properly split out as it's supposed to be - and as it's an addon, there is no .desktop file expected for it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
Bruno Friedmann
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
Kenneth Perry
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c17
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=961738
http://bugzilla.opensuse.org/show_bug.cgi?id=961738#c24
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com