sudo apt-get install xdman
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xdman is already the newest version.
The following packages were automatically installed and are no longer required:
thunderbird-globalmenu gir1.2-ubuntuoneui-3.0 libavahi-ui-gtk3-0
guile-1.8-libs libgdu-gtk0 libubuntuoneui-3.0-1 librhythmbox-core5
libmusicbrainz3-6
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up oracle-java8-installer (8b108~precise~NoobsLab.com) ...
Downloading Oracle Java 8...
--2014-01-03 00:20:47-- http://www.java.net/download/jdk8/archive/b108/binaries/jdk-8-ea-bin-b108-linux-i586-19_sep_2013.tar.gz
Resolving www.java.net (www.java.net)... failed: Name or service not known.
wget: unable to resolve host address `www.java.net'
download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of xdman:
xdman depends on oracle-java8-installer | oracle-java7-installer | oracle-java6-installer; however:
Package oracle-java8-installer is not configured yet.
Package oracle-java7-installer is not installed.
Package oracle-java6-installer is not installed.
dpkg: error processing xdman (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
oracle-java8-installer
xdman
E: Sub-process /usr/bin/dpkg returned an error code (1)
安装 xdman 时出现此错误。请帮我解决这个问题。
答案1
我们可能无法修复这个问题:http://www.java.net不存在。它可能已关闭或不再存在,但 xdman 的维护者可能没有更改代码或提交代码更改以将其包含在内。
可以从源代码安装 xdman,如下所示
cd ~/
mkdir xdman
cd xdman
wget -c http://sourceforge.net/projects/xdman/files/xdman.zip/download
unzip download.zip
chmod +x xdman.sh
./xdman.sh
这将安装 xdman,但不会安装 Java。您需要单独执行此操作。Java 7:
sudo apt-get install oracle-java7-installer