分页: 1 / 1

ubuntu17.04总是出现404,安装deb包出现问题,更新源也出现问题

发表于 : 2018-01-20 17:29
September_jm
sudo apt-get update
忽略:1 http://dl.google.com/linux/chrome/deb stable InRelease
命中:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:3 http://repo.steampowered.com/steam precise InRelease
命中:4 http://dl.google.com/linux/chrome/deb stable Release
忽略:6 http://security.ubuntu.com/ubuntu zesty-security InRelease
忽略:7 http://cn.archive.ubuntu.com/ubuntu zesty InRelease
命中:8 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu zesty InRelease
忽略:9 http://cn.archive.ubuntu.com/ubuntu zesty-updates InRelease
错误:10 http://security.ubuntu.com/ubuntu zesty-security Release
404 Not Found [IP: 91.189.91.26 80]
忽略:11 http://cn.archive.ubuntu.com/ubuntu zesty-backports InRelease
命中:12 https://download.sublimetext.com apt/stable/ InRelease
错误:13 http://cn.archive.ubuntu.com/ubuntu zesty Release
404 Not Found [IP: 91.189.91.26 80]
错误:14 http://cn.archive.ubuntu.com/ubuntu zesty-updates Release
404 Not Found [IP: 91.189.91.26 80]
命中:15 https://dl.winehq.org/wine-builds/ubuntu zesty InRelease
错误:16 http://cn.archive.ubuntu.com/ubuntu zesty-backports Release
404 Not Found [IP: 91.189.91.26 80]
正在读取软件包列表... 完成
E: 仓库 “http://security.ubuntu.com/ubuntu zesty-security Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://cn.archive.ubuntu.com/ubuntu zesty Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://cn.archive.ubuntu.com/ubuntu zesty-updates Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://cn.archive.ubuntu.com/ubuntu zesty-backports Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

Re: ubuntu17.04总是出现404,安装deb包出现问题,更新源也出现问题

发表于 : 2018-01-20 18:48
poloshiao
1. 你的軟件來源檔案 /etc/apt/source.list 及 /etc/apt/source.list.d/*.list
混雜了太多 Ubuntu 發行版本 會混亂系統穩定

2. 把下面指令 複製 貼進終端機 執行
2-1. sudo cat /etc/apt/sources.list
2-2. sudo cat /etc/apt/sources.list.d/*.list
把結果全部直接 選取/複製/貼上來
不要摘錄 以免遺漏重要訊息
不要擷圖 方便回文直接引用你貼上來的資料 方便你閱讀

Re: ubuntu17.04总是出现404,安装deb包出现问题,更新源也出现问题

发表于 : 2018-01-20 20:05
September_jm
poloshiao 写了:1. 你的軟件來源檔案 /etc/apt/source.list 及 /etc/apt/source.list.d/*.list
混雜了太多 Ubuntu 發行版本 會混亂系統穩定

2. 把下面指令 複製 貼進終端機 執行
2-1. sudo cat /etc/apt/sources.list
2-2. sudo cat /etc/apt/sources.list.d/*.list
把結果全部直接 選取/複製/貼上來
不要摘錄 以免遺漏重要訊息
不要擷圖 方便回文直接引用你貼上來的資料 方便你閱讀
2-1
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ xenial main restricted

# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted

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

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

deb http://security.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://security.ubuntu.com/ubuntu zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://security.ubuntu.com/ubuntu zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ zesty main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ zesty main

2-2
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu zesty main
# deb-src http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu zesty main
# deb-src http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu zesty main
# deb-src http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu zesty main
deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main
deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
deb https://download.sublimetext.com/ apt/stable/

Re: ubuntu17.04总是出现404,安装deb包出现问题,更新源也出现问题

发表于 : 2018-01-21 0:38
September_jm
结题
我已经解决,
sudo vim /etc/apt/sources.list
sudo apt update
sudo apt upgrade