ubuntu中flashplugin-installer:downloading无反映的问题

 it seems as if the URL archive.canonical.com is not resolving. However, googling around showed me that this error was intermittent and particular to certain geographies which is characteristic of DNS issues. So what I did was log into my work server and ping archive.canonical.com which gave me the IP 91.189.92.150 which was different from what the addressed resolved to on my other server (which was 32.1.6.124).

  1. Fixing this is as simple as editing your /etc/hosts file and adding the following line at the bottom:

    91.189.92.150 archive.canonical.com

    ... and saving the file. This must, of course, be done as root (sudo). This should tell Linux that archive.canonical.com actually lives at 91.189.92.150 and not to bother using DNS to resolve it further.

    Once this was done, I was able to update the package without any issues.


sudo vi /etc/hosts

------------------------------------

127.0.0.1  localhost

127.0.1.1  ubuntu1404


91.189.92.150 archive.canonical.com

------------------------------------


sudo reboot

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值