任何时候我尝试使用 apt-get install(我已登录到 root 帐户)它都无法正常工作,这就是它出现的结果(这是在尝试使用它来安装 java jdk 之后)
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-7-jre is already the newest version.
openjdk-7-jre set to manually installed.
The following packages were automatically installed and are no longer required:
libnfc-dev libnfc5 libpcsc-perl libsensors4-dev libsnmp-dev libsnmp-perl
libsnmp-session-perl libssl-dev libwrap0-dev linux-image-3.16.0-41-generic
linux-image-extra-3.16.0-41-generic linux-signed-image-3.16.0-41-generic
pcsc-tools python-imaging-tk python-pyscard zlib1g-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
答案1
您不需要jdk
安装jre
。
sudo apt-get update
sudo apt-get -f install openjdk-7-jdk