Bug 1649383 - dnf update updateinfo shows up-to-date packages
Summary: dnf update updateinfo shows up-to-date packages
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 29
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Marek Blaha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-13 14:32 UTC by Jan Vlug
Modified: 2019-11-27 23:26 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-27 23:26:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf commands showing the issue (19.67 KB, text/plain)
2018-11-15 08:49 UTC, Jan Vlug
no flags Details

Description Jan Vlug 2018-11-13 14:32:27 UTC
Description of problem:
dnf updateinfo info shows a kernel update for a version that is already installed.

Steps to Reproduce:

[root@localhost ~]# dnf clean all
94 files removed

[root@localhost ~]# dnf --refresh updateinfo info
Fedora Modular 29 - x86_64                                                                                                                                                         314 kB/s | 1.5 MB     00:04    
Fedora Modular 29 - x86_64 - Updates                                                                                                                                               318 kB/s | 1.6 MB     00:05    
Fedora 29 - x86_64 - Updates                                                                                                                                                       1.3 MB/s |  12 MB     00:09    
Fedora 29 - x86_64                                                                                                                                                                 2.1 MB/s |  62 MB     00:30    
RPM Fusion for Fedora 29 - Free - Updates                                                                                                                                           14 kB/s |  70 kB     00:04    
RPM Fusion for Fedora 29 - Free                                                                                                                                                    195 kB/s | 759 kB     00:03    
RPM Fusion for Fedora 29 - Nonfree - Updates                                                                                                                                       3.1 kB/s |  11 kB     00:03    
RPM Fusion for Fedora 29 - Nonfree                                                                                                                                                  48 kB/s | 221 kB     00:04    
Last metadata expiration check: 0:00:01 ago on Tue 13 Nov 2018 03:27:14 PM CET.
===============================================================================
  kernel-tools-4.18.17-300.fc29 kernel-headers-4.18.17-300.fc29 kernel-4.18.17-300.fc29
===============================================================================
  Update ID: FEDORA-2018-49c4d6aa17
       Type: enhancement
    Updated: 2018-11-13 01:06:18
Description: The 4.18.17 update contains a number of important fixes across the tree
   Severity: None

[root@localhost ~]# uname -a
Linux localhost.localdomain 4.18.17-300.fc29.x86_64 #1 SMP Mon Nov 5 17:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# dnf update
Last metadata expiration check: 0:02:46 ago on Tue 13 Nov 2018 03:27:14 PM CET.
Dependencies resolved.
Nothing to do.
Complete!


Version-Release number of selected component (if applicable):
dnf.noarch 4.0.4-2.fc29

Comment 1 Jan Vlug 2018-11-15 08:49:54 UTC
Created attachment 1505980 [details]
dnf commands showing the issue

I attached the output of several dnf commands that illustrate the issue.

Comment 2 Dominique Brazziel 2018-11-28 15:58:41 UTC
sudo /usr/bin/dnf updateinfo info 2>&1
Last metadata expiration check: 0:01:11 ago on Wed 28 Nov 2018 10:53:24 AM EST.
===============================================================================
  kernel-4.19.4-300.fc29
===============================================================================
  Update ID: FEDORA-2018-4b63b55cb4
       Type: bugfix
    Updated: 2018-11-27 19:06:33
Description: Stable kernel 4.19.4
   Severity: Moderate

===============================================================================
  kernel-tools-4.19.3-300.fc29 kernel-4.19.3-300.fc29 kernel-headers-4.19.3-300.fc29
===============================================================================
  Update ID: FEDORA-2018-367d08ef69
       Type: bugfix
    Updated: 2018-11-27 19:07:23
       Bugs: 1526312 - No touchpad - error: i2c_hid i2c-SYNA3602:00: unexpected HID descriptor bcdVersion (0x00ff)
           : 1639155 - Touchpad doesn't work on Fedora (LENOVO 330-15IGM)
           : 1644013 - Touchscreen function for HP laptop with AMD processors broken on all kernel version
Description: This is an update to the v4.19.3 stable kernel and includes fixes across the tree
   Severity: None

rpm -qi kernel-4.19.4-300.fc29
Name        : kernel
Version     : 4.19.4
Release     : 300.fc29
Architecture: x86_64
Install Date: Tue 27 Nov 2018 07:02:32 AM EST

rpm -qi kernel-tools
Name        : kernel-tools
Version     : 4.19.3
Release     : 300.fc29
Architecture: x86_64
Install Date: Tue 27 Nov 2018 06:43:39 AM EST

Comment 3 Jan Vlug 2018-12-10 16:53:51 UTC
I guess that this only happens in Fedora 29 installations that have been upgraded from Fedora 28.

