sudo apt-get update 結果404 錯誤 [論壇 - Ubuntu基本設定]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



sudo apt-get update 結果404 錯誤
會員一級
註冊日期:
2018/12/12 15:04
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 2
MP : 1 / 7
EXP: 10
離線
略過:31 http://tw.archive.ubuntu.com/ubuntu xenial/restricted Sources
略過:34 http://tw.archive.ubuntu.com/ubuntu xenial/universe Sources
略過:36 http://tw.archive.ubuntu.com/ubuntu xenial/multiverse Sources
略過:38 http://tw.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
略過:40 http://tw.archive.ubuntu.com/ubuntu xenial/main i386 Packages
略過:43 http://tw.archive.ubuntu.com/ubuntu xenial/main all Packages
略過:44 http://tw.archive.ubuntu.com/ubuntu xenial/main Translation-zh_TW
略過:46 http://tw.archive.ubuntu.com/ubuntu xenial/main Translation-zh
略過:49 http://tw.archive.ubuntu.com/ubuntu xenial/main Translation-en
略過:51 http://tw.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
錯誤:79 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main Sources
404 [IP: 211.73.64.9 80]
略過:80 http://tw.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources
略過:81 http://tw.archive.ubuntu.com/ubuntu xenial-updates/universe Sources
略過:82 http://tw.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources
略過:83 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
略過:84 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
略過:85 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main all Packages
略過:86 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main Translation-zh_TW
略過:87 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main Translation-zh
略過:88 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
略過:89 http://tw.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
錯誤:107 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main Sources
404 [IP: 211.73.64.9 80]
略過:108 http://tw.archive.ubuntu.com/ubuntu xenial-backports/restricted Sources
略過:109 http://tw.archive.ubuntu.com/ubuntu xenial-backports/universe Sources
略過:110 http://tw.archive.ubuntu.com/ubuntu xenial-backports/multiverse Sources
略過:111 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
略過:112 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
略過:113 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
略過:114 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main Translation-zh_TW
略過:115 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main Translation-zh
略過:116 http://tw.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
略過:117 http://tw.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
正在讀取套件清單... 完成
W: The repository 'http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://tw.archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://tw.archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://tw.archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: 無法取得 http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu/dists/xenial/main/binary-amd64/Packages,404
E: 無法取得 http://security.ubuntu.com/ubuntu/dists/xenial-security/main/source/Sources,404 [IP: 91.189.88.161 80]
E: 無法取得 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04/Packages,404 [IP: 195.135.221.134 80]
E: 無法取得 http://tw.archive.ubuntu.com/ubuntu/dists/xenial/main/source/Sources,404 [IP: 211.73.64.9 80]
E: 無法取得 http://tw.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/source/Sources,404 [IP: 211.73.64.9 80]
E: 無法取得 http://tw.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/source/Sources,404 [IP: 211.73.64.9 80]
E: 某些索引檔未能下載。其已遭略過,或改為使用舊的。



lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial



sources.list:

# deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

#deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://tw.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial main restricted


## Major bug fix updates produced after the final release of the
## distribution.
deb http://tw.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial-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://tw.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenia...y review
## or updates from the Ubuntu security team.
deb http://tw.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
~

2018/12/12 15:19
應用擴展 工具箱
回覆: sudo apt-get update 結果404 錯誤
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 201 / 1009
MP : 898 / 29678
EXP: 37
離線
系統設定值>軟體來源>Ubuntu軟體>下載自>其他

2018/12/12 20:53
應用擴展 工具箱
回覆: sudo apt-get update 結果404 錯誤
會員一級
註冊日期:
2018/12/12 15:04
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 2
MP : 1 / 7
EXP: 10
離線
Hi Xenomorph!
可是我只能有用ssh連進去這個ubuntu....沒辦法有ui.

不過我研究一下, 是否要sources.list?
我改了很多不一樣的source (用https://repogen.simplylinux.ch/), 都還是404...

2018/12/14 8:36
應用擴展 工具箱
回覆: sudo apt-get update 結果404 錯誤
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 201 / 1009
MP : 898 / 29678
EXP: 37
離線
先備份:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak


然後編輯,去掉「tw.」:

sudo nano /etc/apt/sources.list


再更新清單:

sudo apt update

2018/12/14 15:16
應用擴展 工具箱
回覆: sudo apt-get update 結果404 錯誤
會員一級
註冊日期:
2018/12/12 15:04
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 2
MP : 1 / 7
EXP: 10
離線
謝謝!!! 我找到問題, 我之前有在iptables 加一些rules 影響到 80 port. 把那些rules 關掉就ok.

2018/12/17 17:36
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.