无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
来源:互联网 发布:网络信息安全龙头股 编辑:程序博客网 时间:2024/04/27 18:43
http://blog.sina.com.cn/s/blog_b4a60cdb0101cdhm.html
系统环境ubuntu12.04 LTS
偶然你使用sudo apt-get install xx时提示:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:
中间是一些依赖包说明
无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
这是一些依赖关系与源出了问题
解决方法:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
(参阅http://forum.ubuntu.org.cn/viewtopic.php?f=80&t=372236)
然后换一个源
gksu gedit /etc/apt/sources.list
从下面列表中选择合适的源,替换掉文件中所有的内容,保存编辑好的文件:
最后执行sudo apt-get update
源列表
- 骨头兄亲自搭建并维护的 Ubuntu源(该源位于浙江杭州百兆共享宽带的电信机房),包含Deepin 等镜像:
deb http://ubuntu.srt.cn/ubuntu/ quantal main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ quantal-updates main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ quantal main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ quantal-security main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ quantal-backports main restricted universe multiverse
- 网易163更新服务器(广东广州电信/联通千兆双线接入),包含其他开源镜像:
deb http://mirrors.163.com/ubuntu/ quantal main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ quantal-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ quantal-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ quantal main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ quantal-backports main restricted universe multiverse
- 搜狐更新服务器(山东联通千兆接入,官方中国大陆地区镜像跳转至此) ,包含其他开源镜像:
deb http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse
- LupaWorld 更新服务器(浙江杭州电信/联通双线服务器),包含其他开源镜像:
deb http://mirror.lupaworld.com/ubuntu quantal main restricted universe multiversedeb http://mirror.lupaworld.com/ubuntu quantal-security main restricted universe multiversedeb http://mirror.lupaworld.com/ubuntu quantal-updates main restricted universe multiversedeb http://mirror.lupaworld.com/ubuntu quantal-backports main restricted universe multiversedeb http://mirror.lupaworld.com/ubuntu quantal-proposed main restricted universe multiversedeb-src http://mirror.lupaworld.com/ubuntu quantal main restricted universe multiversedeb-src http://mirror.lupaworld.com/ubuntu quantal-security main restricted universe multiversedeb-src http://mirror.lupaworld.com/ubuntu quantal-updates main restricted universe multiversedeb-src http://mirror.lupaworld.com/ubuntu quantal-backports main restricted universe multiversedeb-src http://mirror.lupaworld.com/ubuntu quantal-proposed main restricted universe multiverse
- 常州贝特康姆软件技术有限公司更新服务器(江苏常州电信服务器),包含其他开源镜像。
- ( CN99域名 系 “常州市亚科技术有限公司”所注册,但此公司与常州贝特康姆的法人代表和营业地址相同。所以本镜像实际即原 CN99。但现在 CN99镜像的域名已改为跳转至网易镜像):
deb http://centos.bitcomm.cn/ubuntu quantal main restricted universe multiversedeb http://centos.bitcomm.cn/ubuntu quantal-security main restricted universe multiversedeb http://centos.bitcomm.cn/ubuntu quantal-updates main restricted universe multiversedeb http://centos.bitcomm.cn/ubuntu quantal-backports main restricted universe multiversedeb http://centos.bitcomm.cn/ubuntu quantal-proposed main restricted universe multiversedeb-src http://centos.bitcomm.cn/ubuntu quantal main restricted universe multiversedeb-src http://centos.bitcomm.cn/ubuntu quantal-security main restricted universe multiversedeb-src http://centos.bitcomm.cn/ubuntu quantal-updates main restricted universe multiversedeb-src http://centos.bitcomm.cn/ubuntu quantal-backports main restricted universe multiversedeb-src http://centos.bitcomm.cn/ubuntu quantal-proposed main restricted universe multiverse
以下为有教育网接入的服务器(推荐教育网用户使用,部分非教育网用户也有可观的速度。教育网用户请优先使用IPv6地址。
- 中国科学技术大学更新服务器(位于合肥,千兆教育网接入,百兆电信/联通线路智能路由),由中科大 Linux用户协会和中科大学网络信息中心维护,包含其他开源镜像,Deepin 官方服务器 实际亦指向此处:
deb http://debian.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
- IPv6-Only 地址
deb http://mirrors6.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universedeb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universedeb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universedeb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
- 清华大学更新服务器,(教育网核心节点百兆接入,已计划提高到千兆)由清华大学学生网管会维护。包含其他开源镜像:
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
- IPv4-Only 地址
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiversedeb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiversedeb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
- IPv6-Only 地址
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal main multiverse restricted universedeb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb http://mirrors.6.tuna.tsinghua.edu.cn//ubuntu/ quantal-security main multiverse restricted universedeb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main multiverse restricted universedeb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal main multiverse restricted universedeb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
- 北京交通大学更新服务器(教育网/电信百兆接入),由北京交通大学信息中心赞助,包含其他开源镜像。
- (域名中的 bjtu 可以替换为 njtu ,即北交旧名“北方交通大学”对应域名) :
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
- IPv6-Only 地址
deb http://mirror6.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universedeb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universedeb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universedeb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universedeb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universedeb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universedeb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
- 北京理工大学更新服务器(仅教育网可以访问),包含其他开源镜像:
deb http://mirror.bit.edu.cn/ubuntu/ quantal main restricted universe multiversedeb http://mirror.bit.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://mirror.bit.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb http://mirror.bit.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb http://mirror.bit.edu.cn/ubuntu/ quantal-proposed main restricted universe multiversedeb-src http://mirror.bit.edu.cn/ubuntu/ quantal main restricted universe multiversedeb-src http://mirror.bit.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb-src http://mirror.bit.edu.cn/ubuntu/ quantal-updates main restricted universe multiversedeb-src http://mirror.bit.edu.cn/ubuntu/ quantal-backports main restricted universe multiversedeb-src http://mirror.bit.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
0 0
- E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- ubuntu无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。ubu
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
- 无法修正错误,因为您要求某些软件包保持现状,它们破坏了软件包间的依赖关系
- Ubuntu 安装软件出现如下错误:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
- ubuntu安装软件时出现,无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- samba无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系 - playerboy
- E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系 解决办法
- 如何判断Javascript对象是否存在
- 盐城腰颈椎病最专业的医院在哪里啊?
- TCP/IP网络基础
- MODBUS通讯协议及编程【一】
- 《Linux 性能及调优指南》3.1 确认瓶颈
- 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
- MVVM设计模式
- 把类定义与类实现分开有什么实际意义?
- Linux I2C核心、总线与设备驱动
- Mapgis to shp数据转换
- 深入理解ningx, hello world模块代码
- Mysql5.7主从
- eclipse 利用windows资源管理器打开当前文件所在目录 | eclipse下的Java工程路径问题
- 黑马程序员 运算符的使用