mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
Run yum clean all after installing new ceph-release.
In order to get around the issue of repomd.xml being older than the previously installed one depending on when the gitbuilder built the repo. Signed-off-by: Sandon Van Ness <sandon@inktank.com>
This commit is contained in:
parent
0f63cedd2f
commit
d34ba1647f
@ -755,6 +755,11 @@ def _upgrade_rpm_packages(ctx, config, remote, pkgs, branch):
|
||||
_run_and_log_error_if_fails(remote, args)
|
||||
_yum_fix_repo_priority(remote, project)
|
||||
|
||||
remote.run(
|
||||
args=[
|
||||
'sudo', 'yum', 'clean', 'all',
|
||||
])
|
||||
|
||||
# Build a space-separated string consisting of $PKG-$VER for yum
|
||||
pkgs_with_vers = ["%s-%s" % (pkg, version) for pkg in pkgs]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user