FG
💻 Software

How do I get yum to see updates to a local repo without cleaning cache?

Fresh7 days ago
Mar 15, 202679338 views
Confidence Score0%
0%

Problem

I have set up a local yum repository which I use to install test builds. For the testing purposes, my packages are versioned by (e.g. The trouble is, once I make a new RPM, copy it to the repository directory and run , yum does not see the new RPM as being available. I can see the updates and grab …

Error Output

$ cd $REPO_DIR
$ ls -1
repodata
package-12345.20110908.150404-1.x86_64.rpm
package-12345.20110908.174329-1.x86_64.rpm

$ createrepo .
# ...snip...

$…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I get yum to see updates to a local repo without cleaning cache?

Low Risk

You can run "yum clean expire-cache" which is much more efficient way to tell yum to check the repos. ... the other thing to do would be to change the metadata_expire value for the local repo. (see man yum.conf).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment