首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu18.04 apt-获取更新错误

Ubuntu18.04 apt-获取更新错误
EN

Ask Ubuntu用户
提问于 2019-03-17 12:32:06
回答 1查看 19.7K关注 0票数 2

我注意到我的一些包裹已经过时了,而apt声称它们是最新版本的。当我运行apt-get update时,我得到了:

代码语言:javascript
复制
sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://repository.spotify.com stable InRelease                      
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                   
Ign:4 http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu bionic InRelease 
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease           
Hit:6 http://dl.google.com/linux/chrome/deb stable Release                
Ign:7 http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu bionic InRelease
Hit:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease         
Hit:9 https://packages.microsoft.com/repos/vscode stable InRelease        
Hit:10 http://archive.ubuntu.com/ubuntu bionic-security InRelease         
Ign:11 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu bionic InRelease
Hit:12 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease
Hit:13 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Ign:14 http://ppa.launchpad.net/tigerite/kernel/ubuntu bionic InRelease
Err:15 http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Err:16 http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Err:17 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Err:18 http://ppa.launchpad.net/tigerite/kernel/ubuntu bionic Release     
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done                                             
E: The repository 'http://ppa.launchpad.net/b-eltzner/qpdfview/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/tigerite/kernel/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我尝试切换到不同的源,使用--allow-unauthenticated运行,并将[trusted=yes]放在我的sources.list中的一切前面。有什么想法吗?我的sources.list文件是:

代码语言:javascript
复制
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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 bionic main
deb-src http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic restricted

# deb-src http://de.archive.ubuntu.com/ubuntu/ bionic main restricted

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

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-03-17 12:37:47

你为什么不直接打开软件和资源:

消除所有有问题的来源,

然后关闭软件和源(让它重新加载源)

然后再试一次更新。

您不想使用与您的发行版不匹配的源。首先修复更新,然后一个接一个地添加为发行版制作的PPA版本,并检查它们是否在每个发行版上中断更新。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1126377

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档