• Comments
  • Maybe you want: rm -rf /var/cache/yum

    Posted on

    I am a little surprised to see the following message when you issue 'yum clean all' with the most recent version of yum in RHEL 7.4.

    Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
    

    Rather than implementing a code fix which cleans up /var/cache/yum completely (for disabled and orphaned repos), yum is suggesting to the root user to execute 'rm' with 'recursive' and 'force' options???

    Bugzilla is here:

    https://bugzilla.redhat.com/show_bug.cgi?id=1357083

    Errata is here:

    https://access.redhat.com/errata/RHBA-2017:2295

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.