Netbeans won't install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netbeans (Ubuntu) |
Confirmed
|
Undecided
|
Marek Slama | ||
tzdata (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I did this:
sudo apt-get remove sun-java*
sudo apt-get remove openjdk*
sudo apt-get autoremove
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk
sudo update-
Which resulted also in the removal of Netbeans. I tried installing it but got errors similar to the following:
yman@hardy:~$ 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.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
netbeans: Depends: libnb-apisuppor
E: Broken packages
So then I did this:
sudo apt-get remove sun-java6-jre sun-java6-plugin sun-java6-jdk
sudo apt-get autoremove
and got this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
unixodbc odbcinst1debian1
The following packages will be REMOVED:
odbcinst1debian1 unixodbc
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1090kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 176718 files and directories currently installed.)
Removing unixodbc ...
Removing odbcinst1debian1 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
then I did this:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk
--Little mixup: I cancelled the above operation, so in effect I did not perform it. It is only by accident that I specified that inmformation.
sudo apt-get install netbeans
And got the above error message. I'm rather certain from all of this that I broke it, but I'm not absolutely sure. I only got into this mess because of trying to make Java applets work inside Firefox3, as described here:
http://
description: | updated |
description: | updated |
Changed in netbeans: | |
status: | New → Confirmed |
I will try to test/reproduce this. netbeans depends on libnb-java1-java which depends on openjdk-6-jdk | sun-java6-jdk and netbeans depends on libnb-platform7 -java which depends on openjdk-6-jre | sun-java6-jre. If I understand this correctly presence of sun-java6-jdk and sun-java6-jre should be sufficient to install netbeans package.