我在安装 keystone 时遇到了这个问题。
内容/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main
deb [arch=ppc64el,arm64,amd64]
http://mirror.hosting90.cz/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=ppc64el,arm64,amd64] http://mirror.hosting90.cz/mariadb/repo/10.3/ubuntu bionic main
内容/etc/apt/sources.list.d/cloudarchive-rocky.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
内容/etc/apt/sources.list.d/cloudarchive-rocky.list.save
deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
答案1
好的,感谢 user535733 的建议!解决方案是注释掉/etc/apt/sources.list.d/cloudarchive-rocky.list
# deb http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main
# deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky main