1

I am working for Ionic, I get install all require dependencies, now I need to upgrade Java version by using:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

I also go through this link to install Java- https://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

when I run last command, I get error like- $ sudo apt-get install oracle-java8-installer

The following packages have unmet dependencies:
 cordova-cli : Depends: nodejs-legacy but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I also try with:

$ sudo apt-get -f install

but won't work for me. Need help !!

Community
  • 1
  • 1
S.Yadav
  • 4,273
  • 3
  • 37
  • 44

0 Answers0