On 07/25/2017 02:34 PM, Cristian Sava wrote:
On Tue, 2017-07-25 at 14:26 +0800, Ed Greshko wrote:
...
> Had you not killed it, you would have seen something like this....
>
> [egreshko@acer ~]$ systemctl status dnf-makecache.timer
> ● dnf-makecache.timer - dnf makecache timer
> Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.timer;
> enabled; vendor pre
> Active: active (waiting) since Sun 2017-07-23 19:37:39 CST; 1 day
> 18h ago
>
> Jul 23 19:37:39
acer.greshko.com systemd[1]: Started dnf makecache
> timer.
>
> Basically, about once/hour dnf will check and will update its cache
> if needed. See
> the man page for dnf and search for makecache for the details.
>
>> 2) WHY DNF does not ever stop and must be killed to update the
>> system?
> You just happened to catch it in the middle of trying to update the
> cache. Had you
> simply waited a bit more your first dnf would have proceeded.
>
I'm not sure. I tried many times and it did not stop in ~10 min, so no.
I would consider that odd....
[egreshko@acer ~]$ systemctl status dnf-makecache.timer
● dnf-makecache.timer - dnf makecache timer
Loaded: loaded (/usr/lib/systemd/system/dnf-makecache.timer; enabled; vendor pre
Active: active (waiting) since Sun 2017-07-23 19:37:39 CST; 1 day 19h ago
Jul 23 19:37:39
acer.greshko.com systemd[1]: Started dnf makecache timer.
And normally.....
[egreshko@acer ~]$ ps -eaf | grep dnf
egreshko 6037 5976 0 14:49 pts/1 00:00:00 grep --color=auto dnf
Now, depending on how many repos you have enabled and the network speed to the repo
server it may take a while. But, yes, I would agree that 10 minutes is excessive.
I'll just say that I've not run into the issue you're experiencing
>> That is seen on many F26 boxes (new installs or upgrades).
>>
> If you find yourself catching the update time too often for your
> liking you can
> "systemctl disable dnf-makecache.timer".
>
Thanks for the tip, but do not expect everyone to know/do this.
Welcome. Of course I don't expect anyone would now how to do
everything....which is
why questions are asked. :-)
--
Fedora Users List - The place to go to speculate endlessly