我正在尝试使用从 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)
我也改normal到lts没有成功。
我还检查了/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.list和sources.list.d. 如果可能,使用ppa-purge. 如果不是,我用 aptitude 清除了相关的软件包,然后删除了 ppa-entries。
ppa 关于以下包的位置:sagemath, google-earth, handbrake, freetuxtvand julia(a math program)。
然而没有成功。
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将其删除。
| 归档时间: |
|
| 查看次数: |
26267 次 |
| 最近记录: |