在Ubuntu 16.04中更新我的软件包列表时,如何解决该错误?

尼基尔

尝试更新Ubuntu 16.04时出现此错误我已经尝试过很少的解决方案,但到目前为止没有任何效果。

错误:

W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: GPG error: http://extras.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: The repository 'http://extras.ubuntu.com/ubuntu precise Release' is not signed.
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: http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: The repository 'http://ppa.launchpad.net/upubuntu-com/network/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.
E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/network/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

从软件和更新部分中取消选中了一些不需要的软件包/存储库后,我设法摆脱了一些错误,但仍然仍然存在少量错误:

 The repository 'http://ppa.launchpad.net/upubuntu-com/network/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: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
 E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/network/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
 E: Some index files failed to download. They have been ignored, or old ones used instead.

应用以下提供的解决方案(由Raphael提供)后,大多数错误得以解决。除了这些错误:

 W: The repository 'http://ppa.launchpad.net/upubuntu-com/network/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.
 E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/network/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
 E: Some index files failed to download. They have been ignored, or old ones used instead.
拉斐尔

您正在使用,Xenialsources.list包含的链接Precise要纠正这一点,

  • 备份您的当前sources.list

    sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
    
  • 创建一个新的source.list

    sudo nano /etc/apt/sources.list
    
  • 将以下内容复制并粘贴到其中:

    deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
    deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 
    deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
    deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
    deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
    deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 
    deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
    
  • 然后,在键盘上按以下命令:

    Ctrl+X然后Y最后Enter

  • 最后,尝试更新您的资源:

    sudo apt-get update
    

编辑:-ppa错误是它所说的。ppa不具有释放文件Xenial要删除ppas,请在AskUbuntu上遵循此答案

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在Ubuntu中使用APT安装软件包时如何解决错误

来自分类Dev

Ubuntu 16中缺少软件Ubuntu Center

来自分类Dev

我无法在 ubuntu 中更新我的软件包列表

来自分类Dev

如何给Ubuntu 16更多空间

来自分类Dev

Ubuntu 16中的黑色边框

来自分类Dev

以下软件包具有未满足的依赖性:无法安装任何软件。Ubuntu的16:04

来自分类Dev

在 Ubuntu 16-04 上安装 opencv

来自分类Dev

在Ubuntu 16上更新Qt版本

来自分类Dev

Ubuntu 16 Sudo SU错误密码尝试

来自分类Dev

我应该尝试Ubuntu 16:10吗?

来自分类Dev

如何在Ubuntu 16上设置Mongodb?

来自分类Dev

Gulp映像在Ubuntu 16中失败

来自分类Dev

无法在 Ubuntu 16 中编辑 PATH

来自分类Dev

在 ubuntu 16 中替换 upstart 的状态命令

来自分类Dev

在 Ubuntu 16 中安装 libfmt-dev

来自分类Dev

在Ubuntu 16上安装CUDA 8:无法找到cuda软件包

来自分类Dev

ubuntu 16服务器上Microsoft软件包的哈希总和不匹配

来自分类Dev

在Ubuntu 16上安装CUDA 8:无法找到cuda软件包

来自分类Dev

软件包系统损坏时如何更新Ubuntu?

来自分类Dev

ubuntu软件中心如何解决软件包依赖性问题?

来自分类Dev

在 ubuntu 16 上运行 composer 时出现权限被拒绝错误

来自分类Dev

Ubuntu 16,04 GUI 仅在切换到 tty 或从 tty 切换时更新

来自分类Dev

在Ubuntu 16上分区

来自分类Dev

如何解决Ubuntu和GIMP之间的软件包冲突?

来自分类Dev

升级到Ubuntu 18.04失败后如何解决软件包依赖性?

来自分类Dev

Skype for Linux Alpha导致Ubuntu 16软件中心崩溃

来自分类Dev

Ubuntu-16-04:如何从 wifi 托盘中移除 wifi 适配器

来自分类Dev

Ubuntu 16上php7的Apache2错误

来自分类Dev

Avagadro 1.2 ubuntu 16 安装错误。制作

Related 相关文章

热门标签

归档