Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Not using downloaded repomd.xml because it is older than what we have” on yum install #148

Closed
native-api opened this issue Nov 21, 2018 · 0 comments

Comments

@native-api
Copy link
Contributor

native-api commented Nov 21, 2018

Expected behaviour

yum install -y ccache works

Actual behaviour

See https://github.com/matthew-brett/multibuild/pull/212

Steps to reproduce

Reproduces consistently with skvark/manylinux1_i686.

See also https://travis-ci.community/t/not-using-downloaded-repomd-xml-because-it-is-older-than-what-we-have-on-yum-install/1001 .

I suspect that either Travis' system or the system where you generated the Docker image does not account for a leap second and produces a datetime that's one second off from the same UNIX timestamp, or vice versa.

In either of these cases, a workaround would be to do the same thing as the stock manylinux1 image does -- not store yum metadata at all -- i.e. add yum clean all to dockerfiles.

Or maybe it was but a transient problem and editing skvark/manylinux1_i686 (yum clean metadata && yum install ccache (say "no" to prompt)) will fix the file's timestamp. You can check the timestamps with find /var -name repomd\* -exec ls -ld --time-style=full-iso {} \;

This was referenced Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant