2015-11-16 23:53 GMT-06:00 Sudhir Khanger <ml@xxxxxxxxxxxxxxxxx>: > On Monday 16 Nov 2015 11:23:30 PM Porfirio Andres Paiz Carrasco wrote: >> So the unique limit you have is delimited by the space you have to >> store data on your /var/cache/dnf, many people recommends having /var/ >> in a dedicated partition, even on a dedicated disk. The are not limit >> on the size apart from the size of the disk/partition, there are not >> limit on the number of packages nor it's numbers of versions. >> > > Do you mean that keepcache=1 will keep all versions of all packages, even from > 3rd party repos and manually installed rpms, in cache '/var/cache/dnf' forever > as long as storage permits it? > Yes, even from 3rd party repos like frpm-fusion and google-chrome cache. The correct line is: keepcache=true I don't know which effects has keepcache=1, I don't use this since last time I used yum. Yes as long a storage permits it or as long you want to keep it, a "dnf clean all" will delete all of the packages stored on the cache. > That sounds exactly like python-dnf-plugins-extras-local. What is the > difference between keepcache=1 and the local plugin. > I don't know, this is the first time that I hear of python-dnf-extras-local, not sure what it does or for what is intended for. > Can the cache location be saved in any other location like home folder which > as a lot more space than / folder which in my case is only 20 GiB? > In yum days... yes, now days... yes, but I don't know if it is possible to create a local repo, in a usb for example, starting from these files. >> > It probably seems it is best to setup dnf-local-plugin which keeps all the >> > packages ever installed on my system. >> >> You may keep all of the installed package un /var/cache, but not >> having many diferent version installed at the same time. >> > > I am not very clear on what you are trying to say. dnf-plugins-extras-local > will create a local repo, at a location of your choice, and keep all packages > including all versions ever installed/updated on your system. > Sorry, my bad, what I mean is: 1. You install a package foo-1.0.fc23.x86_64.rpm 2. The package is running on your system, version:1.0, and also the rpm file from which you installed, is stored on /var/cache/dnf. 3. An update come, foo-1.1.fc23.x86_64.rpm. 4. After updating you end up with: foo-1.1fc23.x86_64.rpm running on your system, foo-1.1.fc23.x86_64.rpm stored on /var/cache/dnf/ alongside foo-1.0.fc23.x86_64.rpm. > -- > Regards, > Sudhir Khanger, > sudhirkhanger.com. > > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx > 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 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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