miércoles, 30 de enero de 2019

File './repo/repoindex.xml' not found on medium



Cómo solucionar el error "Problem retrieving the repository index file for service 'SUSE_Linux_Enterprise_Server" al intentar actualizar un SUSE Linux Enterprise Server.



Recientemente me he encontrado con un problema al tratar de actualizar un sistema SUSE Linux Enterprise Server. Al ejecutar el comando de actualización del sistema (zypper dup), el SLES me ha mostrado un error de conexión hacia los repositorios:

HOST# zypper dup Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Refreshing service 'SUSE_Linux_Enterprise_Server_12_SP4_x86_64'. Problem retrieving the repository index file for service 'SUSE_Linux_Enterprise_Server_12_SP4_x86_64': File './repo/repoindex.xml' not found on medium 'http://scc.suse.com/access/services/1610?cookies=0&credentials=SUSE_Linux_Enterprise_Server_12_SP4_x86_64' Check if the URI is valid and accessible.

Para solucionar esto, lo que me ha funcionado a mi ha sido re-sincronizar la licencia del SLES con el servidor de licencias de SUSE de la siguiente forma:

HOST# SUSEConnect --rollback Starting to sync system product activations to the server. This can take some time...

Una vez hecho esto, he vuelto a lanzar la actualización de sistema operativo y ya ha funcionado:

HOST# zypper dup Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Refreshing service 'SUSE_Linux_Enterprise_Server_12_SP4_x86_64'. Refreshing service 'SUSE_Linux_Enterprise_Software_Development_Kit_12_SP4_x86_64'. Refreshing service 'Web_and_Scripting_Module_12_x86_64'. Loading repository data... Reading installed packages... Computing distribution upgrade... The following NEW package is going to be installed: libunwind-devel The following 6 packages are going to be upgraded: grub2 grub2-i386-pc grub2-snapper-plugin grub2-systemd-sleep-plugin 6 packages to upgrade, 1 new. Overall download size: 6.2 MiB. Already cached: 0 B. After the operation, additional 2.4 MiB will be used. Continue? [y/n/...? shows all options] (y):

Llegados a este punto, el sistema se ha actualizado normalmente.
0

0 comentarios:

Publicar un comentario