以下代码段是我用来安装kubuntu-desktop
的ubuntu-16.04 LTS
sudo apt-get install kubuntu-desktop
Run Code Online (Sandbox Code Playgroud)
收到错误信息,
kubuntu-desktop is already the newest version (1.338).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
当我尝试使用安装时出现错误消息
apt-get install -f
Run Code Online (Sandbox Code Playgroud)
我收到以下错误消息,
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... …
Run Code Online (Sandbox Code Playgroud) 我使用以下代码安装 openjdk 7 并添加存储库,
sudo apt-get install openjdk-7-jdk
sudo apt-add-repository ppa:webupd8team/java
Run Code Online (Sandbox Code Playgroud)
然后我sudo apt-get update
使用以下命令更新了软件包,此后当我尝试使用以下命令安装 Java 时,
sudo apt-get install oracle-java8-installer
我收到错误,错误代码响应是,
2016-04-20 13:00:45 (442 MB/s) - ‘jdk-8u77-linux-i586.tar.gz’ saved [5165]
Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-8u77-linux-i586.tar.gz
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
如何调试和解决这个问题,我是 Ubuntu 的新手。谢谢。