Comment 4 Jan Vlug 2018-12-23 11:39:32 UTC
At the moment 'dnf updateinfo info' reports updates for the following packages:
  deja-dup-38.1-1.fc29
  glibc-2.28-26.fc29
  kernel-headers-4.19.10-300.fc29 kernel-tools-4.19.10-300.fc29 kernel-4.19.10-300.fc29
  libappstream-glib-0.7.14-3.fc29 PackageKit-1.1.12-2.fc29 gnome-software-3.30.6-1.fc29
while 'dnf update' updates none of them.

Comment 5 Jan Vlug 2019-01-17 09:06:50 UTC
The number of packages for which 'dnf updateinfo info' reports updates keeps growing:
  deja-dup-38.1-1.fc29
  glib2-2.58.2-1.fc29
  glibc-2.28-26.fc29
  kernel-4.19.15-300.fc29 kernel-headers-4.19.15-300.fc29
  kernel-headers-4.19.14-300.fc29 kernel-4.19.14-300.fc29 kernel-tools-4.19.14-300.fc29
  libappstream-glib-0.7.14-3.fc29 PackageKit-1.1.12-2.fc29 gnome-software-3.30.6-1.fc29
  libgpg-error-1.33-1.fc29
  libsecret-0.18.7-1.fc29
while 'dnf update' updates none of them.

Comment 6 Jan Vlug 2019-02-14 08:01:24 UTC
The number of packages for which 'dnf updateinfo info' reports updates keeps growing:
  deja-dup-38.1-1.fc29
  glib2-2.58.3-1.fc29
  glibc-2.28-26.fc29
  gnome-online-accounts-3.30.2-1.fc29
  gtk3-3.24.1-2.fc29
  kernel-headers-4.20.7-200.fc29 kernel-4.20.7-200.fc29
  libappstream-glib-0.7.14-3.fc29 PackageKit-1.1.12-2.fc29 gnome-software-3.30.6-1.fc29
  libgit2-0.27.8-1.fc29 python-pygit2-0.27.4-1.fc29
  libgpg-error-1.33-1.fc29
  libsecret-0.18.7-1.fc29
  pango-1.42.4-2.fc29
while 'dnf update' updates none of them.

Comment 7 Rolf Fokkens 2019-03-03 17:09:23 UTC
Adding the --updates option to 'dnf updateinfo' may help.

Comment 8 Jan Vlug 2019-04-11 10:10:11 UTC
Could this issue somehow be related to the availability of packages in both the updates and the updates-modular repos?

[root@nyx ~]# dnf updateinfo --list
Last metadata expiration check: 0:14:25 ago on do 11 apr 2019 11:51:21 CEST.
FEDORA-2018-e0db56c00c bugfix       PackageKit-debuginfo-1.1.12-2.fc29.x86_64
FEDORA-2018-e0db56c00c bugfix       PackageKit-glib-debuginfo-1.1.12-2.fc29.x86_64
FEDORA-2019-9004d3cbb7 bugfix       deja-dup-debuginfo-38.4-1.fc29.x86_64
FEDORA-2019-9004d3cbb7 bugfix       deja-dup-debugsource-38.4-1.fc29.x86_64
FEDORA-2019-faeddd973a bugfix       glib2-debuginfo-2.58.3-1.fc29.x86_64
FEDORA-2019-faeddd973a bugfix       glib2-debugsource-2.58.3-1.fc29.x86_64
FEDORA-2019-5fcc2049a1 enhancement  glibc-debuginfo-2.28-27.fc29.x86_64
FEDORA-2019-5fcc2049a1 enhancement  glibc-debuginfo-common-2.28-27.fc29.x86_64
FEDORA-2019-b8cae2390c bugfix       gnome-online-accounts-debuginfo-3.30.2-1.fc29.x86_64
FEDORA-2019-b8cae2390c bugfix       gnome-online-accounts-debugsource-3.30.2-1.fc29.x86_64
FEDORA-2019-d67ec97b0b bugfix       gtk3-debuginfo-3.24.1-3.fc29.x86_64
FEDORA-2019-d67ec97b0b bugfix       gtk3-debugsource-3.24.1-3.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-debugsource-3.18.12-9.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-libs-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-core-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-debug-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-extra-5.0.6-200.fc29.x86_64
FEDORA-2019-83eb9a39ac bugfix       libgit2-0.27.8-1.fc29.x86_64
FEDORA-2019-a958ee42f1 bugfix       libgpg-error-debuginfo-1.33-1.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       libsane-hpaio-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2018-3e13bb18c6 bugfix       libsecret-debuginfo-0.18.7-1.fc29.x86_64
FEDORA-2019-6ddb6df684 bugfix       pango-debuginfo-1.42.4-2.fc29.x86_64
FEDORA-2019-6ddb6df684 bugfix       pango-debugsource-1.42.4-2.fc29.x86_64

