今天在 update ubuntu 時一直出現
W: Failed to fetch http://tw.archive.ubuntu.com/
我先
1. cd /etc/apt
2.cpoy : sudo cp sources.list sources.list_back
3.把裡面所有 http://tw.archive.ubuntu.com/ >改為 > http://us.archive.ubuntu.com/
=========================================================================
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
.....
..... 以下忽略
=======================================================================
在重新update Manager 就ok了
我原本 ubuntu 是 10.04 update 想升級為 10.10
1. sudo update-manager -d
2. 先 check 在 upgrade
3. 還是不能 update
問題 : (一)https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/662793
與這篇很像,還是沒下文
(二)Error Invalid MIT-MAGIC-COOKIE-1 key/usr/lib/pymodules/python2.6/gtk-2.0/gtk
最後重開機 看了這篇文章
http://wiki.ubuntu.org.cn/index.php?title=Apt%E5%92%8Cdpkg%E5%BF%AB%E9%80%9F%E5%8F%82%E8%80%83&variant=zh-hant
update 一下 update-manage -d
最後又下載 jdk 6 就成功了..........
4..結束
沒有留言:
張貼留言