You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by 郭宏铼 <gu...@qq.com> on 2015/07/23 07:26:52 UTC

回复: 回复:我使用离线安装,但是有报错

我进入到/mnt/cloudstack-4.5.1/
执行creaerepo
然后yum clean all后再安装就好了




------------------ 原始邮件 ------------------
发件人: "pcy4656822";<pc...@163.com>;
发送时间: 2015年7月23日(星期四) 中午1:02
收件人: "users-cn"<us...@cloudstack.apache.org>; 

主题: Re: 回复:我使用离线安装,但是有报错



可以用用createrepo 重新生成repodata






发自 Surface





发件人: 郭宏铼
发送时间: ‎2015‎年‎7‎月‎23‎日, ‎星期四 ‎12‎:‎40
收件人: users-cn, users-cn





详细信息:
[root@B-MS cloudstack-4.5.1]# yum install cloudstack-management
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package cloudstack-management.x86_64 0:4.5.1-1.el6 will be installed
--> Processing Dependency: cloudstack-awsapi = 4.5.1 for package: cloudstack-management-4.5.1-1.el6.x86_64
--> Running transaction check
---> Package cloudstack-awsapi.x86_64 0:4.5.1-1.el6 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


===============================================================================================================================================================================================================
 Package                                                    Arch                                        Version                                          Repository                                       Size
===============================================================================================================================================================================================================
Installing:
 cloudstack-management                                      x86_64                                      4.5.1-1.el6                                      cloudStack                                       88 M
Installing for dependencies:
 cloudstack-awsapi                                          x86_64                                      4.5.1-1.el6                                      cloudStack                                       85 M


Transaction Summary
===============================================================================================================================================================================================================
Install       2 Package(s)


Total download size: 173 M
Installed size: 173 M
Is this ok [y/N]: y
Downloading Packages:
http://cloudstack.apt-get.eu/rhel/6/4.5/cloudstack-awsapi-4.5.1-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'cloudstack.apt-get.eu'"
Trying other mirror.
http://cloudstack.apt-get.eu/rhel/6/4.5/cloudstack-management-4.5.1-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'cloudstack.apt-get.eu'"
Trying other mirror.




Error Downloading Packages:
  cloudstack-awsapi-4.5.1-1.el6.x86_64: failed to retrieve cloudstack-awsapi-4.5.1-1.el6.x86_64.rpm from cloudStack
error was [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'cloudstack.apt-get.eu'"
  cloudstack-management-4.5.1-1.el6.x86_64: failed to retrieve cloudstack-management-4.5.1-1.el6.x86_64.rpm from cloudStack
error was [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'cloudstack.apt-get.eu'"


[root@B-MS cloudstack-4.5.1]# cat /etc/yum.repos.d/cloudstack.repo 
[cloudStack]
name=cloudstack
baseurl=file:///mnt/cloudstack-4.5.1
enabled=1
gpgcheck=0
[root@B-MS cloudstack-4.5.1]# cd /mnt/cloudstack-4.5.1/
[root@B-MS cloudstack-4.5.1]# ll
total 381748
-rw-r--r--. 1 root root       610 Jul 22 14:02 cloudstack-4.5.1.md5.txt
-rw-r--r--. 1 root root  49858261 Jul 22 14:02 cloudstack-agent-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root  89602784 Jul 23 12:29 cloudstack-awsapi-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root      5895 Jul 22 14:02 cloudstack-baremetal-agent-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root     55396 Jul 22 14:02 cloudstack-cli-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root 114259567 Jul 22 14:03 cloudstack-common-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root  92201700 Jul 23 12:29 cloudstack-management-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root     63785 Jul 22 14:03 cloudstack-mysql-ha-4.5.1-1.el6.x86_64.rpm
-rw-r--r--. 1 root root  44835826 Jul 22 14:03 cloudstack-usage-4.5.1-1.el6.x86_64.rpm
drwxr-xr-x. 2 root root      4096 Jul 22 14:03 repodata
[root@B-MS cloudstack-4.5.1]# 





------------------ 原始邮件 ------------------
发件人: "郭宏铼"<gu...@qq.com>; 
发送时间: 2015年7月23日(星期四) 中午12:21
收件人: "cloudstack用户组"<us...@cloudstack.apache.org>; 
主题: 我使用离线安装,但是有报错



centos6.6 挂在本地iso和下载的4.5.1的全部rpm包含repodata文件夹
yum install cloud-client
显示需要从http://cloudstack.apt-get.eu/rhel/6/4.5/下载cloudstack的3个rpm
怎么解决?