ubuntu server 13.10修改引导等待时间与配置更新源

1、开机grub菜单等待时间太长

sudo vim /boot/grub/grub.cfg

查找time然后把timeout改成你想要的秒数


2、apt-get install发现找不到包

Reading package lists... Done
Building dependency tree... Done
Package chkconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'chkconfig' has no installation candidate


更新安装源

sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak

sudo su

echo >/etc/apt/sources.list

exit

然后sudo vim /etc/apt/sources.list

把下面的这一整行粘进去可使用网易更新源,主要是速度快。保存退出

deb http://mirrors.163.com/ubuntu/ saucy main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ saucy-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ saucy-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ saucy main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ saucy-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ saucy-backports main restricted universe multiverse

别忘了sudo apt-get update一下!



你可能感兴趣的:(ubuntu,更新源,13.10)