SUSE EC2问题 – zypper – 权限被拒绝

我正尝试使用zypper在运行SUSE的Amazon EC2实例上安装gcc。

当我尝试: zypper in gcc

我得到:
Retrieving repository 'SLE11-SDK-SP1' metadata [] Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/install/SLE11-SDK-SP1/sle-11-i586/media.1/media ' denied.

Abort, retry, ignore? [a/r/i/?] (a): i Retrieving repository 'SLE11-SDK-SP1' metadata [error] Repository 'SLE11-SDK-SP1' is invalid. Can't provide /media.1/media : User-requested skipping of a file Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Disabling repository 'SLE11-SDK-SP1' because of the above error. Retrieving repository 'SLE11-SDK-SP1-Updates' metadata [|] Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP1-Updates/sle-11-i586/repodata/repomd.xml ' denied.

Abort, retry, ignore? [a/r/i/?] (a): i Retrieving repository 'SLE11-SDK-SP1-Updates' metadata [error] Repository 'SLE11-SDK-SP1-Updates' is invalid. Can't provide /repodata/repomd.xml : User-requested skipping of a file Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Disabling repository 'SLE11-SDK-SP1-Updates' because of the above error. Retrieving repository 'SLES11-Extras' metadata [/] Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/update/SLES11-Extras/sle-11-i586/repodata/repomd.xml ' denied.

Abort, retry, ignore? [a/r/i/?] (a): r Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/update/SLES11-Extras/sle-11-i586/repodata/repomd.xml ' denied.

Abort, retry, ignore? [a/r/i/?] (a): zypper in gcc Invalid answer 'zypper in gcc'. [a/r/i/?] (a): a Retrieving repository 'SLES11-Extras' metadata [error] Repository 'SLES11-Extras' is invalid. Can't provide /repodata/repomd.xml : Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Disabling repository 'SLES11-Extras' because of the above error. Retrieving repository 'SLES11-SP1' metadata [-] Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/install/SLES11-SP1/sle-11-i586/media.1/media ' denied.

Abort, retry, ignore? [a/r/i/?] (a): a Retrieving repository 'SLES11-SP1' metadata [error] Repository 'SLES11-SP1' is invalid. Can't provide /media.1/media : Please check if the URIs defined for this repository are pointing to a valid repository. Warning: Disabling repository 'SLES11-SP1' because of the above error. Retrieving repository 'SLES11-SP1-Updates' metadata [] Permission to access ' http://eu-west-1-ec2-update.susecloud.net/repo/update/SLES11-SP1-Updates/sle-11-i586/repodata/repomd.xml ' denied.

我已经search了这个问题, 这个线程出现了,但没有提供任何解决scheme。
我尝试sces-activate 。 难道我做错了什么?

我应该说我对此非常陌生,我承认我并不真正了解自己在做什么,但是我正在努力学习如何设置和运行服务器,所以我认为自己会在深处(ish)结束。

谢谢阅读。

这通常意味着URL或媒体不再可用(这有点像使用Debian apt-get或Red Hat的yum的404消息)。 据我所知,它应该从亚马逊的SuSE软件仓库中提取软件包,但是现在这些软件仓库已经倒闭了。 您可能需要在亚马逊的论坛上发布消息来让亚马逊修复它。

我并不熟悉zypper作为一个软件包pipe理器,我已经使用了suse v8和9. Big Gui SUSE工具是YasT(不知道大写)。

我在其他AWS支持线程中看到了相同的情况,如下所示: https : //forums.aws.amazon.com/thread.jspa?threadID=53398

所以也许它不是你。

我使用基于Centos的AMI,使用yum / rpm以及源代码编译,在EC2上取得了非常轻松的成功。

你不需要在一个新的Ec2实例上安装gcc,这可能会从头开始构build起来。

我通常觉得发行版本不可知,并且在基于debian / ubuntu的types和基于rpm / yum的types之间切换时没有问题。