Rahul Sundaram <methe...@gmail.com> wrote:

>> However, if somebody runs "dnf upgrade" on the command shell then
>> he clearly wants the latest updates. Right now! No caching or other
>> magic involved. That's the whole point of running "dnf upgrade"
>> manually, otherwise the user would have left the whole updating
>> business to some automated background task.
>
> If this is what you want,  use dnf update --refresh instead

That does clearly *not* provide the latest updates. It's better than
without "--refresh", but "dnf clean metadata" is required for full
updates available.

Once you figured that out, you can write a script and then get what
you want. All other users come here every couple of weeks and will
ask the same question again: Why doesn't yum/dnf fetch all updates?
And that's indeed a good question, why "dnf upgrade" called
interactively on a shell does such an excessive caching so that
people are wondering if it is working properly at all.

If I do "ls" on my shell prompt, I also expect the actual contents
of the current directory and not some cached output six hours ago. :-)

        Greetings, Andreas
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to