[Yum] Problematic 'yum' repository paths using --installroot option
Peter Willis
pwillis at aslenv.com
Thu Jan 30 16:03:05 UTC 2020
>Well, that is strange; $releasever doesn't seem to be used in any of
>those URLs. Can you maybe post the output of the error that you're
>getting while trying to refresh repositories or similar? (e.g. "yum
>repolist")
Just to clarify, this problem only manifests with the '--installroot' option applied to yum.
Under normal package management operations everything works fine.
I am wondering how yum derives the URLs from the system config variables.
There appears to be a simple issue of URL encoding of the string '$slreleasesver' rather than its assigned value.
How does yum generate those URLs, for the path to the online distribution files, with the '--installroot' flag enacted?
Yum finds the current distribution just fine.
Here is the output of the output of 'yum repolist':
[/]# yum repolist
Loaded plugins: langpacks
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,517
google-chrome google-chrome 3
repos/x86_64 Scientific Linux repos - x86_64 22
sl/x86_64 Scientific Linux 7x - x86_64 10,189
sl-extras/x86_64 Scientific Linux Extras - x86_64 1,343
sl-fastbugs/x86_64 Scientific Linux 7x - x86_64 - bugfix updates 748
sl-security/x86_64 Scientific Linux 7x - x86_64 - security updates 410
repolist: 26,232
[/]#
Peter
More information about the Yum
mailing list