Red Hat Bugzilla – Bug 1250843
dnf cannot install updates while the cache is generated
Last modified: 2015-08-11 11:31:08 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):
Steps to Reproduce:
1. Have dnf cache timer running
2. Start dnf update
You are forced to wait until the caching process is done.
dnf update ignores the caching process and just starts updating.
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.