求助,ubuntu13.04换源出现404 NOT FOUND错误

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

求助,ubuntu13.04换源出现404 NOT FOUND错误

#1

帖子 huanongying » 2014-08-03 17:00

各位大侠,我在安装完Ubuntu13.04后,使用ubuntu软件中心下载个ftp软件,结果提示下载软件仓库信息失败,下面是截图
下载失败.png
网上搜索了下这类问题,说原因是源没有更新了,得换源。于是我就找了个网易163的源,
网易源.png
而且做了测试,可以连接上
可以连接.png
先备份/etc/apt/sources.list文件,sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

再执行sudo apt-get update,结果下面出了一堆的404NOT FOUND。
更新失败.png
我想请问下,这种情况是怎么回事?该怎么解决呢?我是新手,大家体谅哈:-)
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#2

帖子 poloshiao » 2014-08-03 18:21

1. Ubuntu 13.04 / 13.10 已經停止 線上更新/升級/安裝 了
所以 所有的 下載源 都已經移除了 13.04 / 13.10 的套件庫
https://wiki.ubuntu.com/Releases

2. 建議 全新安裝
2-1. ubuntu 12.04.4
https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes
2-2. ubuntu 14.04.1
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes

3. 如果基於某種原因 你必須在 Ubuntu 13.04 更新
請再貼文
huanongying
帖子: 8
注册时间: 2014-07-27 14:51
系统: win7

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#3

帖子 huanongying » 2014-08-03 19:36

原来这样啊。。。还以为找了个较新版本支持会更长呢,不过这周期也太短了点。
我是新手,刚开始用linux没多久,大牛多多指教啊!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#4

帖子 poloshiao » 2014-08-03 20:45

找了个较新版本支持会更长呢
找每兩年發行一次的 LTS 版本
https://wiki.ubuntu.com/LTS
huanongying
帖子: 8
注册时间: 2014-07-27 14:51
系统: win7

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#5

帖子 huanongying » 2014-08-03 22:18

poloshiao 写了:
找了个较新版本支持会更长呢
找每兩年發行一次的 LTS 版本
https://wiki.ubuntu.com/LTS
不知道什么是LTS :em06 ,所以查了下,原来是可以最多支持5年的。我现在已经换成12.04LTS了,再试试在线更新
zhbitak
帖子: 2
注册时间: 2010-01-06 0:34

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#6

帖子 zhbitak » 2014-08-04 17:14

poloshiao 写了:1. Ubuntu 13.04 / 13.10 已經停止 線上更新/升級/安裝 了
所以 所有的 下載源 都已經移除了 13.04 / 13.10 的套件庫
https://wiki.ubuntu.com/Releases

2. 建議 全新安裝
2-1. ubuntu 12.04.4
https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes
2-2. ubuntu 14.04.1
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes

3. 如果基於某種原因 你必須在 Ubuntu 13.04 更新
請再貼文
你好,我的情况:系统为13.04,不希望重新安装,有哪些办法可以更新?哥们,可否抽空指导下思路。谢谢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#7

帖子 poloshiao » 2014-08-04 17:30

系统为13.04,不希望重新安装,有哪些办法可以更新?
1. 13.04 代碼 raring
https://wiki.ubuntu.com/RaringRingtail/ReleaseNotes

2. 13.04 套件庫 目前位址
http://old-releases.ubuntu.com/ubuntu/dists/
http://old-releases.ubuntu.com/ubuntu/dists/raring/
http://old-releases.ubuntu.com/ubuntu/d ... g-updates/
http://old-releases.ubuntu.com/ubuntu/d ... -security/
http://old-releases.ubuntu.com/ubuntu/d ... -proposed/
http://old-releases.ubuntu.com/ubuntu/d ... backports/

3. 需要把你目前 /etc/apt/sources.list 軟體來源 的套件庫 變更為上面的網址
3-1. 如果你對於
目前 /etc/apt/sources.list 軟體來源 的套件庫 變更為上面的網址
沒有把握
sudo cat /etc/apt/sources.list
把結果複製 貼上來

4. 最好把 第三方來源資料庫
sudo ls -al /etc/apt/sources.list.d
全部移除

