On 02/13/2015 07:35 AM, Darac Marjal wrote:
On Sat, Feb 14, 2015 at 01:22:52AM +1300, Richard Hector wrote:
On 13/02/15 16:54, Jack Chuge wrote:
[cut]
Alternatively, when you used this line:
echo "deb ..." | tee /etc/apt/...java.list
did you put sudo in front of tee as well? Like this:
sudo echo "deb ..." | sudo tee /etc/apt/...java.list
There's no reason to run "echo" as root. Most unprivileged users should
be quite capable of echoing text.
Otherwise, I think tee won't run as root, and therefore won't be able
to write to the file. That might be why it couldn't find the packages.
I think I'd use the first option - get a root shell.
My personal opinion is for the OP to use that ppa, if he MUST have
Oracle Java.
One: It's blooming easy.
Two: He's so new, as a user, su gives him problems.
Three: none of the direct installs, except for Ice_tea deb install, will
set alternatives up easily, and include all of the alternatives he might
need.
Four, Iced-Tea has come a long ways, but for my 3D graphic intensive
needs, it still won't work for me. Oracle Java works for sure.
But my case is obscure.
Five: If Iced Tea will suit his needs, it would be the ~easiest~ way to
go. I agree with that and he should use that.
Six: Doing the install by hand, for a newbie, will surely end in tears.
My two cents only! :) Ric
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54de4358.1050...@gmail.com