[root@nyx ~]# dnf updateinfo --disablerepo updates-modular --list
Last metadata expiration check: 0:14:33 ago on do 11 apr 2019 11:51:21 CEST.
FEDORA-2018-e0db56c00c bugfix       PackageKit-debuginfo-1.1.12-2.fc29.x86_64
FEDORA-2018-e0db56c00c bugfix       PackageKit-glib-debuginfo-1.1.12-2.fc29.x86_64
FEDORA-2019-9004d3cbb7 bugfix       deja-dup-debuginfo-38.4-1.fc29.x86_64
FEDORA-2019-9004d3cbb7 bugfix       deja-dup-debugsource-38.4-1.fc29.x86_64
FEDORA-2019-faeddd973a bugfix       glib2-debuginfo-2.58.3-1.fc29.x86_64
FEDORA-2019-faeddd973a bugfix       glib2-debugsource-2.58.3-1.fc29.x86_64
FEDORA-2019-5fcc2049a1 enhancement  glibc-debuginfo-2.28-27.fc29.x86_64
FEDORA-2019-5fcc2049a1 enhancement  glibc-debuginfo-common-2.28-27.fc29.x86_64
FEDORA-2019-b8cae2390c bugfix       gnome-online-accounts-debuginfo-3.30.2-1.fc29.x86_64
FEDORA-2019-b8cae2390c bugfix       gnome-online-accounts-debugsource-3.30.2-1.fc29.x86_64
FEDORA-2019-d67ec97b0b bugfix       gtk3-debuginfo-3.24.1-3.fc29.x86_64
FEDORA-2019-d67ec97b0b bugfix       gtk3-debugsource-3.24.1-3.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-debugsource-3.18.12-9.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       hplip-libs-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-core-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-debug-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-extra-5.0.6-200.fc29.x86_64
FEDORA-2019-83eb9a39ac bugfix       libgit2-0.27.8-1.fc29.x86_64
FEDORA-2019-a958ee42f1 bugfix       libgpg-error-debuginfo-1.33-1.fc29.x86_64
FEDORA-2019-1c52d4180d bugfix       libsane-hpaio-debuginfo-3.18.12-9.fc29.x86_64
FEDORA-2018-3e13bb18c6 bugfix       libsecret-debuginfo-0.18.7-1.fc29.x86_64
FEDORA-2019-6ddb6df684 bugfix       pango-debuginfo-1.42.4-2.fc29.x86_64
FEDORA-2019-6ddb6df684 bugfix       pango-debugsource-1.42.4-2.fc29.x86_64

[root@nyx ~]# dnf updateinfo --disablerepo updates --list
Last metadata expiration check: 0:15:04 ago on do 11 apr 2019 11:51:21 CEST.

[root@nyx ~]# dnf update
Last metadata expiration check: 0:16:31 ago on do 11 apr 2019 11:51:21 CEST.
Dependencies resolved.
Nothing to do.
Complete!

[root@nyx ~]# dnf update --disablerepo updates-modular
Last metadata expiration check: 0:16:50 ago on do 11 apr 2019 11:51:21 CEST.
Dependencies resolved.
======================================================================================================================================================================
 Package                               Architecture                         Version                                       Repository                             Size
======================================================================================================================================================================
Upgrading:
 libgit2                               x86_64                               0.27.8-1.fc29                                 updates                               415 k

Transaction Summary
======================================================================================================================================================================
Upgrade  1 Package

Total download size: 415 k
Is this ok [y/N]: n
Operation aborted.

[root@nyx ~]# dnf update --disablerepo updates
Last metadata expiration check: 0:17:06 ago on do 11 apr 2019 11:51:21 CEST.
Dependencies resolved.
Nothing to do.
Complete!

[root@nyx ~]# dnf update
Last metadata expiration check: 0:17:16 ago on do 11 apr 2019 11:51:21 CEST.
Dependencies resolved.
Nothing to do.
Complete!

Comment 9 Jan Vlug 2019-04-11 10:14:40 UTC
Now I have a closer look at my comment here above, I think it might also be related to having the debug packages installed or not.

Comment 10 Jan Vlug 2019-04-11 10:22:07 UTC
Somehow dnf updateinfo detects that there are newer debuginfo packages, while the cannot be installed. See deja-dup-debuginfo as an example:

