主頁 > 知識庫 > ubuntu軟件源 sudo apt-get update更新列表

ubuntu軟件源 sudo apt-get update更新列表

熱門標簽:文德數(shù)慧科技有限公司 智能外呼系統(tǒng)的選購 400電話申請商客通 河北點撥外呼系統(tǒng)哪家公司做的好 各種地圖標注 福州營銷電銷機器人招商 地圖標注不在現(xiàn)場怎么上傳門頭標 企業(yè)電話機器人靠譜嗎 地圖標注員騙局


復(fù)制代碼
代碼如下:

#電子科技大學(xué)/p> p>deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse/p> p># sohu 更新服務(wù)器:
deb http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse/p> p># 骨頭兄親自搭建并維護這個Ubuntu源(該源位于浙江杭州百兆共享寬帶的電信機房):
deb http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn karmic main restricted universe multiverse/p> p># Archive.ubuntu.com更新服務(wù)器(歐洲,此為官方源,電信網(wǎng)通用戶使用):
deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse/p> p># Mirrors.shlug.org更新服務(wù)器(電信服務(wù)器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):
deb http://cn.archive.ubuntu.com/ubuntu karmic main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu karmic-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu karmic main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu karmic-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse/p> p># Mirror.lupaworld.com更新服務(wù)器(浙江省杭州市雙線服務(wù)器):
deb http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-proposed main restricted universe multiverse

 

執(zhí)行命令更新


復(fù)制代碼
代碼如下:

sudo apt-get update

使用sudo apt-get update問題總結(jié)


復(fù)制代碼
代碼如下:

sudo apt-get update

顯示為

E: 無法獲得鎖 /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: 無法對狀態(tài)列表目錄加鎖

直接把lock 文件刪除就是了..

sudo rm /var/lib/apt/lists/lock

我在網(wǎng)上查了一下,還有下面方法

先查看一下是否有使用apt-get的程序,終端輸入:ps -aux,找到使用apt-get的程序(最后一列),查看其PID號,然后殺死其進程,輸入sudo kill PID,然后升級一下軟件源,sudo apt-get update,sudo apt-get dist-update.        

 Ubuntu 更新軟件源出錯問題

當執(zhí)行sudo apt-get update來更新軟件源時,若出現(xiàn)以下類似錯誤: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg Something wicked happened resolving 'cn.archive.ubuntu.com:http' (-5 - No address associated with hostname)

說明DNS解析出現(xiàn)了問題,應(yīng)著重查看以下方面:

1. cat /etc/resolv.conf

查看里面的domain, search和nameserver配置是否正確。

若通過代理上網(wǎng),請查看:

2. cat /etc/apt/apt.conf

在里面添加設(shè)置:

Acquire::http::proxy "http://xxxxx.xxxxx.xxxx:1080" , 注意是http, 不是https

3. 查看 “系統(tǒng)”--> “首選項”--> “網(wǎng)絡(luò)代理”,里面的代理是否設(shè)置正確

標簽:潛江 南陽 曲靖 鎮(zhèn)江 雞西 新余 長沙 鎮(zhèn)江

巨人網(wǎng)絡(luò)通訊聲明:本文標題《ubuntu軟件源 sudo apt-get update更新列表》,本文關(guān)鍵詞  ubuntu,軟件,源,sudo,apt-get,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《ubuntu軟件源 sudo apt-get update更新列表》相關(guān)的同類信息!
  • 本頁收集關(guān)于ubuntu軟件源 sudo apt-get update更新列表的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章