Bug 1193520 - PackageKit does not show updates detected by "yum update"
Summary: PackageKit does not show updates detected by "yum update"
Keywords:
Status: CLOSED DUPLICATE of bug 1188207
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 21
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 14:11 UTC by Paulo Fessel
Modified: 2019-09-12 08:15 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-10 20:10:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paulo Fessel 2015-02-17 14:11:11 UTC
Description of problem: after my upgrade to Twenty One, I notice that "pkcon update" does not update the system even when "yum update" does. That is, if I run "pkcon update" I always get the "No packages require updating to newer versions" even when "yum update" shows the complete list of updates. This happened again today:

[pfessel@wotan ~]$ LANG=C /usr/bin/pkcon update
Getting updates               [=========================]         
Finished                      [=========================]         
No packages require updating to newer versions.

[pfessel@wotan ~]$ LANG=C sudo yum update
Loaded plugins: langpacks, remove-with-leaves, show-leaves
Resolving Dependencies
--> Running transaction check
---> Package buildsys-build-rpmfusion.x86_64 10:21-11 will be updated
---> Package buildsys-build-rpmfusion.x86_64 10:21-12 will be an update
---> Package fedup.noarch 0:0.9.0-2.fc21 will be updated
---> Package fedup.noarch 0:0.9.1-1.fc21 will be an update
---> Package firefox.x86_64 0:35.0.1-3.fc21 will be updated
---> Package firefox.x86_64 0:35.0.1-5.fc21 will be an update
---> Package gtk3.i686 0:3.14.8-1.fc21 will be updated
---> Package gtk3.x86_64 0:3.14.8-1.fc21 will be updated
---> Package gtk3.i686 0:3.14.8-2.fc21 will be an update
---> Package gtk3.x86_64 0:3.14.8-2.fc21 will be an update
---> Package gtk3-devel.x86_64 0:3.14.8-1.fc21 will be updated
---> Package gtk3-devel.x86_64 0:3.14.8-2.fc21 will be an update
---> Package gtk3-immodule-xim.x86_64 0:3.14.8-1.fc21 will be updated
---> Package gtk3-immodule-xim.x86_64 0:3.14.8-2.fc21 will be an update
---> Package kernel.x86_64 0:3.18.7-200.fc21 will be installed
---> Package kernel-core.x86_64 0:3.18.7-200.fc21 will be installed
---> Package kernel-devel.x86_64 0:3.18.7-200.fc21 will be installed
---> Package kernel-headers.x86_64 0:3.18.6-200.fc21 will be updated
---> Package kernel-headers.x86_64 0:3.18.7-200.fc21 will be an update
---> Package kernel-modules.x86_64 0:3.18.7-200.fc21 will be installed
---> Package kernel-modules-extra.x86_64 0:3.18.7-200.fc21 will be installed
---> Package libcacard.x86_64 2:2.1.3-1.fc21 will be updated
---> Package libcacard.x86_64 2:2.1.3-2.fc21 will be an update
---> Package libdmapsharing.x86_64 0:2.9.29-2.fc21 will be updated
---> Package libdmapsharing.x86_64 0:2.9.30-1.fc21 will be an update
---> Package perl-Getopt-Long.noarch 0:2.42-2.fc21 will be updated
---> Package perl-Getopt-Long.noarch 0:2.43-1.fc21 will be an update
---> Package perl-Pod-Simple.noarch 1:3.28-293.fc21 will be updated
---> Package perl-Pod-Simple.noarch 1:3.29-1.fc21 will be an update
---> Package qemu-common.x86_64 2:2.1.3-1.fc21 will be updated
---> Package qemu-common.x86_64 2:2.1.3-2.fc21 will be an update
---> Package qemu-guest-agent.x86_64 2:2.1.3-1.fc21 will be updated
---> Package qemu-guest-agent.x86_64 2:2.1.3-2.fc21 will be an update
---> Package qemu-img.x86_64 2:2.1.3-1.fc21 will be updated
---> Package qemu-img.x86_64 2:2.1.3-2.fc21 will be an update
---> Package qemu-kvm.x86_64 2:2.1.3-1.fc21 will be updated
---> Package qemu-kvm.x86_64 2:2.1.3-2.fc21 will be an update
---> Package qemu-system-x86.x86_64 2:2.1.3-1.fc21 will be updated
---> Package qemu-system-x86.x86_64 2:2.1.3-2.fc21 will be an update
---> Package tzdata.noarch 0:2014j-1.fc21 will be updated
---> Package tzdata.noarch 0:2015a-1.fc21 will be an update
---> Package tzdata-java.noarch 0:2014j-1.fc21 will be updated
---> Package tzdata-java.noarch 0:2015a-1.fc21 will be an update
---> Package xorg-x11-drv-synaptics.x86_64 0:1.8.1-3.fc21 will be updated
---> Package xorg-x11-drv-synaptics.x86_64 0:1.8.1-4.fc21 will be an update
---> Package xscreensaver-base.x86_64 1:5.32-4.fc21 will be updated
---> Package xscreensaver-base.x86_64 1:5.32-7.fc21 will be an update
---> Package xscreensaver-extras-base.x86_64 1:5.32-4.fc21 will be updated
---> Package xscreensaver-extras-base.x86_64 1:5.32-7.fc21 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================
 Package                            Arch             Version                      Repository                        Size
