Linux 运行 apt-get install 就出现jdk installer 错误的解决方法

解决办法如下:

sudo rm /var/lib/dpkg/info/oracle-java7-installer* 

sudo apt-get purge oracle-java7-installer* 

sudo rm /etc/apt/sources.list.d/*java* 

sudo apt-get update 

sudo add-apt-repository ppa:webupd8team/java 

sudo apt-get update 

sudo apt-get install oracle-java7-installer

http://askubuntu.com/questions/163429/error-when-installing-oracle-java7-installer

posted @ 2015-04-19 17:40  KoMiles  阅读(479)  评论(0编辑  收藏  举报