Project

Profile

Help

Issue #4026

DNF does not show published errata

Added by daviddavis about 3 years ago. Updated over 2 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

If you follow the README guide and try to list out the errata for the repository, none shows up. The updateinfo.xml.gz looks good and so does the repomd.xml, but when I run dnf list-sec I don't see any of the errata from the repo in the README.

History

#1 Updated by daviddavis about 3 years ago

  • Sprint/Milestone set to Pulp 3 RPM MVP

#2 Updated by daviddavis about 3 years ago

I am seeing the same behavior when I use the fixture repo which leads me to believe that perhaps there isn't something wrong with our code.

#3 Updated by ttereshc about 3 years ago

It turned out to be not a bug.
Maybe because updateinfo.xml was generated incorrectly (fixed with #4014).

Another potential explanation:
dnf list-sec shows only applicable errata. Any type, not only security ones.

I installed package of old version - walrus-0.71 and then ran
dnf --repo foo list-sec

Last metadata expiration check: 0:05:06 ago on Thu 20 Sep 2018 06:37:51 PM UTC.
RHEA-2012:0055 Unknown/Sec. walrus-5.21-1.noarch

And then I applied that errata and everything works fine.

$ sudo dnf update --repo foo --advisory RHEA-2012:0055
Last metadata expiration check: 0:12:23 ago on Thu 20 Sep 2018 06:34:25 PM UTC.
Dependencies resolved.
=====================================================================================================================================================================================================================
 Package                                             Arch                                                Version                                              Repository                                        Size
=====================================================================================================================================================================================================================
Upgrading:
 walrus                                              noarch                                              5.21-1                                               foo                                              1.8 k

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

Total download size: 1.8 k
Is this ok [y/N]: yes
Downloading Packages:
walrus-5.21-1.noarch.rpm                                                                                                                                                             111 kB/s | 1.8 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                105 kB/s | 1.8 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                             1/1 
  Upgrading        : walrus-5.21-1.noarch                                                                                                                                                                        1/2 
  Cleanup          : walrus-0.71-1.noarch                                                                                                                                                                        2/2 
  Verifying        : walrus-5.21-1.noarch                                                                                                                                                                        1/2 
  Verifying        : walrus-0.71-1.noarch                                                                                                                                                                        2/2 

Upgraded:
  walrus.noarch 5.21-1                                                                                                                                                                                               

Complete!

#4 Updated by ttereshc about 3 years ago

  • Status changed from NEW to CLOSED - NOTABUG

#5 Updated by bmbouter over 2 years ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF