位置: 编程技术 - 正文
推荐整理分享ubuntu软件源 sudo apt-get update更新列表(Ubuntu软件源更新),希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:Ubuntu软件源在哪里,Ubuntu软件源怎么配置,Ubuntu软件源修改为本地,Ubuntu软件源修改为本地,Ubuntu软件源更换,Ubuntu软件源更换,Ubuntu软件源更新,Ubuntu软件源更新,内容如对您有帮助,希望把文章链接给更多的朋友!
复制代码代码如下:#电子科技大学</p><p>deb quantal main restricted universe multiversedeb quantal-backports main restricted universe multiversedeb quantal-proposed main restricted universe multiversedeb quantal-security main restricted universe multiversedeb quantal-updates main restricted universe multiversedeb-src quantal main restricted universe multiversedeb-src quantal-backports main restricted universe multiversedeb-src quantal-proposed main restricted universe multiversedeb-src quantal-security main restricted universe multiversedeb-src quantal-updates main restricted universe multiverse</p><p># sohu 更新服务器:deb karmic main restricted universe multiversedeb karmic-security main restricted universe multiversedeb karmic-updates main restricted universe multiversedeb karmic-proposed main restricted universe multiversedeb karmic-backports main restricted universe multiversedeb-src karmic main restricted universe multiversedeb-src karmic-security main restricted universe multiversedeb-src karmic-updates main restricted universe multiversedeb-src karmic-proposed main restricted universe multiversedeb-src karmic-backports main restricted universe multiverse</p><p># 骨头兄亲自搭建并维护这个Ubuntu源(该源位于浙江杭州百兆共享宽带的电信机房):deb karmic main restricted universe multiversedeb karmic-security main restricted universe multiversedeb karmic-updates main restricted universe multiversedeb karmic-proposed main restricted universe multiversedeb karmic-backports main restricted universe multiversedeb-src karmic main restricted universe multiversedeb-src karmic-security main restricted universe multiversedeb-src karmic-updates main restricted universe multiversedeb-src karmic-proposed main restricted universe multiversedeb-src karmic-backports main restricted universe multiversedeb karmic main restricted universe multiverse</p><p># Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):deb karmic main restricted universe multiversedeb karmic-security main restricted universe multiversedeb karmic-updates main restricted universe multiversedeb karmic-proposed main restricted universe multiversedeb karmic-backports main restricted universe multiversedeb-src karmic main restricted universe multiversedeb-src karmic-security main restricted universe multiversedeb-src karmic-updates main restricted universe multiversedeb-src karmic-proposed main restricted universe multiversedeb-src karmic-backports main restricted universe multiverse</p><p># Mirrors.shlug.org更新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):deb karmic main restricted universe multiversedeb karmic-security main restricted universe multiversedeb karmic-updates main restricted universe multiversedeb karmic-backports main restricted universe multiversedeb karmic-proposed main restricted universe multiversedeb-src karmic main restricted universe multiversedeb-src karmic-security main restricted universe multiversedeb-src karmic-updates main restricted universe multiversedeb-src karmic-backports main restricted universe multiversedeb-src karmic-proposed main restricted universe multiverse</p><p># Mirror.lupaworld.com更新服务器(浙江省杭州市双线服务器):deb karmic main restricted universe multiversedeb karmic-security main restricted universe multiversedeb karmic-updates main restricted universe multiversedeb karmic-backports main restricted universe multiversedeb karmic-proposed main restricted universe multiversedeb-src karmic main restricted universe multiversedeb-src karmic-security main restricted universe multiversedeb-src karmic-updates main restricted universe multiversedeb-src karmic-backports main restricted universe multiversedeb-src karmic-proposed main restricted universe multiverse
执行命令更新
复制代码代码如下:sudo apt-get update
使用sudo apt-get update问题总结
复制代码代码如下:sudo apt-get update
显示为
E: 无法获得锁 /var/lib/apt/lists/lock - open ( Resource temporarily unavailable)E: 无法对状态列表目录加锁
直接把lock 文件删除就是了..
sudo rm /var/lib/apt/lists/lock
我在网上查了一下,还有下面方法
先查看一下是否有使用apt-get的程序,终端输入:ps -aux,找到使用apt-get的程序(最后一列),查看其PID号,然后杀死其进程,输入sudo kill PID,然后升级一下软件源,sudo apt-get update,sudo apt-get dist-update.
Ubuntu 更新软件源出错问题
当执行sudo apt-get update来更新软件源时,若出现以下类似错误: Failed to fetch Something wicked happened resolving 'cn.archive.ubuntu.com:http' (-5 - No address associated with hostname)
说明DNS解析出现了问题,应着重查看以下方面:
1. cat /etc/resolv.conf
查看里面的domain, search和nameserver配置是否正确。
若通过代理上网,请查看:
2. cat /etc/apt/apt.conf
在里面添加设置:
Acquire::http::proxy " , 注意是http, 不是https
3. 查看 “系统”--> “首选项”--> “网络代理”,里面的代理是否设置正确
ubuntu下安装VNC远程桌面的详细步骤 (只有背景,没有菜单栏问题没有解决)VirtualNetworkComputing(VNC)是进行远程桌面控制的一个软件。客户端的键盘输入和鼠标操作通过网络传输到远程服务
服务器迁移之debian重新配置Web服务的一些细节备忘 之前配置Linux服务器时采用的是Debian系统一直很稳定,这次准备迁移到新的服务器环境上,好在以前的配置我在博客都做了备忘,所以很容易就搞定了,
ubuntu安装虚拟磁带库mhvtl的方法 1下载源码从网站
标签: Ubuntu软件源更新
本文链接地址:https://www.jiuchutong.com/biancheng/356468.html 转载请保留说明!友情链接: 武汉网站建设