• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

clear

Yum Cache Corruption

February 4, 2022

If you’re getting a “HTTP Error 404 – Not Found” error when trying to run yum update, it could be a corrupted cache. Clear the cache on the system by running the following.

yum clean all
rm -rf /var/cache/yum/*

yum clean all rm -rf /var/cache/yum/*

Run yum update again. The errors should be gone.

Filed Under: Linux Tagged With: 404, cache, clear, corrupted, error, http, update, yum

Empty Buffer or Cache

February 1, 2019

Here’s the command to empty or clear Linux’s buffer or cache. Run it as root.

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

Filed Under: Linux Tagged With: buffer, cache, clear, purge

  • Home
  • About
  • Archives

Copyright © 2023