5. 然後
sudo apt-get update
sudo apt-get upgrade
就可以更新
zhbitak
帖子: 2
注册时间: 2010-01-06 0:34

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#8

帖子 zhbitak » 2014-08-04 17:54

poloshiao 写了:
系统为13.04,不希望重新安装,有哪些办法可以更新?
1. 13.04 代碼 raring
https://wiki.ubuntu.com/RaringRingtail/ReleaseNotes

2. 13.04 套件庫 目前位址
http://old-releases.ubuntu.com/ubuntu/dists/
http://old-releases.ubuntu.com/ubuntu/dists/raring/
http://old-releases.ubuntu.com/ubuntu/d ... g-updates/
http://old-releases.ubuntu.com/ubuntu/d ... -security/
http://old-releases.ubuntu.com/ubuntu/d ... -proposed/
http://old-releases.ubuntu.com/ubuntu/d ... backports/

3. 需要把你目前 /etc/apt/sources.list 軟體來源 的套件庫 變更為上面的網址
3-1. 如果你對於
目前 /etc/apt/sources.list 軟體來源 的套件庫 變更為上面的網址
沒有把握
sudo cat /etc/apt/sources.list
把結果複製 貼上來

4. 最好把 第三方來源資料庫
sudo ls -al /etc/apt/sources.list
全部移除

5. 然後
sudo apt-get update
sudo apt-get upgrade
就可以更新
谢谢!
old-releases 可行!
恒河沙数1
帖子: 295
注册时间: 2013-04-27 19:26
系统: ubuntu+win7

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#9

帖子 恒河沙数1 » 2014-08-07 13:46

mark!
nouh
帖子: 8
注册时间: 2008-04-08 12:19

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#10

帖子 nouh » 2014-09-16 16:23

我试了下还是不行,谁能贴下改好后的sources.list文件么
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#11

帖子 poloshiao » 2014-09-16 18:20

谁能贴下改好后的sources.list文件么
sudo cat /etc/apt/sources.list
sudo ls -al /etc/apt/sources.list.d
把結果複製 貼上來
wzzzz
帖子: 4
注册时间: 2014-10-21 9:15
系统: ubuntu13.04

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#12

帖子 wzzzz » 2014-10-21 10:54

poloshiao 写了:
谁能贴下改好后的sources.list文件么
sudo cat /etc/apt/sources.list
sudo ls -al /etc/apt/sources.list.d
把結果複製 貼上來


大神我的系统是ubuntu13.04,用apt没法正常安装软件,update的时候老是出忽略要不就是404notfound,我是用的nexus7安装的ubuntu,arm架构的,诶,但是支持安装的好像就只有13.04这个版本,我也是小白一个,求大神指点迷津,下边是那些东西,我不会换套件库。。。求大神帮忙

wzz@wzz-laptop:~$ sudo cat /etc/apt/sources.list
[sudo] password for wzz:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ports.ubuntu.com/ubuntu-ports/ raring main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-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://ports.ubuntu.com/ubuntu-ports/ raring universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring universe
deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-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://ports.ubuntu.com/ubuntu-ports/ raring multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates multiverse

## 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://ports.ubuntu.com/ubuntu-ports/ raring-backports main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-backports main restricted universe multiverse

deb http://ports.ubuntu.com/ubuntu-ports/ raring-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ raring-security universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ raring-security multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-security multiverse
deb http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main
deb-src http://ppa.launchpad.net/fcitx-team/nightly/ubuntu quantal main
wzz@wzz-laptop:~$ sudo ls -al /etc/apt/sources.list.d
total 16
drwxr-xr-x 2 root root 4096 10月 15 23:51 .
drwxr-xr-x 6 root root 4096 10月 20 09:40 ..
-rw-r--r-- 1 root root 286 10月 17 16:49 fcitx-team-nightly-raring.list
-rw-r--r-- 1 root root 213 10月 17 16:49 fcitx-team-nightly-raring.list.save
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#13

帖子 poloshiao » 2014-10-21 17:56

我的系统是ubuntu13.04,用apt没法正常安装软件,update的时候老是出忽略要不就是404notfound
1. http://ports.ubuntu.com/ubuntu-ports/dists/ 已經移除了 13.04 raring 的目錄 所以出現 404notfound

