Bug 1557888

Summary: DNF is not updating packages even if updates are available
Product: [Fedora] Fedora Reporter: Tomas Popela <tpopela>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 28CC: dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-20 05:09:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478068, 1563163    
Attachments:
Description Flags
debugsolver output none

Description Tomas Popela 2018-03-19 07:52:55 UTC
Created attachment 1409719 [details]
debugsolver output

All started with update to F28. From that point I'm not receiving any updates even if there are some:

0 $ sudo dnf info firefox
enabling fedora-modular-debuginfo repository
enabling updates-modular-debuginfo repository
enabling updates-testing-modular-debuginfo repository
enabling updates-testing-debuginfo repository
enabling updates-debuginfo repository
enabling fedora-debuginfo repository
enabling rpmfusion-free-updates-testing-debuginfo repository
enabling rpmfusion-free-debuginfo repository
enabling rpmfusion-nonfree-updates-testing-debuginfo repository
enabling rpmfusion-nonfree-debuginfo repository
Failed to synchronize cache for repo 'covscan', disabling.
Failed to synchronize cache for repo 'Dropbox', disabling.
Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
Failed to synchronize cache for repo 'rhpkg', disabling.
Last metadata expiration check: 0:35:33 ago on Po 19. březen 2018, 07:31:08 CET.
Installed Packages
Name         : firefox
Version      : 58.0.2
Release      : 1.fc28
Arch         : x86_64
Size         : 203 M
Source       : firefox-58.0.2-1.fc28.src.rpm
Repo         : @System
From repo    : fedora
Summary      : Mozilla Firefox Web browser
URL          : https://www.mozilla.org/firefox/
License      : MPLv1.1 or GPLv2+ or LGPLv2+
Description  : Mozilla Firefox is an open-source web browser, designed for standards
             : compliance, performance and portability.

Available Packages
Name         : firefox
Version      : 59.0
Release      : 4.fc28
Arch         : x86_64
Size         : 86 M
Source       : firefox-59.0-4.fc28.src.rpm
Repo         : updates-testing
Summary      : Mozilla Firefox Web browser
URL          : https://www.mozilla.org/firefox/
License      : MPLv1.1 or GPLv2+ or LGPLv2+
Description  : Mozilla Firefox is an open-source web browser, designed for standards
             : compliance, performance and portability.

tpopela  ~  >  08:06
0 $ sudo dnf update
enabling fedora-modular-debuginfo repository
enabling updates-modular-debuginfo repository
enabling updates-testing-modular-debuginfo repository
enabling updates-testing-debuginfo repository
enabling updates-debuginfo repository
enabling fedora-debuginfo repository
enabling rpmfusion-free-updates-testing-debuginfo repository
enabling rpmfusion-free-debuginfo repository
enabling rpmfusion-nonfree-updates-testing-debuginfo repository
enabling rpmfusion-nonfree-debuginfo repository
Failed to synchronize cache for repo 'covscan', disabling.
Failed to synchronize cache for repo 'Dropbox', disabling.
Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
Failed to synchronize cache for repo 'rhpkg', disabling.
Last metadata expiration check: 0:35:50 ago on Po 19. březen 2018, 07:31:08 CET.
Dependencies resolved.
Nothing to do.
Complete!

Igor suggested me to install dnf-2.7.5-7.fc28 that solves the issue for me.

Comment 1 Igor Gnatenko 2018-03-19 07:56:48 UTC
That's a bug in modular DNF which does "job update oneof ..." instead of "job update all packages".

Comment 3 Martin Hatina 2018-04-16 12:50:55 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/1060