1、更新软件包列表并安装apt-spy

复制代码代码如下:
#apt-get install apt-spy

2、自动下载列表并使用apt-spy测试最快的源

复制代码代码如下:
#apt-spy update
#apt-spy -d stable -a Asia

3、查看生成的配置文件,里面是最快的源

复制代码代码如下:
#cat /etc/apt/sources.list.d/apt-spy.list
#cp /etc/apt/sources.list.d/apt-spy.list /etc/apt/sources.list
#apt-get update

几个比较快的

复制代码代码如下:
deb ftp://ftp.cn.debian.org/debian/ stable main #contrib non-free
deb http://mirrors.163.com/debian/ stable main #contrib non-free
deb-src http://mirrors.163.com/debian/ stable main #contrib non-free
deb http://security.debian.org/ stable/updates main

4、由于依赖关系安装失败的问题
由于ubuntu/debian软件库中有时候不同的库更新速度不一致,apt-get 出出现如下的错误提示
 
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
  libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8) but 0.9.8k-7ubuntu8.5 is to be installed
这个时候应该请令一个工具出马了:"aptitude"
使用这个工具,当某个库依赖的库与当前版本不一致时,aptitude 会尝试降级当前这个库的版本,同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件
如:
复制代码代码如下:#aptitude install vim-gnome

华山资源网 Design By www.eoogi.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
华山资源网 Design By www.eoogi.com

RTX 5090要首发 性能要翻倍!三星展示GDDR7显存

三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。

首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。

据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。