1. 程式人生 > >無法修正錯誤,因為您要求某些軟體包保持現狀,就是它們破壞了軟體包間的依賴關係。ubu

無法修正錯誤,因為您要求某些軟體包保持現狀,就是它們破壞了軟體包間的依賴關係。ubu

有一些軟體包無法被安裝。如果您用的是 unstable 發行版,這也許是
因為系統無法達到您要求的狀態造成的。該版本中可能會有一些您需要的軟體
包尚未被建立或是它們已被從新到(Incoming)目錄移出。

中間是一些依賴包說明

無法修正錯誤,因為您要求某些軟體包保持現狀,就是它們破壞了軟體包間的依賴關係。

解決方法:

1.開啟更新設定,在“更新”選項卡中選則:重要安全更新 和 推薦更新

2.並在“其他軟體”選項卡中,去掉有問題等源

3.輸入以下命令:

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 multiverse
deb http://ubuntu.srt.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ quantal-backports main restricted universe multiverse
網易163更新伺服器(廣東廣州電信/聯通千兆雙線接入),包含其他開源映象
deb http://mirrors.163.com/ubuntu/ quantal main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse
LupaWorld 更新伺服器(浙江杭州電信/聯通雙線伺服器),包含其他開源映象
deb http://mirror.lupaworld.com/ubuntu quantal main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu quantal-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu quantal-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu quantal-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu quantal-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu quantal main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu quantal-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu quantal-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu quantal-backports main restricted universe multiverse
deb-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 multiverse
deb http://centos.bitcomm.cn/ubuntu quantal-security main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu quantal-updates main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu quantal-backports main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu quantal-proposed main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu quantal main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu quantal-security main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu quantal-updates main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu quantal-backports main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu quantal-proposed main restricted universe multiverse


以下為有教育網接入的伺服器(推薦教育網使用者使用,部分非教育網使用者也有可觀的速度。教育網使用者請優先使用IPv6地址。

deb http://debian.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-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 universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-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 multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-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 multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-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 universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn//ubuntu/ quantal-security main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-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 universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-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 universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
北京理工大學更新伺服器(僅教育網可以訪問),包含其他開源映象
deb http://mirror.bit.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse