dnf keepcache

Porfirio Andres Paiz Carrasco porfiriopaiz at gmail.com
Sun Nov 15 17:04:46 UTC 2015


On Nov 15, 2015 5:09 AM, "Maurizio Marini" <maumar at datalogica.com> wrote:
>
> Hello
> how can get
> keepcache=1
> with dnf, like I did with yum?
> Should I use makecache, isn't it?
> -m
>
Did you added this lines to the dnf.conf configuration file?

keepcache=true # This config line adds the capability of keeping the
cache and the dowloaded packages on the cache if something got stuck
and you need to restart it without having to download the already
downloaded packages again.

deltarpm=true # This config line will retrieve delta rpm's packages
for download updates instead of downloading the full packages, it save
time and data if you are using 3G or LTE connections.

fastestmirror=true # This will force dnf to keep a cache of the most
efficience mirrors.

To add it:
su -c "echo 'keepcache=true' >> /etc/dnf/dnf.conf"
su -c "echo 'deltarpm=true' >> /etc/dnf/dnf.conf"
su -c "echo 'fastestmirror=true' >> /etc/dnf/dnf.conf"

Cheers.
> --
> users mailing list
> users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20151115/7f122fa3/attachment.html>


More information about the users mailing list