Registering cient to SMT fails with "File './repo/repoindex.xml' not found on medium".
This document (7022593) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
command 'zypper --non-interactive refs SMT-<smt-server-url>' failedUsing wget returns html error page :
Error: zypper returned (4) with 'Problem retrieving the repository index file for service 'SMT-<smt-server-url>':
File './repo/repoindex.xml' not found on medium 'http://<smt-server-url>'
Credentials can be found in /etc/zypp/credentials.d/SMT-<server>
- Start the YaST proxy module
This will update the environment variables and settings in /root/.curlrc automatically.
- Alternatively edit /etc/sysconfig/proxy manually and add the host here to the NO_PROXY variable. Keep in mind, the environment variables need to be re-exported manually when continuing to use the existing shell
export no_proxy="localhost, 127.0.0.1, <smthostname>, <smtip>"
otherwise please start a new login shell to have it pick up the new settings.
Also /root/.curlrc needs to be updated to include the SMT server hostname/ip.
Same is observed using /root/.curlrc
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022593
- Creation Date: 24-Jan-2018
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com