我在 VPS 上安裝了 debian,當我執行“sudo apt-get update”時,它失敗了,如下所示:
Reading package lists... Done
W: Failed to fetch http://apt.pm2.io/ubuntu/dists/stable/InRelease Could not resolve 'apt.pm2.io'
W: Some index files failed to download. They have been ignored, or old ones used instead.
我的 source.list 檔案:
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
我在某處讀到我需要替換一些來源列表鏈接,但找不到“apt.pm2”?
答案1
sudo rm /etc/apt/sources.list.d/pm2.list
修復了嗎