Re: yum package cleanup

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

 



On 05/09/2012 09:57 AM, Mikkel L. Ellertson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/09/2012 11:35 AM, Mike Wright wrote:
Hi all,

I would like to be able to save the rpm files that yum downloads.

Thanks to the following nugget from Google...

"I believe what you are looking for is
/var/cache/yum/<repo>/packages. This directory is expunged during
package cleanup."

...I now know where they are stored.

Two part question:

When is package cleanup performed?

Is there a way to prevent the expunging?

In /etc/yum.conf, change keepcache=0 to keepcache=1.

Thanks Mikkel,

Solves question 2.  I just now found that in "man yum.conf".

Would you know if there is a way to apply that to specific repos rather than all? Seems like a good candidate to move from yum.conf into the individual .repo files.

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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