我正在运行 Ubuntu 13.04,并想升级到 14.04。
输入以下命令给我的输出表明它无法完成。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found
Run Code Online (Sandbox Code Playgroud)
如何才能做到这一点?
(我也有 14.04 的 ISO 文件,如果这有区别的话)
更新:
根据下面的建议,我尝试了这个,但无济于事?
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
No new release found
Run Code Online (Sandbox Code Playgroud)
更新:
进一步调查显示更新也不起作用。
$ sudo apt-get update
# truncated
E: Some index files failed to download. They have been ignored, or old ones …Run Code Online (Sandbox Code Playgroud) 安装时如何解决依赖问题libssl-dev?
问题:
$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1c-4ubuntu8) …Run Code Online (Sandbox Code Playgroud) 当我运行时sudo apt-get (anything),我总是收到此错误:
dpkg: unrecoverable fatal error, aborting:
files list file for package 'thunderbird-gnome-support' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Run Code Online (Sandbox Code Playgroud)
经过一番谷歌搜索,我了解到这是因为/var/lib/dpkg/info/thunderbird-gnome-support.list已损坏。我cat是那个文件,它肯定是损坏的——它应该是一个包含绝对文件路径列表的纯文本文件,而是一个二进制文件。
现在我检查同一目录中的其他文件,似乎其中许多文件都以相同的方式损坏。这表明我的文件系统出现了严重错误,导致许多文件损坏。不幸的是,它碰巧影响了系统文件。
我该如何从中恢复?
更多细节:
就在此之前,当 Ubuntu 提示我时,我安装了例行更新。它是一个新的 Linux 内核和一些系统文件头。
重新启动后,这些是我的规格:
操作系统规格:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
$ uname -a
Linux brendang-linux 3.11.0-24-generic #41-Ubuntu SMP Mon Jun 9 20:36:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
第一次重新启动后,整个文件系统似乎以只读方式挂载(以前不是这种情况)。随后,在系统工作之前,我不得不重新启动几次。我已经 …