Closed dfidler closed 3 years ago
I can't seem to replicate this exactly.
If you are pinned to centos 7.7 (and not 7.8 or later) there was an issue where we provided too new of a version of python36-rpm and it required a version of rpm available in centos 7.8 or newer.
starting with 3003 that will be fixed so that we provide a slightly older version of python36-rpm so that it's compatible automatically with 7.7 and newer without any issues.
based on the file https://repo.saltproject.io/py3/redhat/7/x86_64/latest/repodata/c0ed73856393dad743a7fd1a56fc28309e9cec242ce74cffdc547e9a7ff44004-filelists.sqlite.bz2 404 erroring, it seems you have old or incorrect metadata.
does rm -rf /var/cache/yum
or yum makecache
and then trying again resolve your issue?
The only place I can find c0ed73856393dad743a7fd1a56fc28309e9cec242ce74cffdc547e9a7ff44004-filelists.sqlite.bz2 is in the centos 8 repos. Did you mis-configure your repo files before this?
https://repo.saltproject.io/py3/redhat/8/x86_64/archive/3002.6/repodata/c0ed73856393dad743a7fd1a56fc28309e9cec242ce74cffdc547e9a7ff44004-filelists.sqlite.bz2
@bryceml - I honestly don't remember if I'd misconfigured or not - I know I've done it many times before (I do a lot of builds and teardowns and often miss clicking the CentOS7 tab before copy/pasting the content). The install always fails [understandably] and I reconfigure, yum clean all and try again and it usually goes through fine after that.
I first encountered the issue with a customer today, watching them go through it was sure that I stopped them from doing the same thing (i even remember saying, "no, stop, click the centos7"). I thought it was weird and maybe it was their proxy acting up (which, it turned out, it was blocking the download of the metadata files from the repo)
So I tried to repro this in my own lab and hit the above. Either way, I've cleared my yum metadata cache and gone again and it's worked. So I'll chalk this up to a mixture of confirmation bias and early onset Alzheimer's. :(
Either way, I'm sorted now.
Description
The salt-minion requires packages named "python3-xyz" but those don't exist in CentOS - they must be "python36-xyz".
Also, I'm getting an error
Setup
I already have 3002.5 installed.
Steps to Reproduce the behavior
salt --versions-report
Salt Version: Salt: 3002.5
Dependency Versions: cffi: 1.9.1 cherrypy: unknown dateutil: Not Installed docker-py: Not Installed gitdb: 0.6.4 gitpython: 1.0.1 Jinja2: 2.11.1 libgit2: Not Installed M2Crypto: 0.35.2 Mako: Not Installed msgpack: 0.6.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.14 pycrypto: Not Installed pycryptodome: 3.10.1 pygit2: Not Installed Python: 3.6.8 (default, Nov 16 2020, 16:55:22) python-gnupg: Not Installed PyYAML: 3.13 PyZMQ: 17.0.0 smmap: 0.9.0 timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.1.4
System Versions: dist: centos 7 Core locale: UTF-8 machine: x86_64 release: 3.10.0-1062.12.1.el7.x86_64 system: Linux version: CentOS Linux 7 Core