=========================================================================================================================
Installing:
 kernel                             x86_64           3.18.7-200.fc21              updates                           46 k
 kernel-core                        x86_64           3.18.7-200.fc21              updates                           19 M
 kernel-devel                       x86_64           3.18.7-200.fc21              updates                          9.1 M
 kernel-modules                     x86_64           3.18.7-200.fc21              updates                           17 M
 kernel-modules-extra               x86_64           3.18.7-200.fc21              updates                          2.2 M
Updating:
 buildsys-build-rpmfusion           x86_64           10:21-12                     rpmfusion-free-updates            22 k
 fedup                              noarch           0.9.1-1.fc21                 updates                           90 k
 firefox                            x86_64           35.0.1-5.fc21                updates                           68 M
 gtk3                               i686             3.14.8-2.fc21                updates                          3.8 M
 gtk3                               x86_64           3.14.8-2.fc21                updates                          3.8 M
 gtk3-devel                         x86_64           3.14.8-2.fc21                updates                          3.7 M
 gtk3-immodule-xim                  x86_64           3.14.8-2.fc21                updates                           23 k
 kernel-headers                     x86_64           3.18.7-200.fc21              updates                          959 k
 libcacard                          x86_64           2:2.1.3-2.fc21               updates                           72 k
 libdmapsharing                     x86_64           2.9.30-1.fc21                updates                          113 k
 perl-Getopt-Long                   noarch           2.43-1.fc21                  updates                           61 k
 perl-Pod-Simple                    noarch           1:3.29-1.fc21                updates                          222 k
 qemu-common                        x86_64           2:2.1.3-2.fc21               updates                          256 k
 qemu-guest-agent                   x86_64           2:2.1.3-2.fc21               updates                          156 k
 qemu-img                           x86_64           2:2.1.3-2.fc21               updates                          586 k
 qemu-kvm                           x86_64           2:2.1.3-2.fc21               updates                           52 k
 qemu-system-x86                    x86_64           2:2.1.3-2.fc21               updates                          3.6 M
 tzdata                             noarch           2015a-1.fc21                 updates                          420 k
 tzdata-java                        noarch           2015a-1.fc21                 updates                          179 k
 xorg-x11-drv-synaptics             x86_64           1.8.1-4.fc21                 updates                           92 k
 xscreensaver-base                  x86_64           1:5.32-7.fc21                updates                          424 k
 xscreensaver-extras-base           x86_64           1:5.32-7.fc21                updates                          113 k

Transaction Summary
=========================================================================================================================
Install   5 Packages
Upgrade  22 Packages

Total size: 133 M

The only way I get to make pkcon actually work is issuing the "pkcon refresh force" command (just issuing "pkcon refresh" won't trigger any updates); shortly afterwards, "pkcon update" and the corresponding KDE widget will actually ask to update the packages.

Version-Release number of selected component (if applicable): 1.0.4-1.fc21

How reproducible: Always

Steps to Reproduce:
1. Try to update system with "pkcon update". It will always report that "No packages require updating to newer versions", even after issuing "pkcon refresh". 
2. Run "sudo yum update". A list of update packages will appear. Don't allow the update to continue.
3. Run "pkcon refresh force". After the completion of this command, PackageKit will ask to update the same packages.

Actual results: "pkcon update" will work only after a "pkcon refresh force".

Expected results: "pkcon update" would have to get updates whenever they're available through "yum update".

Additional info: I have two computers running Twenty One, both of them upgraded from 20 (Heisenbug). The behavior is the same in both computers.

Comment 1 Paulo Fidalgo 2015-03-06 10:57:14 UTC
I believe this is the same as #1048543

Comment 2 Paulo Fessel 2015-03-06 12:51:26 UTC
No, it's not. In that bug I couldn't get authentication, and I had a very clear message showing that it was the case. Here, I always get to run the command, but pkcon never shows updates unless I run "pkcon refresh force" first.

I've put a cron job to issue this command every 6 hours; doing like this I can update the system normally when the updated packages appear.

Comment 3 bug_fedora 2015-03-10 05:17:40 UTC
Same error since January.  Others have experiences similar but had attributed it to Apper https://bugzilla.redhat.com/show_bug.cgi?id=1188207 .

Comment 4 Paulo Fessel 2015-03-10 20:10:30 UTC

*** This bug has been marked as a duplicate of bug 1188207 ***


Note You need to log in before you can comment on or make changes to this bug.