手机站 | 电信站 | 联通站|联系电话:13712404125

ubuntu托管服务器has no installation candidate处理

E: Package 'python-software-properties' has no installation candidate
 
apt-get install python-software-properties
安装出错
“apt-get install python-software-properties”

做下面的操作后 再执行
 
# /etc/resolv.conf
nameserver 114.114.114.114

============把DNS写入到网卡文件========
#vi /etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
 
# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
auto eth0
iface eth0 inet static
        address 14.152.95.32
        netmask 255.255.255.0
        network 14.152.95.0
        broadcast 14.152.95.255
        gateway 14.152.95.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 114.114.114.114
 
============ =========================
新上架的物理服务器安装好UB系统,能正常联网后运行下面命令。

apt-get update
apt-get upgrade


 

分享到:

热门关注