Ubuntu 14.04(在 linode 上)没有执行“do-release-upgrade”

Ubuntu 14.04(在 linode 上)没有执行“do-release-upgrade”

我收到此错误并且不知道如何解决这个问题:

更新软件包信息后,无法找到必需的软件包“ubuntu-minimal”。这可能是因为您的软件源中没有列出官方镜像,或者您使用的镜像负载过大。请参阅 /etc/apt/sources.list 以获取当前配置的软件源列表。如果镜像过载,您可能需要稍后重试升级。

有人可以建议我应该做什么吗?

答案1

/etc/apt/sources.list在以下帮助下重建了我的https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories。我的 sources.list 包含一些自定义的和 Linode 镜像。我刚刚用以下输出替换了我的 sources.listhttps://repogen.simplylinux.ch。我再次运行升级,并且成功了。

来自我的 sources.list 的示例失败

## Major bug fix updates produced after the final release of the
## distribution. deb http://mirrors.linode.com/ubuntu/ xenial-updates main restricted
# deb-src http://mirrors.linode.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team. deb       
http://mirrors.linode.com/ubuntu/ xenial universe
# deb-src http://mirrors.linode.com/ubuntu/ xenial universe deb   
http://mirrors.linode.com/ubuntu/ xenial-updates universe
# deb-src http://mirrors.linode.com/ubuntu/ xenial-updates universe


输出自https://repogen.simplylinux.ch有效

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

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse

相关内容