[Yum] Problematic 'yum' repository paths using --installroot option

Michal Domonkos mdomonko at redhat.com
Thu Jan 30 09:16:28 UTC 2020


On Wed, Jan 29, 2020 at 5:10 PM Peter Willis <pwillis at aslenv.com> wrote:
> [repos]
> Name=Scientific Linux repos - $basearch
> baseurl=http://ftp.scientificlinux.org/linux/scientific/7x/repos/$basearch/
>         http://ftp1.scientificlinux.org/linux/scientific/7x/repos/$basearch/
>         http://ftp2.scientificlinux.org/linux/scientific/7x/repos/$basearch/
>
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7
>
> [repos-source]
> Name=Scientific Linux repos - source
> baseurl=http://ftp.scientificlinux.org/linux/scientific/7x/repos/SRPMS/
>         http://ftp1.scientificlinux.org/linux/scientific/7x/repos/SRPMS/
>         http://ftp2.scientificlinux.org/linux/scientific/7x/repos/SRPMS/
>
> enabled=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl7

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")



More information about the Yum mailing list