Я хочу изменить
http://download.opensuse.org/tumbleweed/repo/oss/
на
https://download.opensuse.org/tumbleweed/repo/oss/
в yast -> репозитории программного обеспечения -> редактировать -> редактировать части репо ->" x "https (раньше это был простой http), но он просто выдает мне сообщение об ошибке:
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
Но если я попытаюсь вручную, и http, и https не сработают:
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:~ #
Вместо использования yast вы можете отредактировать текстовые файлы *.repo
ниже /etc/zypp/repos.d/
с помощью текстового редактора.
Вы можете протестировать через
$ zypper ref
Кстати, используйте curl -L ...
для следования перенаправлениям.