2. 如果你必須在 13.04 raring 更新
需要把
http://ports.ubuntu.com/ubuntu-ports/
改為
http://old-releases.ubuntu.com/ubuntu/
2-1. 參見
http://talk.radxa.com/topic/313/solved- ... untu-com/5

3. fcitx 套件庫 可能也需移除
先安裝 gksu 套件
gksudo gedit /etc/apt/sources.list.d/fcitx-team-nightly-raring.list
在每一行最前面 加上 #
wzzzz
帖子: 4
注册时间: 2014-10-21 9:15
系统: ubuntu13.04

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#14

帖子 wzzzz » 2014-10-22 11:56

poloshiao 写了:
我的系统是ubuntu13.04,用apt没法正常安装软件,update的时候老是出忽略要不就是404notfound
1. http://ports.ubuntu.com/ubuntu-ports/dists/ 已經移除了 13.04 raring 的目錄 所以出現 404notfound

2. 如果你必須在 13.04 raring 更新
需要把
http://ports.ubuntu.com/ubuntu-ports/
改為
http://old-releases.ubuntu.com/ubuntu/
2-1. 參見
http://talk.radxa.com/topic/313/solved- ... untu-com/5

3. fcitx 套件庫 可能也需移除
先安裝 gksu 套件
gksudo gedit /etc/apt/sources.list.d/fcitx-team-nightly-raring.list
在每一行最前面 加上 #

好的,谢谢你,我先试试!非常感谢
wzzzz
帖子: 4
注册时间: 2014-10-21 9:15
系统: ubuntu13.04

Re: 求助,ubuntu13.04换源出现404 NOT FOUND错误

#15

帖子 wzzzz » 2014-10-22 14:04

poloshiao 写了:
我的系统是ubuntu13.04,用apt没法正常安装软件,update的时候老是出忽略要不就是404notfound
1. http://ports.ubuntu.com/ubuntu-ports/dists/ 已經移除了 13.04 raring 的目錄 所以出現 404notfound

2. 如果你必須在 13.04 raring 更新
需要把
http://ports.ubuntu.com/ubuntu-ports/
改為
http://old-releases.ubuntu.com/ubuntu/
2-1. 參見
http://talk.radxa.com/topic/313/solved- ... untu-com/5

3. fcitx 套件庫 可能也需移除
先安裝 gksu 套件
gksudo gedit /etc/apt/sources.list.d/fcitx-team-nightly-raring.list
在每一行最前面 加上 #

我照你说的换了,大多都命中了但是还是有忽略的,请问有没有影响,

