Public bug reported:
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-java-alternatives -s java-6-sun
Which resulted also in the removal of Netbeans. I tried installing it
but got errors similar to the following:
[EMAIL PROTECTED]:~$ 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-apisupport1-java (>= 6.0.1) but it is not going to
be installed
Depends: libnb-ide8-java (>= 6.0.1) but it is not going to be
installed
Depends: libnb-java1-java (>= 6.0.1) but it is not going to be
installed
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
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://ubuntuforums.org/showthread.php?t=825920
** Affects: netbeans (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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-java-alternatives -s java-6-sun
Which resulted also in the removal of Netbeans. I tried installing it
but got errors similar to the following:
[EMAIL PROTECTED]:~$ 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-apisupport1-java (>= 6.0.1) but it is not going to
be installed
Depends: libnb-ide8-java (>= 6.0.1) but it is not going to be
installed
Depends: libnb-java1-java (>= 6.0.1) but it is not going to be
installed
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
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://ubuntuforums.org/showthread.php?t=825920
--
Netbeans won't install
https://bugs.launchpad.net/bugs/240502
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs