martin@martin:~$ sudo apt-get install netbeans
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
netbeans : Depends: libnb-apisupport3-java (= 8.1+dfsg3-1) but it is not going to be installed
Depends: libnb-ide14-java (= 8.1+dfsg3-1) but it is not going to be installed
Depends: libnb-java5-java (= 8.1+dfsg3-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Ao executar o sudo apt-get install netbeans
, recebo um erro quando tento executar
martin@martin:~$ sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-installer is already the newest version (8u131-1~webupd8~2).
The following packages were automatically installed and are no longer required:
libavcodec57 libavfilter6 libavformat57 libavresample3 libavutil55 libchromaprint0 libllvm3.8 libpostproc54 librubberband2v5 libswresample2
libswscale4 libtidy5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Como corrigir esse erro ao instalar o netbeans no ubuntu