Ubuntu系统sudo apt-get update报错


前言

本博客罗列汇总ubuntu在更新时(执行sudo apt-get update和sudo apt-get upgrade过程中)所遇到的问题,持续更新


一、报错清单及其对应的解决方法

1. 403 forbidden,Failed to fetch xxxxx package基本无法更新

在这里插入图片描述

Err:46 http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial/main amd64 Packages
  403  Forbidden [IP: 91.189.95.85 80]
Ign:47 http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial/main i386 Packages
Ign:48 http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu xenial/main Translation-en
Fetched 836 B in 1min 21s (10 B/s)
Reading package lists... Done
W: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo 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: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  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: The repository 'http://ppa.launchpad.net/floe/libusb/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://ppa.launchpad.net/hanipouspilot/rtlwifi/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://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/xenial/main/binary-amd64/Packages  403  Forbidden
E: Failed to fetch http://ppa.launchpad.net/floe/libusb/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found [IP: 91.189.95.85 80]
E: Failed to fetch http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu/dists/xenial/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.95.85 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
neousys@neousys-Nuvo-5000:~/Desktop/IRIM_EVENTUAL/libfreenect2/build$ 

解决方法:
方法1: stackoverflow的方法,看起来是在更新source list
用这个方法以后,大部分软件包都更新了,大约更新了80个,还有8个没有更新.如图所示,不过还是有报错,有些库还是连不上,这个可能跟自己的网速也有关系
在这里插入图片描述

80 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Get:78 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [206 kB]
Get:79 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [7,864 B]
Get:80 http://archive.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [8,084 B]
Get:81 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2,672 B]
Get:82 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:83 http://archive.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [2,638 B]
Fetched 49.3 MB in 2min 35s (317 kB/s)                                         
Reading package lists... Done
W: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo 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://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/xenial/main/binary-amd64/Packages  403  Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
neousys@neousys-Nuvo-5000:/etc/apt$ 

总结

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值