After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791478 - Software shows already-installed updates not shown by pkcon or dnf
Software shows already-installed updates not shown by pkcon or dnf
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-12-11 13:28 UTC by Dag Odenhall
Modified: 2018-01-24 17:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
OS Updates in Software (53.56 KB, image/png)
2017-12-11 13:28 UTC, Dag Odenhall
Details
OS Updates after Restart & Update (48.19 KB, image/png)
2017-12-11 13:40 UTC, Dag Odenhall
Details

Description Dag Odenhall 2017-12-11 13:28:10 UTC
Created attachment 365360 [details]
OS Updates in Software

For the last few updates, Software has been showing me updates already installed in previous transactions, that are not shown by dnf or pkcon. I've tried to refresh in Software, and I've tried pkcon repair and refresh force with no effect. Restart & Update seems to work without a problem: it installs the actually available updates and doesn't complain about the already installed ones. I think it does report the update as failed when I get back into the Shell, unless I remember incorrectly (I'll try this update and report back), but in fact the updates get installed.

This is on a Fedora 27 system. In the attached screenshot you can tell by the scrollbar that it's showing a long list of updates unlike the output of the following commands.

# rpm -qa 'PackageKit*' gnome-software
PackageKit-1.1.7-1.fc27.x86_64
PackageKit-command-not-found-1.1.7-1.fc27.x86_64
PackageKit-glib-1.1.7-1.fc27.x86_64
PackageKit-gtk3-module-1.1.7-1.fc27.x86_64
gnome-software-3.26.3-1.fc27.x86_64
PackageKit-gstreamer-plugin-1.1.7-1.fc27.x86_64

# dnf repolist
Last metadata expiration check: 1:10:09 ago on Mon 11 Dec 2017 13:10:39 CET.
repo id                        repo name                                  status
dirkdavidis-papirus-icon-theme Copr repo for papirus-icon-theme owned by       2
*fedora                        Fedora 27 - x86_64                         54,801
heikoada-gtk-themes            Copr repo for gtk-themes owned by heikoada    312
*rpmfusion-free                RPM Fusion for Fedora 27 - Free               574
*rpmfusion-free-updates        RPM Fusion for Fedora 27 - Free - Updates      72
*updates                       Fedora 27 - x86_64 - Updates                6,919

# dnf upgrade
Last metadata expiration check: 1:14:16 ago on Mon 11 Dec 2017 13:10:39 CET.
Dependencies resolved.
================================================================================
 Package                  Arch   Version              Repository           Size
================================================================================
Installing:
 kernel                   x86_64 4.14.3-300.fc27      updates              76 k
 kernel-core              x86_64 4.14.3-300.fc27      updates              21 M
 kernel-modules           x86_64 4.14.3-300.fc27      updates              25 M
 kernel-modules-extra     x86_64 4.14.3-300.fc27      updates             2.1 M
Upgrading:
 adapta-gtk-theme-common  noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes  25 k
 adapta-gtk-theme-gedit   noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes  11 k
 adapta-gtk-theme-gtk2    noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes 154 k
 adapta-gtk-theme-gtk3    noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes 836 k
 adapta-gtk-theme-gtk4    noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes 405 k
 gnome-shell-theme-adapta noarch 3.92.2-2.201712102100gitc68e765.fc27
                                                      heikoada-gtk-themes 122 k
 kernel-headers           x86_64 4.14.3-300.fc27      updates             1.2 M
Removing:
 kernel                   x86_64 4.13.15-300.fc27     @updates              0  
 kernel-core              x86_64 4.13.15-300.fc27     @updates             55 M
 kernel-modules           x86_64 4.13.15-300.fc27     @updates             24 M
 kernel-modules-extra     x86_64 4.13.15-300.fc27     @updates            2.0 M

Transaction Summary
================================================================================
Install  4 Packages
Upgrade  7 Packages
Remove   4 Packages

Total download size: 51 M
Is this ok [y/N]: 


# pkcon get-updates
Getting updates               [=========================]         
Finished                      [=========================]         
Available   	adapta-gtk-theme-common-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Files common to Adapta themes
Available   	adapta-gtk-theme-gedit-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Adapta gEdit theme
Available   	adapta-gtk-theme-gtk2-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Adapta GTK+2 themes
Available   	adapta-gtk-theme-gtk3-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Adapta GTK+3 themes
Available   	adapta-gtk-theme-gtk4-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Adapta GTK+4 themes
Available   	gnome-shell-theme-adapta-3.92.2-2.201712102100gitc68e765.fc27.noarch (heikoada-gtk-themes)	Adapta GNOME Shell theme
Available   	kernel-4.14.3-300.fc27.x86_64 (updates)                     	The Linux kernel
Available   	kernel-core-4.14.3-300.fc27.x86_64 (updates)                	The Linux kernel
Available   	kernel-headers-4.14.3-300.fc27.x86_64 (updates)             	Header files for the Linux kernel for use by glibc
Available   	kernel-modules-4.14.3-300.fc27.x86_64 (updates)             	kernel modules to match the core kernel
Available   	kernel-modules-extra-4.14.3-300.fc27.x86_64 (updates)       	Extra kernel modules to match the kernel

# pkcon offline-get-prepared 
Prepared updates:
adapta-gtk-theme-common-3.92.2-2.201712102100gitc68e765.fc27.noarch
gnome-shell-theme-adapta-3.92.2-2.201712102100gitc68e765.fc27.noarch
adapta-gtk-theme-gtk4-3.92.2-2.201712102100gitc68e765.fc27.noarch
adapta-gtk-theme-gtk3-3.92.2-2.201712102100gitc68e765.fc27.noarch
adapta-gtk-theme-gtk2-3.92.2-2.201712102100gitc68e765.fc27.noarch
adapta-gtk-theme-gedit-3.92.2-2.201712102100gitc68e765.fc27.noarch
kernel-headers-4.14.3-300.fc27.x86_64
kernel-core-4.14.3-300.fc27.x86_64
kernel-4.14.3-300.fc27.x86_64
kernel-modules-extra-4.14.3-300.fc27.x86_64
kernel-modules-4.14.3-300.fc27.x86_64
Comment 1 Dag Odenhall 2017-12-11 13:40:34 UTC
Created attachment 365363 [details]
OS Updates after Restart & Update

After Restart & Update, Software reported a success and showed this list of installed updates, matching the set previously reported as available by pkcon and dnf but not the set reported by Software before installing the updates. Software, pkcon and dnf all now report no pending updates.
Comment 2 Dag Odenhall 2017-12-13 21:16:22 UTC
I was going to report that it seems to have fixed itself now, but then I removed a few packages that had available updates and they're still displayed in Software as OS Updates after I have removed them.
Comment 3 GNOME Infrastructure Team 2018-01-24 17:56:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/272.