[Bug 999033] New: appdata logic is wrong
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 Bug ID: 999033 Summary: appdata logic is wrong Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: mrueckert@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- example: darktable from home:darix:darktable:master package provides: /usr/share/appdata/darktable.appdata.xml but the repository does not provide an appdata data file. so zypper shows me: The following 3 applications are going to be REMOVED: "Wireshark (GTK) Network Analyzer" "Wireshark (QT) Network Analyzer" darktable for the darktable part according to dimstar the following happens: 1. zypp sees the file has an appdata file installed 2. the repository doesnt provide appdata information 3. assuming deinstallation. correct would be 1. zypp sees package comes from repository without appdata information 2. zypp skips all app data related checks then we wouldnt print false information that the "app" gets uninstalled. (in the package list it is correctly shown as package that will be updated.) for the wireshark related subpackage dimstar is unsure why it complains at all. the appdata information file lists e.g. <id>wireshark-qt.desktop</id> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 http://bugzilla.opensuse.org/show_bug.cgi?id=999033#c1 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@suse.com, | |mls@suse.com --- Comment #1 from Marcus Rückert <mrueckert@suse.com> --- 1 finding already: http://download.opensuse.org/repositories/home:/darix:/darktable:/master/ope... actually exists but has a few problems: a) the file is marked as version 0.6 but lacks origin attribute b) the file should be version 0.8 and then the fix in https://github.com/openSUSE/open-build-service/pull/2038 would have set the attribute c) but in the end the file is empty anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 http://bugzilla.opensuse.org/show_bug.cgi?id=999033#c2 --- Comment #2 from Michael Andres <ma@suse.com> --- This is a buildservice issue. The 'application' objects are created and fed into the resolver, like packages, patches etc. are. As neither the new packages /usr/share/appdata/darktable.appdata.xml nor the repos appdata.xml digest are available to the resolver, there's no prove that the installed application is still provided by the updated package. That's why the resolver reports the application as being removed. I don't know if zypper should actually assume that repo matadata are faulty and for this suppress the messages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 http://bugzilla.opensuse.org/show_bug.cgi?id=999033#c3 --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Michael Andres from comment #2)
This is a buildservice issue.
For darktable I came to the same conclusion - that is fishy on OBS (it published metadata ver 0.6, which should not be used for a while already again) The issue with wireshark though must be different - I'll create a new bug for this one to not poison the conversation here (so we can focus on one issue here) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |999047 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 http://bugzilla.opensuse.org/show_bug.cgi?id=999033#c4 --- Comment #4 from Marcus Rückert <mrueckert@suse.com> --- (In reply to Michael Andres from comment #2)
I don't know if zypper should actually assume that repo matadata are faulty and for this suppress the messages.
imho ... if the package is in the upgraded package list then surpress the warning for that package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|999047 | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999033 http://bugzilla.opensuse.org/show_bug.cgi?id=999033#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Michael Andres <ma@suse.com> --- The downside of suppressing the message is that we don't detect broken data that easy. So we keep it as it is - and fix the data instead. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com