Re: dnf - deprecated update cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 20 April 2016 at 17:37, Tom H <tomh0665@xxxxxxxxx> wrote:
On Wed, Apr 20, 2016 at 6:07 PM, Samuel Sieb <samuel@xxxxxxxx> wrote:
> On 04/20/2016 09:03 AM, Tom H wrote:
>>
>> "apt-get update" is the same as "yum|dnf makecache" but with yum|dnf
>> you have to remember to use "yum|dnf -C update" (given dnf's new
>> cache behavior, it seems to work from cache without "-C").
>
> The -C option to both yum and dnf means to only use the cache. If you
> want to force it to not use the cache, then you need to add the
> --refresh option to dnf.

Sure. But the point of my previous email was that if you run
"makecache", you then want to run with "-C" in order not to refresh
the cache that you've just updated.


No you don't? Unless you're running with almost (or none) no expiry time then it won't have expired so it won't renew it and will happily use the recently created cache.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux