
quiero cambiar
http://download.opensuse.org/tumbleweed/repo/oss/
a
https://download.opensuse.org/tumbleweed/repo/oss/
en yast -> repositorios de software -> editar -> editar partes del repositorio -> "x" el https (antes era http simple), pero solo me da el mensaje de error:
Download (curl) error for 'https://download.opensuse.org/update/tumbleweed/repo/repoindex.xml':
Error code: Bad URL
Error message: Protocol "http" not supported or disabled in libcurl
Pero si lo intento manualmente, tanto http como https fallan:
linux-4tur:~ # curl https://download.opensuse.org/update/tumbleweed/repo/repoindex.xml
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://download.opensuse.org/repositories/openSUSE:/Factory:/Update/standard/repo/repoindex.xml">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Linux/SUSE) Server at download.opensuse.org Port 443</address>
</body></html>
linux-4tur:~ # curl http://download.opensuse.org/update/tumbleweed/repo/repoindex.xml
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://download.opensuse.org/repositories/openSUSE:/Factory:/Update/standard/repo/repoindex.xml">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Linux/SUSE) Server at download.opensuse.org Port 80</address>
</body></html>
linux-4tur:~ #
Respuesta1
En lugar de utilizar yast, puedes editar los *.repo
archivos de texto siguientes /etc/zypp/repos.d/
con un editor de texto.
Puedes probar a través de
$ zypper ref
Por cierto, utilícelo curl -L ...
para seguir redirecciones.