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

stu*_*ent 21 upgrade

我正在尝试使用从 lubuntu 13.10 升级到 14.04

apt-get update
apt-get dist-upgrade  
do-release-upgrade
Run Code Online (Sandbox Code Playgroud)

但是最后一个命令返回 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

## 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://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

## N.B. 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

## N.B. 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
Run Code Online (Sandbox Code Playgroud)

请注意,我刚刚使用相同的服务器升级了另一个 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
Run Code Online (Sandbox Code Playgroud)

/etc/update-manager/release-upgrades 好像:

# some comments...

Prompt=normal
Run Code Online (Sandbox Code Playgroud)

我也改normallts没有成功。

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

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

该文件/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
Run Code Online (Sandbox Code Playgroud)

因此,我尝试了分发升级问题“找到新版本”中的所有解决方案,但都没有成功。

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

编辑

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

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

编辑2

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

ppa 关于以下包的位置:sagemath, google-earth, handbrake, freetuxtvand julia(a math program)。

然而没有成功。

Can*_*uth 20

对我来说,原因是我禁用了自动检查升级,因为这个check-new-release过程一直在显着降低我的计算机的速度。

改回Prompt=normalin/etc/update-manager/release-upgrades立即解决了问题。

  • 这对我有用。它之前被设置为“lts”,通过将其设置为“正常”,它找到了值得信赖的升级。 (2认同)
  • 谢谢,这也为我解决了这个问题 - 大概 LTS 版本只寻找新的 LTS 版本,所以你不能在没有这个更改的情况下升级到最新版本。 (2认同)

stu*_*ent 9

它终于奏效了。问题是我do-release-upgrade以 root 身份执行,这不起作用。以普通用户的身份调用此命令。但是我不明白为什么它不是 root。


Mat*_*bes 8

尝试这个!!!

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

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
Run Code Online (Sandbox Code Playgroud)

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

sudo apt-get clean
sudo do apt-get update
sudo apt-get dist-upgrade  
sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)

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

sudo sed -i 's/saucy/trusty/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade 
Run Code Online (Sandbox Code Playgroud)

注意:删除所有第三方 PPA,除非它们有 14.04 版本可用。如果您有Gnome PPA,请使用PPA-Purge将其删除。

  • 谢谢。用“trusty”替换“saucy”之前的所有步骤都失败了。但我不确定我是否真的应该尝试你的最后一步。这是否会导致安全升级?执行 `apt-get dist-upgrade` 应该会升级许多软件包,因为源现在是 `trusty` 来源。我还注释掉了所有 ppa 但没有使用 ppa-purge,但我想这应该没有任何区别...... (2认同)

ipe*_*cks 5

您需要选中此选项:

在此处输入图片说明

然后do-release-upgrade再次启动