Re: dnf and yum caches

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

 



On 04/13/2016 07:40 AM, Paolo Galtieri wrote:
Thank you for all the comments.

What I find interesting, as I indicated in my original post, is that
it's the files in

/var/cache/yum/x86_64/22

that are being updated even though I use dnf to do the update. They show
the current date of my last update.

No, that's expected. The idea is you have lots of stuff in the /var/cache/<dnf|yum>/x86_64/<19|20|21> directories left over from the
PREVIOUS versions of the system is what I was trying to infer. A

	du -hs /var/cache/*

would reveal it. My machine at home had tons of stuff from the F18,
F19, F20, F21 and F22 incarnations of the system (yes, that poor beast
has been upgraded many, MANY times).

I'll go ahead and rm -rf the yum and dnf directories and see what happens.

That's the quick way to do it. I was trying to emphasize using the tool
itself to clean things up, but that's just as effective and probably
easier.

On 04/12/2016 06:57 PM, stan wrote:
On Tue, 12 Apr 2016 16:27:26 -0700
Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:
I reiterate, "dnf clean(whatever)" only cleans the current releasever.
If you are on F22, then "dnf clean packages" will only clean up those
in the F22 directory tree. The F19, F20 and F21 trees won't be touched
unless you specify the "--releasever=" option.
You're right.  I just assumed they were gone after the upgrade (I
don't upgrade using the tool; usually just do a separate fresh
install).  Bad assumption, it seems.

I like the other suggestion, just delete all the /var/cache/dnf
and /var/cache/yum directories, and let dnf renew whatever it needs
the next time it runs. Make sure the keepcache option is 0, and they
will stay clean. No need for the yum directories, and no need for
earlier dnf directories.
--
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
--
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


--
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
----------------------------------------------------------------------
--
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