Bug 1250843 - dnf cannot install updates while the cache is generated
dnf cannot install updates while the cache is generated
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-08-06 02:54 EDT by Sascha Zantis
Modified: 2015-08-11 11:31 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-08-11 11:31:08 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sascha Zantis 2015-08-06 02:54:10 EDT
Description of problem:
I just started my system and wanted to install some updates via
sudo dnf update
It told me:
Waiting for process with pid 6904 to finish.
I looked for this process and it was:
/usr/bin/python -OO /usr/bin/dnf -v makecache timer
Well, I configured the system to create the cache via the systemd timer, but I somehow think creating the cache should not interfere with the update process. I am not familiar with dnf or package management details in general, but doesn't dnf update check the server on its own and not the cache?  

Version-Release number of selected component (if applicable):
dnf 1.0.1

How reproducible:

Steps to Reproduce:
1. Have dnf cache timer running
2. Start dnf update

Actual results:
You are forced to wait until the caching process is done.

Expected results:
dnf update ignores the caching process and just starts updating.
Comment 1 Honza Silhan 2015-08-11 11:31:08 EDT
This is a feature. DNF has makecache timer to sync the cache regularly. Without it you would still have to wait for the metadata downloads during "dnf update". If you wanna disable cron metadata refreshing you can turn it off by setting metadata_timer_sync=0 in /etc/dnf/dnf.conf. If you have waited forever for makecache timer then it's a bug -> reopen this, please.

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