从13.10升级到14.04:“未找到新版本”

我试图从lubuntu 13.10升级到14.04使用

apt-get update apt-get dist-upgrade do-release-upgrade 

但是,最后一个命令返回No new release found

我也尝试了do-release-upgrade -d ,结果相同。

/etc/apt/sources.list看起来像:

 # deb cdrom:[Lubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main multiverse restricted universe # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://de.archive.ubuntu.com/ubuntu/ saucy main restricted deb-src http://de.archive.ubuntu.com/ubuntu/ saucy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates main restricted deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates main restricted ## NB 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://de.archive.ubuntu.com/ubuntu/ saucy universe deb-src http://de.archive.ubuntu.com/ubuntu/ saucy universe deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates universe deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates universe ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://de.archive.ubuntu.com/ubuntu/ saucy multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ saucy multiverse deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates multiverse ## NB software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://de.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu saucy-security main restricted deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted deb http://security.ubuntu.com/ubuntu saucy-security universe deb-src http://security.ubuntu.com/ubuntu saucy-security universe deb http://security.ubuntu.com/ubuntu saucy-security multiverse deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu saucy partner # deb-src http://archive.canonical.com/ubuntu saucy partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu saucy main deb-src http://extras.ubuntu.com/ubuntu saucy main deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu raring main deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu raring main deb http://dl.google.com/linux/earth/deb/ stable main # deb-src http://archive.canonical.com/ubuntu saucy partner 

请注意,我刚刚使用相同的服务器升级了lubuntu而没有任何问题。

/etc/update-manager/meta-releases文件内容

 # default location for the meta-release file [METARELEASE] URI = http://changelogs.ubuntu.com/meta-release URI_LTS = http://changelogs.ubuntu.com/meta-release-lts URI_UNSTABLE_POSTFIX = -development URI_PROPOSED_POSTFIX = -proposed 

/etc/update-manager/release-upgrades看起来像:

 # some comments... Prompt=normal 

我也没有成功改变normal

我还检查了目录/var/lib/ubuntu-release-upgrader/是否为空。

/etc/apt/apt.conf.d/也没有proxy文件,因此似乎没有使用代理。

/etc/hosts文件如下所示:

 127.0.0.1 localhost 127.0.1.1 mybox # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 

所以我尝试了分发升级问题“找不到新版本”的每个解决方案都没有成功。

知道这里可能有什么问题吗?

编辑

使用图形界面update-manager我收到错误消息:“无法下载存储库信息”

也许这会给你一个如何解决问题的提示。

EDIT2

我现在从de服务器更改为主服务器,并从sources.listsources.list.d删除了所有ppas。 如果可能的话使用ppa-purge 。 如果没有,我用aptitude清除了相关的包,然后删除了ppa-entries。

关于以下包裹的ppa: sagemathgoogle-earthfreetuxtvfreetuxtvjulia (数学程序)。

但没有成功。

对我来说,原因是我已经禁用了自动检查升级 ,因为check-new-release过程会大大减慢我的计算机速度。

/etc/update-manager/release-upgrades更改回Prompt=normal立即修复问题。

它终于奏效了。 问题是我确实以root身份do-release-upgrade ,这没有用。 像普通用户一样调用此命令。 Hower我不明白为什么它不是root。

试试这个!!!

剪切并粘贴以下整套命令:

 sudo apt-get clean ; cd /var/lib/apt ; sudo mv lists lists.old_`date '+%Y%m%d_%H%M%S'` ; sudo mkdir -p lists/partial ; sudo apt-get clean ; sudo apt-get update 

分号标定每个命令,以便将它们粘贴在一起。 之后这样做:

 sudo apt-get clean sudo do apt-get update sudo apt-get dist-upgrade sudo do-release-upgrade 

如果失败,那么执行以下操作:

 sudo sed -i 's/saucy/trusty/g' /etc/apt/sources.list sudo apt-get update sudo apt-get upgrade 

注意:删除所有第三方PPA,除非他们有14.04版本可用。 如果你有Gnome PPA用PPA-Purge将其移除。

您需要选中此选项:

在此处输入图像描述

然后再次启动do-release-upgrade

从终端或unity启动器运行命令:gksu update-manager -d。 如果您尝试运行sudo update-manager -d,它并不总是提供14.04可用选项。 但是使用gksu,会出现此选项。

否则,请创建可启动的USB驱动器。 使用相同的引导和安装时,选择升级或其他。 在其他方面,为/,swap的挂载点提供相同的驱动器。 取消选择格式选项。 不要选择格式。 这将保留您的所有文件和以前的设置并进行升级。

谢谢。

我最近也被“发现没有发布新版本”所困扰,结果certificate这是一个连接问题。 基于此Snort / Suricata规则,我们的防火墙阻止了该请求:

 ET POLICY Python-urllib/ Suspicious User Agent 

我知道这不是你的问题,但希望它有助于另一个人。