提示有更新,但总是提示出错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

提示有更新,但总是提示出错

#1

帖子 wnyh » 2014-05-20 13:03

W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/o ... ce/Sources 404 Not Found
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ce/Sources 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/o ... 6/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... ce/Sources 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.92.201 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

弹出一个窗口”下载软件仓库信息失败“。我的系统是11.10的。怎么办?如何解决
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 提示有更新,但总是提示出错

#2

帖子 poloshiao » 2014-05-20 13:10

我的系统是11.10的
已經停止 線上更新了
如果還需要更新 需要手動更改 下載伺服器
參閱
https://help.ubuntu.com/community/EOLUp ... quirements
把 CODENAME 改為 oneiric
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

Re: 提示有更新,但总是提示出错

#3

帖子 wnyh » 2014-05-20 13:14

poloshiao 写了:
我的系统是11.10的
已經停止 線上更新了
如果還需要更新 需要手動更改 下載伺服器
參閱
https://help.ubuntu.com/community/EOLUp ... quirements
把 CODENAME 改為 oneiric
不懂,不知道怎么操作 :em06
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 提示有更新,但总是提示出错

#4

帖子 poloshiao » 2014-05-20 15:40

不知道怎么操作
1. sudo cat /etc/apt/sources.list
2. sudo ls -al /etc/apt/sources.list.d
把結果直接複製 貼上來
wnyh
帖子: 54
注册时间: 2011-11-24 9:00

Re: 提示有更新,但总是提示出错

#5

帖子 wnyh » 2014-05-27 13:03

poloshiao 写了:
不知道怎么操作
1. sudo cat /etc/apt/sources.list
2. sudo ls -al /etc/apt/sources.list.d
把結果直接複製 貼上來
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu oneiric main

## Major bug fix updates produced after the final release of the
## distribution.

## 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://archive.ubuntu.com/ubuntu oneiric 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.

## 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.


## 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 oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu oneiric main
# deb-src http://extras.ubuntu.com/ubuntu oneiric main
# deb http://hu.archive.Ubuntu.com/ubuntu/ hardy universe
# deb-src http://hu.archive.Ubuntu.com/ubuntu/ hardy universe
# deb http://hu.archive.Ubuntu.com/ubuntu/ hardy-updates universe
# deb-src http://hu.archive.Ubuntu.com/ubuntu/ hardy-updates universe
deb http://security.ubuntu.com/ubuntu/ oneiric-security main universe
deb http://archive.ubuntu.com/ubuntu oneiric-updates main universe
ttt@ttt:tSrc$ sudo ls -al /etc/apt/sources.list.d
总用量 32
drwxr-xr-x 2 root root 4096 2012-10-14 10:53 .
drwxr-xr-x 6 root root 4096 2014-05-20 09:55 ..
-rw-r--r-- 1 root root 132 2014-05-26 15:22 lainme-libqq-oneiric.list
-rw-r--r-- 1 root root 132 2014-05-26 15:22 lainme-libqq-oneiric.list.save
-rw-r--r-- 1 root root 144 2014-05-26 15:22 lainme-pidgin-lwqq-oneiric.list
-rw-r--r-- 1 root root 144 2014-05-26 15:22 lainme-pidgin-lwqq-oneiric.list.save
-rw-r--r-- 1 root root 82 2014-05-26 15:22 oneiric-partner.list
-rw-r--r-- 1 root root 82 2014-05-26 15:22 oneiric-partner.list.save
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 提示有更新,但总是提示出错

#6

帖子 poloshiao » 2014-05-27 14:33

1. sudo cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu oneiric main
deb http://archive.ubuntu.com/ubuntu oneiric universe
deb http://security.ubuntu.com/ubuntu/ oneiric-security main universe
deb http://archive.ubuntu.com/ubuntu oneiric-updates main universe
deb http://archive.canonical.com/ubuntu oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner
1. 如果第一次使用 gksudo 先安裝 gksu 套件

2. gksudo gedit /etc/apt/sources.list
先清空全部內容
再複製下面的全部內容 貼上
deb http://old-releases.ubuntu.com/ubuntu oneiric main
deb http://old-releases.ubuntu.com/ubuntu oneiric universe
deb http://old-releases.ubuntu.com/ubuntu oneiric-security main universe
deb http://old-releases.ubuntu.com/ubuntu oneiric-updates main universe
deb http://archive.canonical.com/ubuntu oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner
儲存

3. 把第三方軟體來源暫存 (不用)
3-1. sudo mv /etc/apt/sources.list.d/lainme-libqq-oneiric.list /etc/apt/sources.list.d/lainme-libqq-oneiric.list.backup
3-2. sudo mv /etc/apt/sources.list.d/lainme-pidgin-lwqq-oneiric.list /etc/apt/sources.list.d/lainme-pidgin-lwqq-oneiric.list.backup
3-3. sudo mv /etc/apt/sources.list.d/oneiric-partner.list /etc/apt/sources.list.d/oneiric-partner.list.backup

4. 先更新到 最新狀況
sudo apt-get update
sudo apt-get upgrade

5. 升級到 12.04
update-manager

6. 升級完畢 重新開機
先更新到 最新狀況
sudo apt-get update
sudo apt-get upgrade

7. 升級
12.04 --> 14.04
viewtopic.php?p=3075497#p3075497
update-manager -d

8. 升級完畢 重新開機
先更新到 最新狀況
sudo apt-get update
sudo apt-get upgrade

9. 任何操作 都不是 100% 沒有風險
開始升級前 先備存
萬一升級失敗
才有機會 重來
回复