Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Yum fails on latest centos7 base image due to $releasever being invalid #488

Open
Stono opened this issue Aug 8, 2019 · 3 comments
Open

Comments

@Stono
Copy link

Stono commented Aug 8, 2019

Hi,
Can't use yum in the latest base image, rpm -q --qf '%{version}\n' centos-release is used by yum to calculate $releasever.

On the previous release:

[atcloud@sauron-web-5b699b9778-6c6zk app]$ rpm -q --qf '%{version}\n' centos-release
7

On the current release:

[root@0aaf79f74e0e app]# rpm -q --qf '%{version}\n' centos-release
package centos-release is not installed

I worked around this by doing echo 7 > /etc/yum/vars/releasever.

@donmccasland
Copy link
Member

donmccasland commented Aug 8, 2019 via email

@sumeshcgnr
Copy link

There was an image update yesterday. Issue is still present

@donmccasland
Copy link
Member

donmccasland commented Aug 20, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants