无法在 Ubuntu 14.10 上安装 Octave

无法在 Ubuntu 14.10 上安装 Octave

我尝试octave安装ubuntu 14.10

$ sudo apt-get install octave
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:
 octave : Depends: default-jre-headless but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

因此,我进入了“兔子洞”,尝试安装default-jre-headless等,直到出现tzdata-java以下错误:

The following packages have unmet dependencies:
 tzdata-java : Depends: tzdata (= 2014i-0ubuntu0.14.10) but 2015a-0ubuntu0.14.10 is to be installed
E: Unable to correct problems, you have held broken packages.

根据Ubuntu 更新这不再是发行版的一部分。octave那么我该如何安装?

编辑:

一些附加信息:

$ sudo apt-cache policy tzdata-java

tzdata-java:
Installed: (none)
 Candidate: 2014i-0ubuntu0.14.10
 Version table:
    2014i-0ubuntu0.14.10 0
       500 http://mirror.math.ucdavis.edu/ubuntu/ utopic-updates/main amd64 Packages
       500 http://mirror.math.ucdavis.edu/ubuntu/ utopic-security/main amd64 Packages
    2014h-2 0
       500 http://mirror.math.ucdavis.edu/ubuntu/ utopic/main amd64 Packages

根据发射台但是应该有一个 never 版本。那么我该如何更新定义(如果这是问题所在)?我已经更新了sudo apt-get upgrade/update/dist-upgrade

答案1

我认为问题出在 tzdata-java 的旧版本上

安装 never 版本sudo apt-get install tzdata-java=2015b-0ubuntu0.14.10确实起了作用。

相关内容