Ubuntu系统sudo apt-get update报错

Ubuntu系统sudo apt-get update报错

  • 前言
  • 一、报错清单及其对应的解决方法
    • 1. 403 forbidden,Failed to fetch xxxxx package基本无法更新
  • 总结


前言

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


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

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

Ubuntu系统sudo apt-get update报错_第1张图片

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个没有更新.如图所示,不过还是有报错,有些库还是连不上,这个可能跟自己的网速也有关系
Ubuntu系统sudo apt-get update报错_第2张图片

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$ 

总结

你可能感兴趣的:(ubuntu,ubuntu)