Bug 101070 - GetUpdates does not show correct update type with dnf (Fedora 25/26)
Summary: GetUpdates does not show correct update type with dnf (Fedora 25/26)
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL: https://github.com/hughsie/PackageKit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-17 08:53 UTC by Martin Pitt
Modified: 2018-08-22 06:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pitt 2017-05-17 08:53:35 UTC
As per the documentation [1] the types returned by GetUpdates() should describe the severity of the update, like "security" or "enhancement". This seems to (by and large) work on CentOS 7 with yum:

# pkcon get-updates
[...]
Normal      	tzdata-2017b-1.el7.noarch (updates)                         	Timezone data

However, on Fedora 25 and 26, the type is always "Available":

Available   	tzdata-2017b-1.fc25.noarch (updates)                        	Timezone data
Available   	weechat-1.7.1-1.fc25.x86_64 (updates)                       	Portable, fast, light and extensible IRC client

In this cases, tzdata is a normal update and weechat is a security update. "
sudo dnf updateinfo info" does have the correct types, so the information is available in general:

===============================================================================
  tzdata-2017b-1.fc25
===============================================================================
  Update ID : FEDORA-2017-24b0b27b9f
       Type : enhancement

===============================================================================
  weechat-1.7.1-1.fc25
===============================================================================
  Update ID : FEDORA-2017-20dd9f26cf
       Type : security
[...]


This is with PackageKit-1.1.5-1.fc25.x86_64.

[1] https://www.freedesktop.org/software/PackageKit/gtk-doc/Transaction.html#Transaction.GetUpdates
Comment 1 Richard Hughes 2018-08-21 15:53:10 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.
Comment 2 Martin Pitt 2018-08-22 06:08:30 UTC
Still applies to current versions, I filed it as https://github.com/hughsie/PackageKit/issues/268


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.