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]

 



Rex Dieter wrote:
% yum includes arch/release subdirs under /var/cache/yum, the important part 
% is the "release" part.  So, it is theoretically easy to identify which parts 
% are worth keeping and which ones are not (ie, does the release/ subdir match 
% the current release or not). ie, 
% $ ls -F /var/cache/yum/x86_64/ 
% 24/
% 
% PackageKit seems to follow that practice at least partially:
% $ ls -F /var/cache/PackageKit/
% 24/  downloads/  metadata/
% 
% dnf seems to not do that, but I'd suggest adding that could help.

Dnf left releasever out intentionally.
See https://bugzilla.redhat.com/show_bug.cgi?id=1173107

--
Michael Mráka
Software Management Engineering, Red Hat
--
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