wzz@wzz-laptop:~$ sudo apt-get update
命中 http://old-releases.ubuntu.com raring Release.gpg
命中 http://old-releases.ubuntu.com raring-updates Release.gpg
获取:1 http://old-releases.ubuntu.com raring-backports Release.gpg [933 B]
命中 http://old-releases.ubuntu.com raring-security Release.gpg
命中 http://old-releases.ubuntu.com raring Release
命中 http://old-releases.ubuntu.com raring-updates Release
获取:2 http://old-releases.ubuntu.com raring-backports Release [40.8 kB]
命中 http://old-releases.ubuntu.com raring-security Release
命中 http://old-releases.ubuntu.com raring/main Sources
命中 http://old-releases.ubuntu.com raring/restricted Sources
命中 http://old-releases.ubuntu.com raring/universe Sources
命中 http://old-releases.ubuntu.com raring/multiverse Sources
命中 http://old-releases.ubuntu.com raring/main armhf Packages
命中 http://old-releases.ubuntu.com raring/restricted armhf Packages
命中 http://old-releases.ubuntu.com raring/universe armhf Packages
命中 http://old-releases.ubuntu.com raring/multiverse armhf Packages
命中 http://old-releases.ubuntu.com raring/main Translation-zh_CN
命中 http://old-releases.ubuntu.com raring/main Translation-en
命中 http://old-releases.ubuntu.com raring/multiverse Translation-zh_CN
命中 http://old-releases.ubuntu.com raring/multiverse Translation-en
命中 http://old-releases.ubuntu.com raring/restricted Translation-zh_CN
命中 http://old-releases.ubuntu.com raring/restricted Translation-en
命中 http://old-releases.ubuntu.com raring/universe Translation-zh_CN
命中 http://old-releases.ubuntu.com raring/universe Translation-en
命中 http://old-releases.ubuntu.com raring-updates/main Sources
命中 http://old-releases.ubuntu.com raring-updates/restricted Sources
命中 http://old-releases.ubuntu.com raring-updates/universe Sources
命中 http://old-releases.ubuntu.com raring-updates/multiverse Sources
命中 http://old-releases.ubuntu.com raring-updates/main armhf Packages
命中 http://old-releases.ubuntu.com raring-updates/restricted armhf Packages
命中 http://old-releases.ubuntu.com raring-updates/universe armhf Packages
命中 http://old-releases.ubuntu.com raring-updates/multiverse armhf Packages
命中 http://old-releases.ubuntu.com raring-updates/main Translation-en
命中 http://old-releases.ubuntu.com raring-updates/multiverse Translation-en
命中 http://old-releases.ubuntu.com raring-updates/restricted Translation-en
命中 http://old-releases.ubuntu.com raring-updates/universe Translation-en
获取:3 http://old-releases.ubuntu.com raring-backports/main Sources [902 B]
获取:4 http://old-releases.ubuntu.com raring-backports/restricted Sources [14 B]
获取:5 http://old-releases.ubuntu.com raring-backports/universe Sources [7,145 B]
获取:6 http://old-releases.ubuntu.com raring-backports/multiverse Sources [1,403 B]
获取:7 http://old-releases.ubuntu.com raring-backports/main armhf Packages [558 B]
获取:8 http://old-releases.ubuntu.com raring-backports/restricted armhf Packages [14 B]
获取:9 http://old-releases.ubuntu.com raring-backports/universe armhf Packages [8,118 B]
获取:10 http://old-releases.ubuntu.com raring-backports/multiverse armhf Packages [1,051 B]
获取:11 http://old-releases.ubuntu.com raring-backports/main Translation-en [269 B]
获取:12 http://old-releases.ubuntu.com raring-backports/multiverse Translation-en [1,040 B]
获取:13 http://old-releases.ubuntu.com raring-backports/restricted Translation-en [14 B]
获取:14 http://old-releases.ubuntu.com raring-backports/universe Translation-en [6,390 B]
命中 http://old-releases.ubuntu.com raring-security/main armhf Packages
命中 http://old-releases.ubuntu.com raring-security/restricted armhf Packages
命中 http://old-releases.ubuntu.com raring-security/main Translation-en
命中 http://old-releases.ubuntu.com raring-security/restricted Translation-en
忽略 http://old-releases.ubuntu.com raring/main Translation-zh
忽略 http://old-releases.ubuntu.com raring/multiverse Translation-zh
忽略 http://old-releases.ubuntu.com raring/restricted Translation-zh
忽略 http://old-releases.ubuntu.com raring/universe Translation-zh
忽略 http://old-releases.ubuntu.com raring-updates/main Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-updates/main Translation-zh
忽略 http://old-releases.ubuntu.com raring-updates/multiverse Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-updates/multiverse Translation-zh
忽略 http://old-releases.ubuntu.com raring-updates/restricted Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-updates/restricted Translation-zh
忽略 http://old-releases.ubuntu.com raring-updates/universe Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-updates/universe Translation-zh
忽略 http://old-releases.ubuntu.com raring-backports/main Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-backports/main Translation-zh
忽略 http://old-releases.ubuntu.com raring-backports/multiverse Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-backports/multiverse Translation-zh
忽略 http://old-releases.ubuntu.com raring-backports/restricted Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-backports/restricted Translation-zh
忽略 http://old-releases.ubuntu.com raring-backports/universe Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-backports/universe Translation-zh
忽略 http://old-releases.ubuntu.com raring-security/main Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-security/main Translation-zh
忽略 http://old-releases.ubuntu.com raring-security/restricted Translation-zh_CN
忽略 http://old-releases.ubuntu.com raring-security/restricted Translation-zh
下载 68.7 kB,耗时 2分 15秒 (507 B/s)
正在读取软件包列表... 完成
wzz@wzz-laptop:~$
回复