Ubuntu 18.04 apt install keystone 因依赖性错误而失败“这可能意味着你请求了一个不可能的情况

Ubuntu 18.04 apt install keystone 因依赖性错误而失败“这可能意味着你请求了一个不可能的情况

我在安装 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

相关内容