netbeans missing dependency

Bug #210440 reported by undriedsea
This bug report is a duplicate of:  Bug #239679: broken dependency. Edit Remove
6
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
New
Undecided
Marek Slama

Bug Description

Binary package hint: netbeans

Description: Ubuntu hardy (development branch)
Release: 8.04

netbeans:
  Installed: 6.0.1-0ubuntu2
  Candidate: 6.0.1-0ubuntu2
  Version table:
 *** 6.0.1-0ubuntu2 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Problem: the 'netbeans' package should require the installation of 'sun-java6-jdk' (recomended) or 'sun-java5-jdk',
but currently does not. It should also recommend the installation of 'build-essential' for Netbeans C/C++ support to function.

undriedsea (voidlogic7)
description: updated
Revision history for this message
markusd112 (markusd112) wrote :

I cannot install netbeans because I get the following error message:

"Es konnten nicht alle Pakete zum Installieren oder Aktualisieren vorgemerkt werden. Die Abhängigkeiten folgender Pakete können nicht aufgelöst werden. Vergewissern Sie sich, dass alle erforderlichen Paketquellen in den Einstellungen hinzugefügt und aktiviert wurden:

netbeans:
Hängt ab: »libnb-apisupport1-java«, aber es wird nicht installiert.
Hängt ab: »libnb-ide8-java«, aber es wird nicht installiert.
Hängt ab: »libnb-java1-java«, aber es wird nicht installiert.

Revision history for this message
Marek Slama (mslama-email) wrote :

Binary package netbeans depends on libnb-java1-java which depends on openjdk-6-jdk | sun-java6-jdk. Current package should work with both JDKs. As I understand if no JDK is installed openjdk-6-jdk will be installed. If openjdk-6-jdk or sun-java6-jdk is installed before netbeans package is installed then no JDK should be installed. sun-java5-jdk is optional. You can install it manually and modify /etc/netbeans.conf or use --jdkhome command line parameter to use JDK 5.

Regarding additional features obtained from NB update center: Current runtime dependency "Depends:" is minimum. If you install additional features from NB UC you must install additional packages manually.

Second report: I am sorry I do not understand German. Please could you translate what is that error message about? Thanks.

Changed in netbeans:
assignee: nobody → mslama-email
Revision history for this message
undriedsea (voidlogic7) wrote :

The problem that caused me to post this bug was that it in fact did not require me to have any jdk, which was a problem. What do you think of: "It should also recommend the installation of 'build-essential' for Netbeans C/C++ support to function."? Also, I am wondering why this package hasn't been upgraded to 6.1 as it has been out for a while and has much better performance (esp. startup). Thanks.

Revision history for this message
Yulia Novozhilova (yulia-novozhilova) wrote :
Revision history for this message
markusd112 (markusd112) wrote :

Sorry for the german error message. Here is the translation:

"Some packages cannot be selected for installation. The dependencies of the following packages cannot been solved. Check if there are all necessary repositories added and activated in the properties dialog.

netbeans:
depends on »libnb-apisupport1-java«, but it will not be installed
depends on »libnb-ide8-java«, but it will not be installed
depends on »libnb-java1-java«, but it will not be installed

Revision history for this message
Marek Slama (mslama-email) wrote :

tzdata-java update is already available. It fixes these broken dependencies.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.