在 Amazon SUSE SE 11 SP3 上安装 php5-openssl
Installing php5-openssl on Amazon SUSE SE 11 SP3
我有一个 SUSE ES 11 SP3 Amazon EC2 实例,我需要安装 php5-openssl 程序包,但是我 在使用 "zypper install" 时遇到了麻烦。我应该升级 insance 基础设施更新 (more details here),但我错过了截止日期,现在我有一个无用的实例,因为我无法安装任何东西。
每当 我使用 zypper install 我得到:
Refreshing service 'susecloud'.
Problem retrieving the repository index file for service 'susecloud':
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/repoindex.xml?cookies=0':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Check if the URI is valid and accessible.
Error building the cache:
[|] Valid metadata not found at specified URL(s)
Warning: Disabling repository 'php' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Abort, retry, ignore? [a/r/i/? shows all options] (a): a
Problem retrieving files from 'SLE11-SDK-SP3-Pool'.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Please see the above error message for a hint.
Warning: Disabling repository 'SLE11-SDK-SP3-Pool' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Updates/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
如果我尝试更新我得到的更新基础设施:
Adding repository 'tmp_instance_infrastructure_upgrade' [done]
Repository 'tmp_instance_infrastructure_upgrade' successfully added
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI: dir:///usr/share/instance_infrastructure_upgrade/repo
Repository 'tmp_instance_infrastructure_upgrade' priority has been set to 1.
Retrieving repository 'tmp_instance_infrastructure_upgrade' metadata [done]
Building repository 'tmp_instance_infrastructure_upgrade' cache [done]
Specified repositories have been refreshed.
Refreshing service 'susecloud'.
Problem retrieving the repository index file for service 'susecloud':
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/repoindex.xml?cookies=0':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Check if the URI is valid and accessible.
Error building the cache:
[|] Valid metadata not found at specified URL(s)
Warning: Disabling repository 'php' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
...
--> Updating packages failed
我尝试安装每个 php5-openssl 依赖项,下载每个 RPM 并使用 rpm -i 安装,但每次我解决一个依赖项时,另一个依赖项就会出现。我也尝试了 suse 论坛 (post here),但直到现在都没有成功。
所以我的问题是:
- 有什么方法可以手动修复 zypper 存储库吗?即使只安装 php5-openssl 包。
- 有没有什么方法可以使用 RPM 来管理 php5-openssl 的依赖关系?
- 在我的 suse 实例中是否有另一种安装 php5-openssl 的替代方法?
简而言之:
- 您无法修复这些存储库;因为它们不再存在(尝试浏览至 http://sa-east-1-ec2-update.susecloud.net/)。
rpm
无法查找依赖项,因为 rpm
不使用存储库(这就是 zypper 的用武之地)。您可以在 the internet 上查找 rpms,然后使用 rpm
手动安装;但是 rpm
找不到丢失的 rpm。
- 是;如第 2 点所述;您可以查找 rpm;下载并手动安装;或者您甚至可以查找包含所需 rpm 的存储库,然后添加该存储库。但是要小心;因为这些存储库可能不是为 Amazon EC2 制作的。如果你这样做;尝试找到尽可能接近 suse 11 EC2 的存储库...
我有一个 SUSE ES 11 SP3 Amazon EC2 实例,我需要安装 php5-openssl 程序包,但是我 在使用 "zypper install" 时遇到了麻烦。我应该升级 insance 基础设施更新 (more details here),但我错过了截止日期,现在我有一个无用的实例,因为我无法安装任何东西。
每当 我使用 zypper install 我得到:
Refreshing service 'susecloud'.
Problem retrieving the repository index file for service 'susecloud':
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/repoindex.xml?cookies=0':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Check if the URI is valid and accessible.
Error building the cache:
[|] Valid metadata not found at specified URL(s)
Warning: Disabling repository 'php' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Abort, retry, ignore? [a/r/i/? shows all options] (a): a
Problem retrieving files from 'SLE11-SDK-SP3-Pool'.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Please see the above error message for a hint.
Warning: Disabling repository 'SLE11-SDK-SP3-Pool' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Updates/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
如果我尝试更新我得到的更新基础设施:
Adding repository 'tmp_instance_infrastructure_upgrade' [done]
Repository 'tmp_instance_infrastructure_upgrade' successfully added
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI: dir:///usr/share/instance_infrastructure_upgrade/repo
Repository 'tmp_instance_infrastructure_upgrade' priority has been set to 1.
Retrieving repository 'tmp_instance_infrastructure_upgrade' metadata [done]
Building repository 'tmp_instance_infrastructure_upgrade' cache [done]
Specified repositories have been refreshed.
Refreshing service 'susecloud'.
Problem retrieving the repository index file for service 'susecloud':
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/repoindex.xml?cookies=0':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
Check if the URI is valid and accessible.
Error building the cache:
[|] Valid metadata not found at specified URL(s)
Warning: Disabling repository 'php' because of the above error.
Download (curl) error for 'http://sa-east-1-ec2-update.susecloud.net/repo/update/SLE11-SDK-SP3-Pool/sle-11-x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'sa-east-1-ec2-update.susecloud.net'
...
--> Updating packages failed
我尝试安装每个 php5-openssl 依赖项,下载每个 RPM 并使用 rpm -i 安装,但每次我解决一个依赖项时,另一个依赖项就会出现。我也尝试了 suse 论坛 (post here),但直到现在都没有成功。
所以我的问题是:
- 有什么方法可以手动修复 zypper 存储库吗?即使只安装 php5-openssl 包。
- 有没有什么方法可以使用 RPM 来管理 php5-openssl 的依赖关系?
- 在我的 suse 实例中是否有另一种安装 php5-openssl 的替代方法?
简而言之:
- 您无法修复这些存储库;因为它们不再存在(尝试浏览至 http://sa-east-1-ec2-update.susecloud.net/)。
rpm
无法查找依赖项,因为rpm
不使用存储库(这就是 zypper 的用武之地)。您可以在 the internet 上查找 rpms,然后使用rpm
手动安装;但是rpm
找不到丢失的 rpm。- 是;如第 2 点所述;您可以查找 rpm;下载并手动安装;或者您甚至可以查找包含所需 rpm 的存储库,然后添加该存储库。但是要小心;因为这些存储库可能不是为 Amazon EC2 制作的。如果你这样做;尝试找到尽可能接近 suse 11 EC2 的存储库...