vi1985
April 25th, 2008, 06:02 AM
Hey guys,
I'm a new Ubuntu user (just installed it a few hours ago!). I was trying to install jre 1.6 and ran into a couple of problems:
first of all, I'd like to know how I can get root access. I first tried the manual install of jre, which needs 'alien' to convert from .rpm to .deb, which in turn needs root access. I tried running:
$su
then entered my user password, but was denied access:
vitya@vitya-laptop:~$ su
Password:
su: Authentication failure
I don't remember setting any other passwords while installing ubuntu. Is there a generic password that I can change somewhere? Is it the BIOS password? (which I'll have to dig up somehow..)
--------------------------
My second issue is with installing jre 1.6. They said something to the effect that my system must support the DLJ license, I agreed to that, at which point installation ran for some time, until it was aborted with the following error log:
Preconfiguring packages ...
Selecting previously deselected package java-common.
(Reading database ... 96652 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.28ubuntu3_all.deb) ...
Selecting previously deselected package odbcinst1debian1.
Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-16build1_i386.deb) ...
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-16build1_i386.deb) ...
Selecting previously deselected package sun-java6-bin.
Unpacking sun-java6-bin (from .../sun-java6-bin_6-06-0ubuntu1_i386.deb) ...
user did not accept the sun-dlj-v1-1 license
dpkg: error processing /var/cache/apt/archives/sun-java6-bin_6-06-0ubuntu1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package sun-java6-jre.
Unpacking sun-java6-jre (from .../sun-java6-jre_6-06-0ubuntu1_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/sun-java6-bin_6-06-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up java-common (0.28ubuntu3) ...
dpkg: dependency problems prevent configuration of sun-java6-jre:
sun-java6-jre depends on sun-java6-bin (= 6-06-0ubuntu1) | ia32-sun-java6-bin (= 6-06-0ubuntu1); however:
Package sun-java6-bin is not installed.
Package ia32-sun-java6-bin is not installed.
dpkg: error processing sun-java6-jre (--configure):
dependency problems - leaving unconfigured
Setting up odbcinst1debian1 (2.2.11-16build1) ...
Setting up unixodbc (2.2.11-16build1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
sun-java6-jre
----
Please help guys :)
Thanks a lot!
victor.
I'm a new Ubuntu user (just installed it a few hours ago!). I was trying to install jre 1.6 and ran into a couple of problems:
first of all, I'd like to know how I can get root access. I first tried the manual install of jre, which needs 'alien' to convert from .rpm to .deb, which in turn needs root access. I tried running:
$su
then entered my user password, but was denied access:
vitya@vitya-laptop:~$ su
Password:
su: Authentication failure
I don't remember setting any other passwords while installing ubuntu. Is there a generic password that I can change somewhere? Is it the BIOS password? (which I'll have to dig up somehow..)
--------------------------
My second issue is with installing jre 1.6. They said something to the effect that my system must support the DLJ license, I agreed to that, at which point installation ran for some time, until it was aborted with the following error log:
Preconfiguring packages ...
Selecting previously deselected package java-common.
(Reading database ... 96652 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.28ubuntu3_all.deb) ...
Selecting previously deselected package odbcinst1debian1.
Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-16build1_i386.deb) ...
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-16build1_i386.deb) ...
Selecting previously deselected package sun-java6-bin.
Unpacking sun-java6-bin (from .../sun-java6-bin_6-06-0ubuntu1_i386.deb) ...
user did not accept the sun-dlj-v1-1 license
dpkg: error processing /var/cache/apt/archives/sun-java6-bin_6-06-0ubuntu1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package sun-java6-jre.
Unpacking sun-java6-jre (from .../sun-java6-jre_6-06-0ubuntu1_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/sun-java6-bin_6-06-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up java-common (0.28ubuntu3) ...
dpkg: dependency problems prevent configuration of sun-java6-jre:
sun-java6-jre depends on sun-java6-bin (= 6-06-0ubuntu1) | ia32-sun-java6-bin (= 6-06-0ubuntu1); however:
Package sun-java6-bin is not installed.
Package ia32-sun-java6-bin is not installed.
dpkg: error processing sun-java6-jre (--configure):
dependency problems - leaving unconfigured
Setting up odbcinst1debian1 (2.2.11-16build1) ...
Setting up unixodbc (2.2.11-16build1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
sun-java6-jre
----
Please help guys :)
Thanks a lot!
victor.