[root@nyx ~]# dnf updateinfo list | grep deja-dup-debuginfo
FEDORA-2019-9004d3cbb7 bugfix       deja-dup-debuginfo-38.4-1.fc29.x86_64

[root@nyx ~]# dnf list installed | grep deja-dup-debuginfo
deja-dup-debuginfo.x86_64                          37.0-1.fc27                         @System  
              
[root@nyx ~]# dnf install deja-dup-debuginfo-38.4-1.fc29.x86_64
Last metadata expiration check: 0:28:24 ago on do 11 apr 2019 11:51:21 CEST.
No match for argument: deja-dup-debuginfo-38.4-1.fc29.x86_64
Error: Unable to find a match

Comment 11 Jan Vlug 2019-04-11 11:16:21 UTC
Most of the by "dnf updateinfo" reported packages did update with "dnf info" after that I enabled the updates-debuginfo, updates-source, updates-modular-debuginfo, and updates-modular-source. Maybe the debuginfo and source repositories were disabled during an update?

The only packages that still have some issues are now: kernel* and libgit2:

[root@nyx ~]# dnf updateinfo list
Last metadata expiration check: 0:02:34 ago on do 11 apr 2019 13:10:54 CEST.
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-core-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-debug-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-devel-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-5.0.6-200.fc29.x86_64
FEDORA-2019-be9add5b77 Unknown/Sec. kernel-modules-extra-5.0.6-200.fc29.x86_64
FEDORA-2019-83eb9a39ac bugfix       libgit2-0.27.8-1.fc29.x86_64

[root@nyx ~]# dnf list installed | grep kernel
abrt-addon-kerneloops.x86_64                       2.12.0-2.fc29                       @updates                 
kernel.x86_64                                      5.0.4-200.fc29                      @updates                 
kernel.x86_64                                      5.0.5-200.fc29                      @updates                 
kernel.x86_64                                      5.0.6-200.fc29                      @updates                 
kernel-core.x86_64                                 5.0.4-200.fc29                      @updates                 
kernel-core.x86_64                                 5.0.5-200.fc29                      @updates                 
kernel-core.x86_64                                 5.0.6-200.fc29                      @updates                 
kernel-debug-devel.x86_64                          5.0.4-200.fc29                      @updates                 
kernel-debug-devel.x86_64                          5.0.5-200.fc29                      @updates                 
kernel-debug-devel.x86_64                          5.0.6-200.fc29                      @updates                 
kernel-devel.x86_64                                5.0.4-200.fc29                      @updates                 
kernel-devel.x86_64                                5.0.5-200.fc29                      @updates                 
kernel-devel.x86_64                                5.0.6-200.fc29                      @updates                 
kernel-headers.x86_64                              5.0.6-200.fc29                      @updates                 
kernel-modules.x86_64                              5.0.4-200.fc29                      @updates                 
kernel-modules.x86_64                              5.0.5-200.fc29                      @updates                 
kernel-modules.x86_64                              5.0.6-200.fc29                      @updates                 
kernel-modules-extra.x86_64                        5.0.4-200.fc29                      @updates                 
kernel-modules-extra.x86_64                        5.0.5-200.fc29                      @updates                 
kernel-modules-extra.x86_64                        5.0.6-200.fc29                      @updates                 
kernel-tools.x86_64                                5.0.6-200.fc29                      @updates                 
kernel-tools-libs.x86_64                           5.0.6-200.fc29                      @updates                 
libreport-plugin-kerneloops.x86_64                 2.10.0-1.fc29                       @updates   
              
[root@nyx ~]# dnf list installed | grep libgit2
libgit2.x86_64                                     0.27.7-1.fc29                       @updates                 
libgit2-glib.x86_64                                0.27.8-1.fc29                       @updates   
              
[root@nyx ~]# dnf update
Last metadata expiration check: 0:03:58 ago on do 11 apr 2019 13:10:54 CEST.
Dependencies resolved.
Nothing to do.
Complete!

Comment 12 Marek Blaha 2019-09-17 07:40:54 UTC
The kernel part should be solved by patch https://github.com/rpm-software-management/dnf/pull/1485
Now `updateinfo --list` will print only advisories for the newest installed kernel and for running kernel. So you will still see updates for freshly installed kernel - until you reboot with it.
Also remember, that `updateinfo` command prints also updates, which are not currently available (e.g. for -debuginfo packages when no -debuginfo repo enabled). See also https://dnf.readthedocs.io/en/latest/command_ref.html#updateinfo-command

Comment 13 Ben Cotton 2019-10-31 18:50:10 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 Ben Cotton 2019-11-27 23:26:01 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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