发布升级后 APT 无法更新

发布升级后 APT 无法更新

Ubuntu 16.04LTS -> 18.04LTS 升级失败

是的,这是一个漫长的安装过程。但它终于得到了版本升级。从那时起,我一直无法通过 apt 安装任何东西,我一直在寻找 dosemu,但没有目标,而且更新会发出有关 InRelease 不包含 bionic 的错误。

W: 跳过获取配置文件“bionic/cnf/Commands-amd64”,因为存储库“http://archive.ubuntu.com/ubuntu focal InRelease”没有组件“

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#


###### Ubuntu Main Repos
deb http://au.archive.ubuntu.com/ubuntu/ focal bionic main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ focal bionic main restricted universe

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu focal bionic partner
deb-src http://archive.canonical.com/ubuntu focal bionic partner
deb http://archive.ubuntu.com/ubuntu focal bionic main # auto generated by ubuntu-release-upgrader

deb http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe

deb http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe

deb http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe

google-fu 给出了各种奇怪的答案,但我找不到任何可以解决这个问题的方法。

问候,A

答案1

您必须手动编辑/etc/apt/sources.list并且可能使下面的某些文件/etc/apt/sources.list.d/不包含单词focalfocal-*,而是包含相应的bionicbionic-*。 (每行只能有一个。)

相关内容