Lnton羚通算法算力云平台当在NanoPi R6C上更换源时遇到错误该怎么解决

你在NanoPi R6C上更换源时遇到错误,可能是由于以下原因导致的:

  1. 源地址错误:请确保你使用的是有效的源地址。建议使用官方镜像源或者稳定可靠的镜像源。可以尝试更换不同的源地址再次尝试。

  2. 网络连接问题:请确保NanoPi R6C设备已经正确连接到互联网,并且网络连接是正常的。你可以尝试通过其他方式验证设备的网络连接是否正常。

  3. 设备权限问题:在更换源时,需要使用管理员权限(root权限)运行相应的命令。你可以尝试使用sudo命令来执行更换源的操作。

NanoPi R6C 更换源报错 

Ubuntu 22.04 LTS 阿里源更换后报错。 

E: Failed to fetch  http://mirrors.aliyun.com/ubuntu-ports/dists/jammy/main/binary-arm64/Packages  404  Not Found [IP: 124.72.132.77 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu-ports/dists/jammy-security/main/binary-arm64/Packages  404  Not Found [IP: 124.72.132.77 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu-ports/dists/jammy-updates/main/binary-arm64/Packages  404  Not Found [IP: 124.72.132.77 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu-ports/dists/jammy-proposed/main/binary-arm64/Packages  404  Not Found [IP: 124.72.132.77 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu-ports/dists/jammy-backports/main/binary-arm64/Packages  404  Not Found [IP: 124.72.132.77 80]

解决方案

sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
sudo gedit /etc/apt/sources.list

 NOTE: 在ubuntu后面加上-ports

deb http://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse

Lnton羚通是专注于音视频算法、算力、云平台的高科技人工智能企业。 公司基于视频分析技术、视频智能传输技术、远程监测技术以及智能语音融合技术等, 拥有多款可支持ONVIF、RTSP、GB/T28181等多协议、多路数的音视频智能分析服务器/云平台。

Lnton羚通算法算力云平台当在NanoPi R6C上更换源时遇到错误该怎么解决_第1张图片

 

你可能感兴趣的:(算法,算法,推荐算法,计算机视觉,深度学习)