centos - yum install时有个包网速太慢总是下载失败,可以先通过别的方法把那个rpm下载好,然后安装吗?
某草草
某草草 2017-04-25 09:01:21
0
5
1343

yum install VirtualBox-4.2 -y
其他依赖包都没问题了,就是这virtual box自己太大,网速不给力,下一会儿就断掉了。如:
Install 55 Package(s)

Total size: 112 M
Total download size: 71 M
Installed size: 275 M
Downloading Packages:
http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: [Errno 12] Timeout on http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.

Error Downloading Packages:
VirtualBox-4.2-4.2.26_95022_el6-1.x86_64: failure: VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm from virtualbox: [Errno 256] No more mirrors to try.

我可以不可以在另一台网速快的电脑上下载好放到服务器上,再来安装?

某草草
某草草

reply all(5)
为情所困

You can download it first, copy it to this computer through other methods, and put it in a certain directory
Then yum install + file name

小葫芦

You want:
rpm -ivh xxx.rpm
?

巴扎黑

You can do this. But wouldn't it be better to change the source?

左手右手慢动作

You can change the software source, such as the 163 source. There are many such sources online, you can check them

阿神

During installation, the system disk has multiple CDs, and multiple CDs can be installed. The other disks are class libraries. Debian is like this, I don’t know if the RedHat source is the same

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template