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]

 



On Fri, Apr 15, 2016 at 11:26:02AM -0400, Matthias Clasen wrote:
> > 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.
> Thats part of the semantics of /var/cache/, isn't it ?
> 
> If you place something there, you are basically saying: Removing this
> won't affect the functionality of this package. 

Yes, this is definitely true by the FHS, which says *

   Files located under /var/cache may be expired in an application
   specific manner, by the system administrator, or both. The
   application must always be able to recover from manual deletion of
   these files (generally because of a disk space shortage). No other
   requirements are made on the data format of the cache directories.

Unfortunately, that doesn't guarantee that all applications are
well-behaved.

* http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s05.html

-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
--
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