apt-get更换源后更新失败 404 Not Found

修改 /etc/apt/source.list,在链接最后加上-ports

sudo gedit /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb http://wiki.t-firefly.com/firefly-rk3588-repo focal main
deb http://wiki.t-firefly.com/firefly-ubuntu-repo focal main
deb http://mirrors.aliyun.com/ubuntu-ports focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports focal main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports focal-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports focal-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports focal-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports focal-backports main restricted universe multiverse

sudo apt update
sudo apt upgrade

你可能感兴趣的:(ROS,ros)