Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1557888 - DNF is not updating packages even if updates are available
Summary: DNF is not updating packages even if updates are available
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068 dnf-f28
TreeView+ depends on / blocked
 
Reported: 2018-03-19 07:52 UTC by Tomas Popela
Modified: 2018-04-20 05:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-20 05:09:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debugsolver output (deleted)
2018-03-19 07:52 UTC, Tomas Popela
no flags Details

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


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