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 Qui, 2016-04-14 at 12:51 -0400, Matthew Miller wrote:
> There is a thread on the users' list * dealing with the issue that
> after an upgrade, there's no non-obscure way to clean cached metadata
> (or packages, even) from previous releases. The thread discussses DNF
> and Yum, but it may apply to PackageKit/Software as well; I'm not
> sure
> offhand.
> 
> It seems like we should handle this in some way on upgrade. My first
> thought was to make it an RFE dnf-plugin-system-upgrade. But, is that
> the right place? Maybe some time-base system should prune metadata
> associated with repositories for any earlier $releasever? (Or,
> actually, maybe for any repository which does not match a current
> configuration?) Or maybe a "dumb" process to sweep the cache based on
> age alone would do?
> 
> 
> * http://lists.fedoraproject.org/archives/list/users@lists.fedoraproj
> ect.org/message/43OZYUTGFVZG6DTFKTJRHLUC7MET7LCB/
> 

rm -rf /var/cache/dnf /var/cache/yum 

/var/cache can be remove safely 

-- 
Sérgio M. B.

--
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