Skip to main content
11 events
when toggle format what by license comment
May 5, 2021 at 11:39 vote accept tshepang
Mar 2, 2021 at 19:00 comment added James Antill Because it will almost always do way more work than is required. There is a lot of logic in yum to keep the metadata updated automatically, without the user having to manually run a metadata sync command. Probably hundreds of lines of code since this question was asked. Even, yum clean expire-cache was probably added after this question was asked.
Feb 22, 2021 at 20:01 comment added Edwin Buck @rogerdpack I've never heard a recommendation against yum makecache. I think that many people just say it's not worth running it; because, if the cache is old or expired, then yum updates the cache before any command that might modify the system. So yum makecache will make the next commands faster; but, if you forget it, then yum check-update will update the cache too, before it checks for updates.
Jun 7, 2019 at 16:23 comment added rogerdpack Why isn't it recommended to run yum makecache? It's listed in the man page and seems to work like apt-get update... also note that yum check-update doesn't always perform a refresh, see other answers, FWIW :)
Apr 19, 2017 at 16:23 comment added James Antill The original was about automatically updating repodata to present the latest information (something apt-get doesn't do, or at least didn't in 2011). After the edit it's now kind of weirdly meaningless :(.
S Apr 15, 2017 at 11:20 history suggested SuB CC BY-SA 3.0
improved formatting, correct mis-info about yum.
Apr 15, 2017 at 10:59 review Suggested edits
S Apr 15, 2017 at 11:20
Jun 6, 2014 at 11:41 comment added socketpair Thank you! yum check-update did not helps me against 404 errors. But yum makecache helps! HUGE thanks!
Feb 8, 2011 at 21:02 comment added Mikel It means that other yum commands, e.g. yum upgrade will automatically run yum check-update if necessary. In other words, yum upgrade is basically the same as apt-get update; apt-get upgrade.
Feb 8, 2011 at 18:06 comment added tshepang I don't understand the first sentence. Can you rephrase maybe?
Feb 8, 2011 at 16:40 history answered James Antill CC BY-SA 2.5