(已解決)更新管理員及synaptic套件管理無法更新 [論壇 - 新手村]
正在瀏覽:
1 名遊客
(已解決)更新管理員及synaptic套件管理無法更新 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/11 10:43 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 8
![]() |
更新時出現以下錯誤訊息:
無法初始化套件資訊 初始套件資訊時發生不能解決的問題。 請匯報此錯誤於 "update-manager" 套件並附上以下的錯誤訊息: 'E:未知的類型 '20091027',位於在來源列表 /etc/apt/sources.list 中的第 2 行, E:無法讀取來源列表。' 我的/etc/apt/sources.list為 -----------------------←分格線 # 20091027 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. # deb http://ftp.twaren.net/ubuntu karmic main restricted # deb-src http://ftp.twaren.net/ubuntu karmic main restricted ## Major bug fix updates produced after the final release of the ## distribution. # deb http://ftp.twaren.net/ubuntu karmic-updates main restricted # deb-src http://ftp.twaren.net/ubuntu karmic-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. # deb http://ftp.twaren.net/ubuntu karmic universe # deb-src http://ftp.twaren.net/ubuntu karmic universe # deb http://ftp.twaren.net/ubuntu karmic-updates universe # deb-src http://ftp.twaren.net/ubuntu karmic-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. # deb http://ftp.twaren.net/ubuntu karmic multiverse # deb-src http://ftp.twaren.net/ubuntu karmic multiverse # deb http://ftp.twaren.net/ubuntu karmic-updates multiverse # deb-src http://ftp.twaren.net/ubuntu karmic-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://tw.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse # deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu karmic partner deb-src http://archive.canonical.com/ubuntu karmic partner # deb http://ftp.twaren.net/ubuntu karmic-security main restricted # deb-src http://ftp.twaren.net/ubuntu karmic-security main restricted # deb http://ftp.twaren.net/ubuntu karmic-security universe # deb-src http://ftp.twaren.net/ubuntu karmic-security universe # deb http://ftp.twaren.net/ubuntu karmic-security multiverse deb http://ftp.tcc.edu.tw/Linux/ubuntu/ karmic main universe restricted multiverse #國網中心伺服器 (Lazybuntu 新增) deb-src http://ftp.tcc.edu.tw/Linux/ubuntu/ karmic main universe restricted multiverse #國網中心伺服器 (Lazybuntu 新增) deb http://security.ubuntu.com/ubuntu/ karmic-security main universe restricted multiverse #安全性更新伺服器 (Lazybuntu 新增) deb-src http://ftp.tcc.edu.tw/Linux/ubuntu/ karmic-security main universe restricted multiverse #安全性更新伺服器 (Lazybuntu 新增) # deb-src http://ftp.twaren.net/ubuntu karmic-security multiverse #the source of Ubuntu Tweak (Lazybuntu 新增) deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main 請各位幫幫忙!已經在網路上找解決方法很久了!可是一直無效= = 我的系統是ubuntu9.10~~請各位教教、救救我吧
2009/11/15 22:17
|
||||||||||
![]() |
回覆: 更新管理員及synaptic套件管理無法更新 |
||
---|---|---|
Anon:
|
他說的就是第二行阿...
那個絕對不是什麼套件來源,請用 # 讓程式忽略他。
2009/11/15 22:25
|
|
![]() |
回覆: 更新管理員及synaptic套件管理無法更新 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員二級
![]() ![]() 註冊日期:
2008/9/5 19:54 所屬群組:
已註冊使用者 等級: 4
HP : 0 / 87
![]() |
小弟我認為......
# 20091027 改成 #20091027 應該就可以了^_^"
2009/11/15 22:27
|
||||||||||
![]() |
回覆: 更新管理員及synaptic套件管理無法更新 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2008/6/15 2:56 所屬群組:
已註冊使用者 等級: 38
HP : 0 / 945
![]() |
sudo sed -i '/20091027/d' /etc/apt/sources.list
2009/11/16 1:30
|
||||||||||
![]() |
回覆: (已解決)更新管理員及synaptic套件管理無法更新 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/11 10:43 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 8
![]() |
十分謝謝三位的教導,透過hepha的方法已解決問題!
日後若還有不懂之處,再來請教各位!先來去弄懂sudo sed -i '/20091027/d' /etc/apt/sources.list這行指令的意思囉!再次感謝
2009/11/16 20:49
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.