yum clean all

Paul Howarth paul at city-fan.org
Tue Oct 31 16:01:24 UTC 2006


Steve G wrote:
> Hi,
> 
> Should "yum clean all" really clean all or just the repos that are enabled?
> 
> [root yum]# /root/bin/dir_usage | sort -n
> 1.4G    updates
> 3.0M    development-debuginfo
> 7.2M    core
> 7.2M    development
> 11M     extras-development
> 36K     anaconda
> 37M     extras
> 64K     brew
> 97M     base
> 562M    updates-released
> [root yum]# yum clean all
> Cleaning up Everything
> [root yum]# /root/bin/dir_usage | sort -n
> 1.4G    updates
> 7.2M    core
> 24K     brew
> 24K     development-debuginfo
> 24K     extras-development
> 36K     anaconda
> 37M     extras
> 97M     base
> 200K    development
> 562M    updates-released
> 
> There's several sizable directories for disabled repos that I was expecting it to
> have cleaned. Before I file a bug, is this the expected behavior?

Cleaning just the enabled repositories is a feature, not a bug. For 
instance, sometimes I find that my local updates mirror has out of sync 
metadata so I like to clean out the metadata for that specific repo with 
"yum clean", without any other repos being affected.

Paul.




More information about the fedora-devel-list mailing list