Re: best approach for cleaning package metadata cache for old versions on upgrade?

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

 



> From: "Matthew Miller" <mattdm@xxxxxxxxxxxxxxxxx>
> On Thu, Apr 14, 2016 at 01:16:07PM -0400, Matthias Clasen wrote:
> > If you put it in the dnf plugin, you leave out the new graphical
> > upgrade that is coming in F24.
> 
> Yeah — and obviously not something I want to leave out. :)

dnf system-upgrade and PK could remove cache for all releases lower
than the current one after sys-upgrade (with some switch enabled). This
would not solve the problem for all package cache though. 

> > It is also not really dnf-specific at all. Other apps or services may
> > leave stuff behind in /var/cache too. One radical, but simple approach
> > would be to simply rm -rf /var/cache after the upgrade. That would give
> > you a system that is a bit closer to 'freshly installed' state.

Do you think you can remove cache of any package without the crash?
I remember cleaning cache for docker (even after properly deleting the saved
images) and I was not able to get it work again.


Honza
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux