Project

Profile

Help

Issue #4026

closed

DNF does not show published errata

Added by daviddavis over 5 years ago. Updated almost 5 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.

Actions #1

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to Pulp 3 RPM MVP
Actions #2

Updated by daviddavis over 5 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.

Actions #3

Updated by ttereshc over 5 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!
Actions #4

Updated by ttereshc over 5 years ago

  • Status changed from NEW to CLOSED - NOTABUG
Actions #5

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF