Re: about installing Java

2015-02-13 Thread Klaus Jantzen
On 02/13/2015 01:54 AM, Jack Chuge wrote:
> I want to install the latest version of Java on my debian desktop. Is
> there any quick way like using a terminal command? Though, I think
> debian is the most stable Linux distro I've ever used so far, on the
> other hand, I'm a newby to it. Any support is appreciated.

Goto java.com, download the jdk1.8..tar.gz for your computer
architecture and unpack it to a suitable directory as described in the
installation instructions in the download site (all takes you 5 min.).

I put my java into "/opt/jdk1.8.0_31".
I use it e.g. to work with Eclipse.

-- 
K.D.J.


-- 
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/54ddb9cb.1000...@t-online.de



Re: about installing Java

2015-02-13 Thread Håkon Alstadheim

On 13. feb. 2015 09:46, Klaus Jantzen wrote:

On 02/13/2015 01:54 AM, Jack Chuge wrote:

I want to install the latest version of Java on my debian desktop. Is
there any quick way like using a terminal command? Though, I think
debian is the most stable Linux distro I've ever used so far, on the
other hand, I'm a newby to it. Any support is appreciated.

Goto java.com, download the jdk1.8..tar.gz for your computer
architecture and unpack it to a suitable directory as described in the
installation instructions in the download site (all takes you 5 min.).

I put my java into "/opt/jdk1.8.0_31".
I use it e.g. to work with Eclipse.

Get the distro like Klaus says, and then get the "java-package" package 
(also from backports, if needed) , containing the command make-jpkg, 
which  builds  a  Debian  package  from the given Java distribution  file.


This does not seem to handle browser-plugins though.

After make-jpkg and dpkg -i, you can do "update-java-alternatives". For 
browser-plugins you could then run e.g.  "update-alternatives --install 
/usr/lib/iceweasel/plugins/libjavaplugin.so iceweasel-javaplugin.so 
/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64/libnpjp2.so 2000" and 
"update-alternatives --config iceweasel-javaplugin.so"



--
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/54ddc882.4010...@alstadheim.priv.no



Re: mozilla / iceweasel and mailto: links

2015-02-13 Thread Curt
On 2015-02-13, Charles Blair  wrote:
> I tinkered with "Preferences/Applications".  Did not
> do anything about a special kind of Preference.  If
> this message gets posted, the thing worked :)
>
>If so, thanks!
>

I never click on those mailto links myself, but I followed my own advice
for once and chose alpine as my mail client ('cause it's my main mail client)
from the drop down menu (where it had defaulted to gmail?), clicked on a
mailto link and ... it didn't work.  Nothing. 

This must illustrate an ironic principle of which I am
currently unaware.  

But how would or does "it" know to open a terminal if you don't use
a "wrapper script" like Brian suggested?  Or am I missing something?
Why am I seeing so many mutt users in forums and elsewhere using this
kind of script?  

Oh!! I finally took a look at claws-mail and realized that it is *not* a
text-based mail client as I had assumed for reasons I am unable to
explain.

So the little wrapper script must only be necessary for text-based
clients that need a terminal to come alive in (I think).

Anyhow over and out.

-- 

“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut


-- 
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/slrnmdrjr2.260.cu...@einstein.electron.org



RE: about installing Java

2015-02-13 Thread Boblitz John
> -Original Message-
> From: Klaus Jantzen [mailto:k.d.jant...@t-online.de]
> Sent: Freitag, 13. Februar 2015 09:46
> To: debian-user@lists.debian.org
> Subject: Re: about installing Java
> 
> On 02/13/2015 01:54 AM, Jack Chuge wrote:
> > I want to install the latest version of Java on my debian desktop. Is
> > there any quick way like using a terminal command? Though, I think
> > debian is the most stable Linux distro I've ever used so far, on the
> > other hand, I'm a newby to it. Any support is appreciated.
> 
> Goto java.com, download the jdk1.8..tar.gz for your computer
> architecture and unpack it to a suitable directory as described in the
> installation instructions in the download site (all takes you 5 min.).
> 
> I put my java into "/opt/jdk1.8.0_31".
> I use it e.g. to work with Eclipse.
> 
> --
> K.D.J.

Here is the way I do it:

1.  wget --no-cookies --no-check-certificate --header "Cookie: 
oraclelicense=accept-securebackup-cookie" 
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/server-jre-7u55-linux-x64.tar.gz";
 (replace the linked url!)

2.  tar xvfz name of the tarball -C /usr/lib/jvm/

3.  update-alternatives --install /usr/bin/java java 
/usr/lib/jvm/jre*1.7.0_10/bin/java 1065

*replace with the correct version 
*number should be higher than any other - use update-alternatives --config java 
to check then check the installation with

4.  update-alternatives --config java

Should show something lik:
There are 4 choices for the alternative java (providing /usr/bin/java).

  SelectionPathPriority   Status

* 0/usr/lib/jvm/jdk1.7.0_55/bin/java1067  auto 
mode
  1/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061  
manual mode
  2/usr/lib/jvm/jdk1.7.0_25/bin/java1065  
manual mode
  3/usr/lib/jvm/jdk1.7.0_45/bin/java1066  
manual mode
  4/usr/lib/jvm/jdk1.7.0_55/bin/java1067  
manual mode

5.  java -version

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

(obviously, the version will vary depending on which one you install)

Cheers,

John

PS:  Who is General Failure, and why is he reading my C: Drive?




Re: about installing Java

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Jack Chuge  wrote:
[SNIP}

> I know it means nothing to me until I want to install CGoban, a go 
> client been maintaining by kgs(www.gokgs.com). And I found my debian 
> pre-installed a java version of 1.6.0, seems odd for ever.

kgs appears to be a Java applet. To run it install icedtea-7-plugin.
That will pull in openjdk-7-jre. You will need to restart your browser.

Be careful when running Java applets. It's a good idea to set them to
'click to play' in firefox (assuming you use firefox).

You can uninstall openjdk-6-jre, unless you need it for specific legacy
applications. It's very old now.

-- 

Liam



-- 
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/slrnmdro9u.7ml.liam.p.otoole@dipsy.tubbynet



Re: about installing Java

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Andrew McGlashan  wrote:
>
> On 13/02/2015 2:52 PM, Jack Chuge wrote:
>> I know it means nothing to me until I want to install CGoban, a go
>> client been maintaining by kgs(www.gokgs.com). And I found my debian
>> pre-installed a java version of 1.6.0, seems odd for ever.
>
> Keep in mind that Java for many means "Just another vulnerability
> announcement" ... ymmv.
>
> If you don't need Java, don't install it, it's not worth it.
>
> If you DO need it, be very careful how you use it and perhaps in a
> sandbox type environment such as a VM where it can do less damage.
>
> Cheers
> A.

I would agree with you when it comes to Java applets specifically.
However, Java is used for a lot more than just applets.

The Java plug-in available in Jessie (icedtea-plugin 1.5-2) allows one
to sandbox an applet within the JVM itself. I don't know if that is true
of the version in Wheezy (1.4-3~deb7u2), however.

-- 

Liam



-- 
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/slrnmdrp0a.7ml.liam.p.otoole@dipsy.tubbynet



Re: Is there a way to undo web browser changing desktop manager

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Bret Busby  wrote:
> On 12/02/2015, Liam O'Toole  wrote:
>> On 2015-02-12, Bret Busby  wrote:
>>> Hello.
>>>
>>> I am running Debian 6 LTS, with the GNOME Desktop Manager (if that is
>>> what it is named).
>>>
>>> I have three web browsers open; Arora, Konqueror and Rekonq.
>>>
>>> Each of the web browsers, is used for different reasons.
>>>
>>> None of them, appear to have provision for saving sessions.
>>>
>>> In accessing a particular web site, which appears to use the malware
>>> javascript, I tried with Konqueror, as the most stable of these web
>>> browsers, and that would not open the web site, so I opened the web
>>> site with Rekonq.
>>>
>>> When the web page involved, opened, it cahnged the desktop GUI theme,
>>> to some MS Windows like theme.
>>
>> That's very peculiar. Could you let us have the URL of the page, and
>> screenshots of you desktop before and after the event?
>>
>
> I have booted my other Debian 6 LTS system, to try to do what you
> want, with the "before and after"  things, but the Rekonq on the othe
> system, behave differently, and refuses to accept changes to the
> Rekonq settings, instead imposing some crap "speed dial" interface,
> like the crappy Opera "speed dial" interface, that sits there, trying
> to load. I can not change the settings in Rekonq, on that system, to
> force it to open tabs with a blank page.

I'm not sure I understand the above, nor I am sure that is has any
relevance to your original question. Can you just open the same URL in
the same browser on your other system? Is something preventing you from
doing that?

>
> So, as the system (Debain 6 LTS) is incapable of having consistemt
> interfaces across different systems, I will have to wait until the
> next time that I have a system crash on this system, before providing
> the "before and after" stuff, providing that, when the system crashes,
> it goes back to the way that it was before the web browser changed the
> GUI.

By the way, why are you using Debian 6 LTS?

>
> Oh, if only Debian 6 had ascended from the experimental status, and
> had been made stable...
>

I'm not going to respond to that. ;-)

-- 

Liam



-- 
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/slrnmdrq9g.947.liam.p.otoole@dipsy.tubbynet



Re: javascript:void(0)

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Gene Heskett  wrote:
> Greetings;
>
> Is there any way to get rid of all these boring screen decorations saying 
> javascipt doesn't work?
>
> There are quite a few javascript "engines" installed, but I haven't 
> managed to find that Magic Twanger yet.
>
> Is this a conscious effort to get rid of javascript?  Or can it be fixed 
> with additional packages installed?
>
> Thanks all.
>
> Cheers, Gene Heskett

Could you tell us what Debian release and browser you are using, and
what web pages cause the behaviour you describe? Then we would be in a
better position to help you.

-- 

Liam



-- 
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/slrnmdrqhl.947.liam.p.otoole@dipsy.tubbynet



Re: mozilla / iceweasel and mailto: links

2015-02-13 Thread Darac Marjal
On Fri, Feb 13, 2015 at 10:18:10AM +, Curt wrote:
> On 2015-02-13, Charles Blair  wrote:
> > I tinkered with "Preferences/Applications".  Did not
> > do anything about a special kind of Preference.  If
> > this message gets posted, the thing worked :)
> >
> >If so, thanks!
> >
> 
> I never click on those mailto links myself, but I followed my own advice
> for once and chose alpine as my mail client ('cause it's my main mail client)
> from the drop down menu (where it had defaulted to gmail?), clicked on a
> mailto link and ... it didn't work.  Nothing. 
> 
> This must illustrate an ironic principle of which I am
> currently unaware.  
> 
> But how would or does "it" know to open a terminal if you don't use
> a "wrapper script" like Brian suggested?  Or am I missing something?
> Why am I seeing so many mutt users in forums and elsewhere using this
> kind of script?  
> 
> Oh!! I finally took a look at claws-mail and realized that it is *not* a
> text-based mail client as I had assumed for reasons I am unable to
> explain.
> 
> So the little wrapper script must only be necessary for text-based
> clients that need a terminal to come alive in (I think).

This is how linux works. There is, in essence, no difference between a
terminal program and a graphical one. Both are launched in the same way
(typically, using a system() or exec() call; a shell can be thought of
as just a way to repeatedly invoke that).

Both start executing in the same way. They are given a standard input, a
standard output and a standard error. The difference comes in that the
graphical program then makes a network connection to an X-server (mostly
that will be over a UNIX socket to the local host, but X can work quite
nicely across the network, too). Commands directed to that X-server
cause windows to be drawn etc.

This behaviour can be demonstrated by starting a terminal and running a
program such as `xev`. The program runs in the terminal (note, for
example, that the shell prompt doesn't return until the program exits),
but it opens a window immediately. The terminal remains active and
X-Windows events are printed to the commands standard out.

Now, just to complete the picture, if you run `xev` from a graphical
client (say, a run dialog, or by double-clicking the executable in a
file manager), xev still starts as normal. The window pops up. But you
won't see the X-window messages, because the stdin, stdout and stderr
are not connected to anything that will print them (probably, they're
actually connected to /dev/null).

> 
> Anyhow over and out.
> 
> -- 
> 
> “True terror is to wake up one morning and discover that your high school 
> class
> is running the country.” – Kurt Vonnegut
> 
> 
> -- 
> 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/slrnmdrjr2.260.cu...@einstein.electron.org
> 


signature.asc
Description: Digital signature


Re: about installing Java

2015-02-13 Thread Jack Chuge
Liam O'Toole 於 2015-2-13 19:40 寫道:
> On 2015-02-13, Jack Chuge  wrote:
> [SNIP}
> 
>> I know it means nothing to me until I want to install CGoban, a go
>> client been maintaining by kgs(www.gokgs.com). And I found my debian
>> pre-installed a java version of 1.6.0, seems odd for ever.
> 
> kgs appears to be a Java applet. To run it install icedtea-7-plugin.
> That will pull in openjdk-7-jre. You will need to restart your browser.
> 
> Be careful when running Java applets. It's a good idea to set them to
> 'click to play' in firefox (assuming you use firefox).
> 
> You can uninstall openjdk-6-jre, unless you need it for specific legacy
> applications. It's very old now.
> 


CGoban is a .jnlp format binary, they call it web start program.

-- 
I like hk.politics. ^_^


-- 
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/mbkp9t$msq$1...@dont-email.me



Re: about installing Java

2015-02-13 Thread Richard Hector
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/02/15 16:54, Jack Chuge wrote:

>>> They say to run the following:  su - echo "deb
>>> http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" |
>>> tee /etc/apt/sources.list.d/webupd8team-java.list

>>> 
>> It seems it's not allowed sudo instead of su for calling root 
>> permission. Sadly, I've not setup a su password. How to fix it?
>> Thank you.
>> 
> Finally, I typed sudo before the code every time and it proceeded 
> successfully until the last line code proceeding. It said: Can't
> locate the packages of oracla-java8-installer. Where occurs
> errors?

Hi Jack,

2 things spring to mind.

Firstly, I would get a root shell using "sudo -s" instead of "su -" -
that should work with your sudo config, and doesn't need a root password.

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

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.

Richard


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJU3eyTAAoJELSi8I/scBaNgAoH/itu3vNhJIh5q0gXo/Irs/mL
Ar5g/bg7oZpQpN2UeIKSu2qXVEgLQRsVZ+kKTyNnug5HDrcQ6oRNbrQnsIfRf1sF
jgje7CfL0YQLNGgtowNHKHw4BLEXDI+XObnH6jQ3jw1iTFk55q4/WG1ZlNur2slG
8JHG15SliJjOmNzEDWPyh86Ai4ZBj5OvldCEzV57/ZNo3znM3SFveheQFXEPDOOu
ohyPoV3Qp5cEGnB4IQ4aQmUSgV2gP8tx7AKdK0ymoM3QeQaTOUvauSTnKzbYG1+O
Gcsf9W6DBK+JZzfAUMQRFpdukvoctPF18S5HdmqaU3hDkKIQYsIBV3h4fojLvrU=
=JpsZ
-END PGP SIGNATURE-


-- 
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/54ddec9c.5040...@walnut.gen.nz



Re: about installing Java

2015-02-13 Thread Darac Marjal
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.
> 
> Richard
> 
> 
> 
> 
> -- 
> 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/54ddec9c.5040...@walnut.gen.nz
> 


signature.asc
Description: Digital signature


Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:
> On 2015-02-13, Gene Heskett  wrote:
> > Greetings;
> > 
> > Is there any way to get rid of all these boring screen decorations
> > saying javascipt doesn't work?
> > 
> > There are quite a few javascript "engines" installed, but I haven't
> > managed to find that Magic Twanger yet.
> > 
> > Is this a conscious effort to get rid of javascript?  Or can it be
> > fixed with additional packages installed?
> > 
> > Thanks all.
> > 
> > Cheers, Gene Heskett
> 
> Could you tell us what Debian release and browser you are using, and
> what web pages cause the behaviour you describe? Then we would be in a
> better position to help you.

This is a special compilation that is 99.9% Wheezy, put together by the 
LinuxCNC people, using the wheezy repos with a couple added lines in the 
/etc/apt/sources.list, available as the hybride-iso on the linuxcnc.org 
web site.  The previous install I ran for quite a while was ubuntu-10.04.4 
LTS, with a special RTAI patched kernel, and it started doing this also 
shortly after the hurrah about javascript having an exploitable problem. I 
figured it would be fixed by now in a newer install. It effects anything 
that looks like a browser, Konqueror, iceweasal, firefox, but have not 
checked w3m however.

The major difference between this and wheezy is the default kernel is an 
RTAI patched kernel.  It doesn't play well with 64 bit machine with lots 
of memory, and I am not actually running machinery with this box, so I can 
run the sim versions of linuxcnc on an rt-preempt kernel and am running a 
PAE version of 3.2.0-4 ATM. The distro is basically a 64 bit distro, but 
the RTAI patches aren't fully aware of a 64 bit machine yet as the PAE 
seems to be disabled by that patchset.  I don't need RTAI to run the 
simulation, but do need the PREEMPT RT. And it runs well, uptime is 8.5 
days ATM.

Currantly booted kernel is:
root@coyote:~# uname -a
Linux coyote 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.65-1+deb7u1 
i686 GNU/Linux

I would like to thank a previous poster this morning as I was not aware of 
the update-altenatives cli facility, which which I was able to make 
iceweasal the default browser.  Although it has not been checked for 
function yet.  Thanks for that.

Now, the javascript problem? Still remains. A PIMA, if I goto 
www.cbsnews.com it will start to display it, for perhaps a second, then 
this warning pops up and completely displaces the sites content downward 
and off screen about twice the height of the screen so at first glance, 
you assume the site is not available, but on this 1920x1280 monitor, its 
still there but you have to scroll down about 1.5 to 2x the screens height 
to see the sites contents.

Slashdot for instance, has about 50% of its screen area devoted to 
javascript errors.  The site can still be used by iceweasal but its quite 
annoying. Konqueror just throw up its hands and sits there, no response to 
clicking on any sublink on any of the mainsleeze news sites.

Lots of javascript stuff is installed, but something is blocking its use. 
and no "blockers" like add-block and its ilk are installed.

Thanks Liam.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502130753.55495.ghesk...@wdtv.com



Disk in a raid array

2015-02-13 Thread James Allsopp
Hi,
I've got home mounted on a LVM partition over two RAID 1 arrays.
Unfortunately one of the disks in the second array has dropped out. I can
still fdisk -l it, but when I ran dd if=/dev/sdd1 of=/dev/null it got about
132M through a 2Tb drive before crashing out. This doesn't bode well.

I can't really afford a new drive, but was wondering if I should just
reformat, try and check it for errors and then try and add it back to the
array? I was hoping that doing that might allow it to exclude any bad
blocks and get me something working for a while whilst I save up.

If anyone has any comments, suggestions or queries, I'd be glad to hear
them,
Thanks,
James


Re: Upgrading Kernel - Out of Disk Space

2015-02-13 Thread Jochen Spieker
Stephen R Guglielmo:
> On Thu, 12 Feb 2015 10:46:35 +0100
> Jochen Spieker  wrote:
>> Stephen R Guglielmo:
>>> I'm not sure why the automatic partitioner didn't provide
>>> for enough space for future updates. See below for the relevant
>>> logs.
>> 
>> There's been several complaints about similar issues on this list. I
>> am not sure whether there were any recent changes in debian-installer
>> to solve that. Now there's still time to report bugs before jessie is
>> released.
> 
> So it's recommended that I file a bug report regarding this?

If it bugs you, why not?

> It's obviously an issue to anyone who uses the encrypted
> auto-partition option in d-i.

I think this is even independent of encryption.

J.
-- 
When standing at the top of beachy head I find the rocks below very
attractive.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Disk in a raid array

2015-02-13 Thread Reco
 Hi.

On Fri, Feb 13, 2015 at 12:53:29PM +, James Allsopp wrote:
> Hi,
> I've got home mounted on a LVM partition over two RAID 1 arrays. Unfortunately
> one of the disks in the second array has dropped out. I can still fdisk -l it,
> but when I ran dd if=/dev/sdd1 of=/dev/null it got about 132M through a 2Tb
> drive before crashing out. This doesn't bode well.

Indeed. Given that partition table is stored at the beginning of the
disk - 'fdisk -l' is not the tool you should use in this case.
Failing dd - that's bad indeed.


> I can't really afford a new drive, but was wondering if I should just 
> reformat,
> try and check it for errors and then try and add it back to the array? I was
> hoping that doing that might allow it to exclude any bad blocks and get me
> something working for a while whilst I save up.

If I were you - I'd replaced this disk ASAP.
But, there's no need to reformat the disk. Not just yet.

Install smartmontools unless you did already.
Run 'smartctl -t long /dev/sdd'. Wait the amount of time smartctl tells
you.
Post the result of 'smartctl --all /dev/sdd'.

Reco


-- 
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/20150213133045.ga24...@d1696.int.rdtex.ru



Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:
> On 2015-02-13, Gene Heskett  wrote:
> > Greetings;
> > 
> > Is there any way to get rid of all these boring screen decorations
> > saying javascipt doesn't work?
> > 
> > There are quite a few javascript "engines" installed, but I haven't
> > managed to find that Magic Twanger yet.
> > 
> > Is this a conscious effort to get rid of javascript?  Or can it be
> > fixed with additional packages installed?
> > 
> > Thanks all.
> > 
> > Cheers, Gene Heskett
> 
> Could you tell us what Debian release and browser you are using, and
> what web pages cause the behaviour you describe? Then we would be in a
> better position to help you.

w3m doesn't work, I had forgotten its nut much better than linx, HOWEVER I 
just installed chromium and it works!  Self contained javascript engine 
perhaps?  IDK. :(  But it is another data point.

Thanks Liam.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502130834.57815.ghesk...@wdtv.com



Re: javascript:void(0)

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Gene Heskett  wrote:
> On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:
>> On 2015-02-13, Gene Heskett  wrote:
>> > Greetings;
>> > 
>> > Is there any way to get rid of all these boring screen decorations
>> > saying javascipt doesn't work?
>> > 
>> > There are quite a few javascript "engines" installed, but I haven't
>> > managed to find that Magic Twanger yet.
>> > 
>> > Is this a conscious effort to get rid of javascript?  Or can it be
>> > fixed with additional packages installed?
>> > 
>> > Thanks all.
>> > 
>> > Cheers, Gene Heskett
>> 
>> Could you tell us what Debian release and browser you are using, and
>> what web pages cause the behaviour you describe? Then we would be in a
>> better position to help you.
>
> This is a special compilation that is 99.9% Wheezy, put together by the 
> LinuxCNC people, using the wheezy repos with a couple added lines in the 
> /etc/apt/sources.list, available as the hybride-iso on the linuxcnc.org 
> web site.  The previous install I ran for quite a while was ubuntu-10.04.4 
> LTS, with a special RTAI patched kernel, and it started doing this also 
> shortly after the hurrah about javascript having an exploitable problem. I 
> figured it would be fixed by now in a newer install. It effects anything 
> that looks like a browser, Konqueror, iceweasal, firefox, but have not 
> checked w3m however.

w3m doesn't support javascript, so you won't have any javascript-related
trouble with it. :-)

[SNIP]

> Now, the javascript problem? Still remains. A PIMA, if I goto 
> www.cbsnews.com it will start to display it, for perhaps a second, then 
> this warning pops up and completely displaces the sites content downward 
> and off screen about twice the height of the screen so at first glance, 
> you assume the site is not available, but on this 1920x1280 monitor, its 
> still there but you have to scroll down about 1.5 to 2x the screens height 
> to see the sites contents.
>
> Slashdot for instance, has about 50% of its screen area devoted to 
> javascript errors.  The site can still be used by iceweasal but its quite 
> annoying. Konqueror just throw up its hands and sits there, no response to 
> clicking on any sublink on any of the mainsleeze news sites.

That's bizarre. I have no such issues with www.cbsnews.com or
slashdot.org when using iceweasel. I don't use konqueror, so I can't
offer a comparison there.

What do the errors say?

>
> Lots of javascript stuff is installed, but something is blocking its use. 
> and no "blockers" like add-block and its ilk are installed.
>
> Thanks Liam.
>
> Cheers, Gene Heskett

-- 

Liam



-- 
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/slrnmds0tl.crl.liam.p.otoole@dipsy.tubbynet



Re: about installing Java

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Jack Chuge  wrote:
> Liam O'Toole 於 2015-2-13 19:40 寫道:
>> On 2015-02-13, Jack Chuge  wrote:
>> [SNIP}
>> 
>>> I know it means nothing to me until I want to install CGoban, a go
>>> client been maintaining by kgs(www.gokgs.com). And I found my debian
>>> pre-installed a java version of 1.6.0, seems odd for ever.
>> 
>> kgs appears to be a Java applet. To run it install icedtea-7-plugin.
>> That will pull in openjdk-7-jre. You will need to restart your browser.
>> 
>> Be careful when running Java applets. It's a good idea to set them to
>> 'click to play' in firefox (assuming you use firefox).
>> 
>> You can uninstall openjdk-6-jre, unless you need it for specific legacy
>> applications. It's very old now.
>> 
>
>
> CGoban is a .jnlp format binary, they call it web start program.

Ah, right. For that you use the icedtea-netx package (which is a
dependency of icedtea-7-plugin).

-- 

Liam



-- 
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/slrnmds16v.crl.liam.p.otoole@dipsy.tubbynet



Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
> On 2015-02-13, Gene Heskett  wrote:
> > On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:
> >> On 2015-02-13, Gene Heskett  wrote:
> >> > Greetings;
> >> > 
> >> > Is there any way to get rid of all these boring screen decorations
> >> > saying javascipt doesn't work?
> >> > 
> >> > There are quite a few javascript "engines" installed, but I
> >> > haven't managed to find that Magic Twanger yet.
> >> > 
> >> > Is this a conscious effort to get rid of javascript?  Or can it be
> >> > fixed with additional packages installed?
> >> > 
> >> > Thanks all.
> >> > 
> >> > Cheers, Gene Heskett
> >> 
> >> Could you tell us what Debian release and browser you are using, and
> >> what web pages cause the behaviour you describe? Then we would be in
> >> a better position to help you.
> > 
> > This is a special compilation that is 99.9% Wheezy, put together by
> > the LinuxCNC people, using the wheezy repos with a couple added
> > lines in the /etc/apt/sources.list, available as the hybride-iso on
> > the linuxcnc.org web site.  The previous install I ran for quite a
> > while was ubuntu-10.04.4 LTS, with a special RTAI patched kernel,
> > and it started doing this also shortly after the hurrah about
> > javascript having an exploitable problem. I figured it would be
> > fixed by now in a newer install. It effects anything that looks like
> > a browser, Konqueror, iceweasal, firefox, but have not checked w3m
> > however.
> 
> w3m doesn't support javascript, so you won't have any
> javascript-related trouble with it. :-)
> 
> [SNIP]
> 
> > Now, the javascript problem? Still remains. A PIMA, if I goto
> > www.cbsnews.com it will start to display it, for perhaps a second,
> > then this warning pops up and completely displaces the sites content
> > downward and off screen about twice the height of the screen so at
> > first glance, you assume the site is not available, but on this
> > 1920x1280 monitor, its still there but you have to scroll down about
> > 1.5 to 2x the screens height to see the sites contents.
> > 
> > Slashdot for instance, has about 50% of its screen area devoted to
> > javascript errors.  The site can still be used by iceweasal but its
> > quite annoying. Konqueror just throw up its hands and sits there, no
> > response to clicking on any sublink on any of the mainsleeze news
> > sites.
> 
> That's bizarre. I have no such issues with www.cbsnews.com or
> slashdot.org when using iceweasel. I don't use konqueror, so I can't
> offer a comparison there.
> 
> What do the errors say?

If  a pastefrom iceweasal  works:
===
The address wasn't understood

Iceweasel doesn't know how to open this address, because one of the 
following protocols (javascript) isn't associated with any program or is 
not allowed in this context.
===
> 
> > Lots of javascript stuff is installed, but something is blocking its
> > use. and no "blockers" like add-block and its ilk are installed.
> > 

Thanks Liam.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502130921.05742.ghesk...@wdtv.com



Re: Mount local NFS share on boot

2015-02-13 Thread Laverne Schrock
On Thu, 2015-02-12 at 18:54 +0300, Reco wrote:
>  Hi.
> 
> On Thu, 12 Feb 2015 08:50:46 -0600
> Laverne Schrock  wrote:
> 
> > So here is my question: What is the best way to automatically mount a
> > NFS share on the system acting as the server?
> 
> Try using automount feature of systemd for NFS share. That way you'll
> delay actual mounting of said filesystem until someone will actually
> need the contents of NFS share.
> 
> http://www.freedesktop.org/software/systemd/man/systemd.automount.html
> 
> Reco
> 
> 
I went the route of still using fstab so here is my entry now:

localhost:/.private/snapshots /snapshots nfs
ro,noauto,x-systemd.automount 0 0

This seems to work quite well, with both boot time and shutdown time
being greatly improved. 

Thanks for the help

Laverne




-- 
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/1423835500.3088.4.camel@schrock.email



Re: javascript:void(0)

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Gene Heskett  wrote:
> On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
>> On 2015-02-13, Gene Heskett  wrote:

[SNIP]

>> > Now, the javascript problem? Still remains. A PIMA, if I goto
>> > www.cbsnews.com it will start to display it, for perhaps a second,
>> > then this warning pops up and completely displaces the sites content
>> > downward and off screen about twice the height of the screen so at
>> > first glance, you assume the site is not available, but on this
>> > 1920x1280 monitor, its still there but you have to scroll down about
>> > 1.5 to 2x the screens height to see the sites contents.
>> > 
>> > Slashdot for instance, has about 50% of its screen area devoted to
>> > javascript errors.  The site can still be used by iceweasal but its
>> > quite annoying. Konqueror just throw up its hands and sits there, no
>> > response to clicking on any sublink on any of the mainsleeze news
>> > sites.
>> 
>> That's bizarre. I have no such issues with www.cbsnews.com or
>> slashdot.org when using iceweasel. I don't use konqueror, so I can't
>> offer a comparison there.
>> 
>> What do the errors say?
>
> If  a pastefrom iceweasal  works:
>===
> The address wasn't understood
>
> Iceweasel doesn't know how to open this address, because one of the 
> following protocols (javascript) isn't associated with any program or is 
> not allowed in this context.
>===

A quick Google search (replacing "iceweasel" with "firefox") led me to
this:

https://support.mozilla.org/en-US/questions/969474

Does that help at all?

-- 

Liam



-- 
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/slrnmds2m6.ebr.liam.p.otoole@dipsy.tubbynet



Re: Disk in a raid array

2015-02-13 Thread David Wright
Quoting James Allsopp (jamesaalls...@googlemail.com):
> Hi,
> I've got home mounted on a LVM partition over two RAID 1 arrays. Unfortunately
> one of the disks in the second array has dropped out. I can still fdisk -l it,
> but when I ran dd if=/dev/sdd1 of=/dev/null it got about 132M through a 2Tb
> drive before crashing out. This doesn't bode well.
> 
> I can't really afford a new drive, but was wondering if I should just 
> reformat,
> try and check it for errors and then try and add it back to the array? I was
> hoping that doing that might allow it to exclude any bad blocks and get me
> something working for a while whilst I save up.

When I've hit this problem, I'm afraid my solution has always involved
another disk. By using dd with the count, seek and skip parameters, I
made a copy of the partition with a zeroed section where the
unreadable sectors were. I then just ran fsck on the copy and let it
sort out what it could. (I eventually stuck the old drive in a caddy
with a dummy partition hiding the broken section and used it as a
scratch disk for moving videos around.)

Cheers,
David.


-- 
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/20150213145107.gb7...@alum.home



Re: incomplete update(?) trashed my system

2015-02-13 Thread David Wright
Quoting Charles Blair (c-bl...@illinois.edu):
>Thanks for all previous suggestions.
> 
>An "updates available" message resulted in an update that
> stopped in the middle because of insufficient space.  This has
> left me with a system in which character-based programs are working,
> but any attempt to use a program that tries to open an X-window
> leads to a screen with a cartoon of a frowning monitor and a
> message that my system has had to be stopped for its own good.
> 
>I ran apt-get clean, which seems to have reduced the space
> used by /var (see output below).  However, what can I do about
> /root ?  Attempts to run claws-mail and mozilla/iceweasel
> produce the frowning-monitor message.

My own approach would be to adduser a username for all the
non-recommended (ie non-administrative)tasks you've been using root
for. Move the files out of /root but leaving behind things like
.aptitude/ .bash_history .ssh/
You may need to extract modifications to .profile and .bashrc if
you've added things. Some dotfiles like .pulse can be deleted as they
seem to get recreated (in a cleaner state).
That will shift loads of stuff like .cache/ .mozilla/ and .claws-mail/
from / to /home/ (which is, hardly surprisingly, almost
empty).
The only non-empty directories in hy wheezy /root are .aptitude/ and
.ssh/ (as .gconf/ is empty).
Check you haven't put any security-related stuff in dotfiles like
.xsession which you will be moving out of root.

>After I get sufficient disk space, is there something simple
> I can do to resume the updating operation that started the problem?

I would then apt-get update and upgrade as usual and see if the checks
built into that will cope. The downloads should still be in /var/cache
waiting to go. If there are problems, repost the results.

Cheers,
David.


-- 
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/20150213160334.gd7...@alum.home



Re: Upgrading Kernel - Out of Disk Space

2015-02-13 Thread songbird
  what version of the installer are you using?

  if it is an older image i'd try the most recent 
before filing bugs.


  songbird


-- 
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/s7j1rb-s12@id-306963.user.uni-berlin.de



Re: Disk in a raid array

2015-02-13 Thread ehuggett

I've got home mounted on a LVM partition over two RAID 1 arrays.
Unfortunately one of the disks in the second array has dropped out. I


Just to check I understand,
- you have 4 physical hard disks (2 x 2TB and 2x ??).
- you have two RAID1 arrays comprising of 2 physical hard disks each.
- one of the arrays is healthy and the other is degraded
- both RAID1 arrays have been made a member of the same LVM VG (volume 
group).

- your have a LV (logical volume) named "home" which belongs to this VG.

At the moment it looks like if the remaining disk in the degraded RAID1 
array fails you will lose your home LV. Backup the contents of your home 
LV immediately if you have not already done so!


If the healthy RAID1 array has enough free space to hold the entire home 
LV I would remove the degraded RAID1 array from the volume group for the 
time being.


http://tldp.org/HOWTO/LVM-HOWTO/removeadisk.html


can still fdisk -l it, but when I ran dd if=/dev/sdd1 of=/dev/null it
got about 132M through a 2Tb drive before crashing out. This doesn't
bode well.


From memory, someone please correct me if I am wrong, dd will fail at 
the first unreadable sector unless it is told to skip on error 
(conv=noerror?).


dd failing is not necessary fatal, but its never reassuring, bear in 
mind the disk will not remap the sector until a _write_ to that sector 
fails.


You seem to be using dd just to test you can read the disk 
(of=/dev/null) but I will mention this anyway: I tend to use ddrescue, 
from the gddrescue package, for making images of failing hard disks as 
it keeps a log of which sectors it has failed to read (and you can use 
this log to repeatedly retry reading the failed sectors, sometimes it 
works!)



I can't really afford a new drive, but was wondering if I should just
reformat, try and check it for errors and then try and add it back to
the array? I was hoping that doing that might allow it to exclude any
bad blocks and get me something working for a while whilst I save up.


keep the "failed" disk in a safe place until you have a backup (or at 
the very least you are not relying on the degraded raid1 array), you 
might still be able to read something useful from it if the remaining 
"healthy" disk goes up in smoke.


Once your data is definitely safe, I would

1) run a long SMART test of the disk using smartmontools,
2) if the smart test did not fail, I would run badblocks against the 
"failed" disk. Badblocks, doing write-mode test (-w), will overwrite the 
entire disk (causing failed sectors to be remapped) and then read the 
entire disk back to ensure that the "pattern" that was written can still 
be read. This could take a long time on a 2TB disk!
3) run another long SMART test, badblocks might cause enough sectors to 
be remapped that SMART will now consider the drive to be failing (even 
if the badblocks test passes).


If 1, 2 & 3 pass you probably don't need to replace the disk




If anyone has any comments, suggestions or queries, I'd be glad to hear
them,
Thanks,
James


If the disks are of a similar size, you might be better off with RAID6 
over RAID1 as this will allow *any* 2 disks to fail instead of *up to* 2 
disks to fail before your array becomes unreadable.


In theory you could create 4 partitions of equal size over the 4 disks 
and create a RAID6, and partition off the remaining space of the 2 
larger disks for a RAID1.


You might also want to consider if you need raid at all! you could use 
half the disks to store incremental backups of the other disks (RAID is 
not a backup etc).


I hope this helps somewhat, I feel I might just be telling you what you 
already know!



--
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/54de220a.9000...@xact.uk.com



How well-maintained are NEWS and changelog files in deb packages?

2015-02-13 Thread Martin T
Hi,

apt-listchanges uses NEWS and changelog files in Debian packages. Are
NEWS and changelog files always or at list usually updated, i.e. is it
safe to trust those?


thanks,
Martin


-- 
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/cajx5yvhz1hfdnpwfe3fjt6-azqss8vdngggqylx0hbpwoc1...@mail.gmail.com



Re: How well-maintained are NEWS and changelog files in deb packages?

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Martin T wrote:
> apt-listchanges uses NEWS and changelog files in Debian packages. Are
> NEWS and changelog files always or at list usually updated, i.e. is it
> safe to trust those?

changelog.Debian.gz files are updated on every new version which is
present in Debian, however, they are primarily used for reporting
changes in Debian packaging, and only occasionally report changes by
upstream.

Upstream changelog files (usually /usr/share/doc/foopkg/changelog.gz or
similar) are copied straight from upstream, and may be up to date or not
depending on upstream's policies.

NEWS.Debian.gz files are only updated when there is something
significant to report; it's perfectly normal for these not to be updated
for months or years (or not be present at all).

-- 
Don Armstrong  http://www.donarmstrong.com

I shall require that [a scientific system's] logical form shall be
such that it can be singled out, by means of empirical tests, in a
negative sense: it must be possible for an empirical scientific system
to be refuted by experience.
 -- Sir Karl Popper _Logic of Scientific Discovery_ §6


-- 
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/20150213172057.go27...@teltox.donarmstrong.com



Changing the install path of a web package

2015-02-13 Thread Tim Burns

I moved to debian from another distro for stability reasons.

I prefer to keep my web accessible files in /srv/www rather than 
/var/www, as I back up /srv and not /var.   If I have to I have to.


I'm installing owncloud, and can't figure out how I can make it install 
where I want it.  I could copy it over or , but then updating is broken 
via aptitude.  Is there a way to do this?



--
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/54de2f2d.2020...@gmail.com



Re: Changing the install path of a web package

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Tim Burns wrote:
> I moved to debian from another distro for stability reasons.
> 
> I prefer to keep my web accessible files in /srv/www rather than
> /var/www, as I back up /srv and not /var. If I have to I have to.
> 
> I'm installing owncloud, and can't figure out how I can make it
> install where I want it. I could copy it over or , but then updating
> is broken via aptitude. Is there a way to do this?

Generally speaking, packages shouldn't be installing to /var/www either,
they should be installing to /usr/share or similar.

Personally, I'd just copy the files if I was going to modify themq,
and/or use Directory/Location directives in the apache configuration
files to avoid having multiple copies if I wasn't. [There's no real need
to worry about backing the files up if you don't modify them, as you can
always just reinstall the package to get them back.]

-- 
Don Armstrong  http://www.donarmstrong.com

Vimes hated and despised the privileges of rank, but they had this to
be said for them: At least they meant that you could hate and despise
them in comfort.
 -- Terry Pratchett _The Fifth Elephant_ p111


-- 
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/20150213180455.gs27...@teltox.donarmstrong.com



Re: about installing Java

2015-02-13 Thread Ric Moore

On 02/13/2015 03:46 AM, Klaus Jantzen wrote:

On 02/13/2015 01:54 AM, Jack Chuge wrote:

I want to install the latest version of Java on my debian desktop. Is
there any quick way like using a terminal command? Though, I think
debian is the most stable Linux distro I've ever used so far, on the
other hand, I'm a newby to it. Any support is appreciated.


Goto java.com, download the jdk1.8..tar.gz for your computer
architecture and unpack it to a suitable directory as described in the
installation instructions in the download site (all takes you 5 min.).

I put my java into "/opt/jdk1.8.0_31".
I use it e.g. to work with Eclipse.


That leaves you about 20 some-odd alternatives to configure. No good for 
a newbie. Using the ppa, as mentioned, handles all of that. 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/54de40ad.8090...@gmail.com



Re: about installing Java

2015-02-13 Thread Ric Moore

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



Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 09:31:34 AM Liam O'Toole wrote:
> On 2015-02-13, Gene Heskett  wrote:
> > On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
> >> On 2015-02-13, Gene Heskett  wrote:
> [SNIP]
> 
> >> > Now, the javascript problem? Still remains. A PIMA, if I goto
> >> > www.cbsnews.com it will start to display it, for perhaps a second,
> >> > then this warning pops up and completely displaces the sites
> >> > content downward and off screen about twice the height of the
> >> > screen so at first glance, you assume the site is not available,
> >> > but on this 1920x1280 monitor, its still there but you have to
> >> > scroll down about 1.5 to 2x the screens height to see the sites
> >> > contents.
> >> > 
> >> > Slashdot for instance, has about 50% of its screen area devoted to
> >> > javascript errors.  The site can still be used by iceweasal but
> >> > its quite annoying. Konqueror just throw up its hands and sits
> >> > there, no response to clicking on any sublink on any of the
> >> > mainsleeze news sites.
> >> 
> >> That's bizarre. I have no such issues with www.cbsnews.com or
> >> slashdot.org when using iceweasel. I don't use konqueror, so I can't
> >> offer a comparison there.
> >> 
> >> What do the errors say?
> > 
> > If  a pastefrom iceweasal  works:
> >===
> >
> > The address wasn't understood
> > 
> > Iceweasel doesn't know how to open this address, because one of the
> > following protocols (javascript) isn't associated with any program or
> > is not allowed in this context.
> >
> >===
> 
> A quick Google search (replacing "iceweasel" with "firefox") led me to
> this:
> 
> https://support.mozilla.org/en-US/questions/969474
> 
> Does that help at all?

Truly excellent, fixed it.  FWIW, my google-fu did not find that link, 
thank you very much.  But in resetting some of the other bold lines to 
defaults, slashdot became unavailable, with a 

guru meditation
XID: 2099614738

Shades of my amiga days!  And, the number changes at random every time I 
tap the F5 key.  WTH?

But the mainsleeze news sites seem to work now.

Thanks for that link Liam, it had the answer.  

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502131348.59187.ghesk...@wdtv.com



Re: Disk in a raid array

2015-02-13 Thread David Christensen

On 02/13/2015 04:53 AM, James Allsopp wrote:

I've got home mounted on a LVM partition over two RAID 1 arrays.
Unfortunately one of the disks in the second array has dropped out. I can
still fdisk -l it, but when I ran dd if=/dev/sdd1 of=/dev/null it got about
132M through a 2Tb drive before crashing out. This doesn't bode well.
I can't really afford a new drive, but was wondering if I should just
reformat, try and check it for errors and then try and add it back to the
array? I was hoping that doing that might allow it to exclude any bad
blocks and get me something working for a while whilst I save up.


I've fallen into the "I can't afford another big disk right now trap", 
and regretted it.



The first step is to backup everything.  Then buy a new disk, pull the 
failing disk, install the new one, and resilver.  Alternatively, buy two 
large NAS drives, set them up as a ZFS mirror, and migrate all your 
data.  (Note that ECC is recommended for ZFS.)  Then backup everything 
again.  Then do whatever you like with the failing disk.  (I'd wipe and 
recycle it; I'm not going to trust my data or waste more time on a known 
failing drive.)



Another note -- most disk manufacturers offer one or more utilities for 
their products.  For example:


http://www.seagate.com/support/downloads/seatools/


Good luck,

David


--
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/54de46de.1070...@holgerdanske.com



Re: javascript:void(0)

2015-02-13 Thread Ric Moore

On 02/13/2015 09:21 AM, Gene Heskett wrote:

On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:

On 2015-02-13, Gene Heskett  wrote:

On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:

On 2015-02-13, Gene Heskett  wrote:

Greetings;

Is there any way to get rid of all these boring screen decorations
saying javascipt doesn't work?

There are quite a few javascript "engines" installed, but I
haven't managed to find that Magic Twanger yet.

Is this a conscious effort to get rid of javascript?  Or can it be
fixed with additional packages installed?

Thanks all.

Cheers, Gene Heskett


Could you tell us what Debian release and browser you are using, and
what web pages cause the behaviour you describe? Then we would be in
a better position to help you.


This is a special compilation that is 99.9% Wheezy, put together by
the LinuxCNC people, using the wheezy repos with a couple added
lines in the /etc/apt/sources.list, available as the hybride-iso on
the linuxcnc.org web site.  The previous install I ran for quite a
while was ubuntu-10.04.4 LTS, with a special RTAI patched kernel,
and it started doing this also shortly after the hurrah about
javascript having an exploitable problem. I figured it would be
fixed by now in a newer install. It effects anything that looks like
a browser, Konqueror, iceweasal, firefox, but have not checked w3m
however.


w3m doesn't support javascript, so you won't have any
javascript-related trouble with it. :-)

[SNIP]


Now, the javascript problem? Still remains. A PIMA, if I goto
www.cbsnews.com it will start to display it, for perhaps a second,
then this warning pops up and completely displaces the sites content
downward and off screen about twice the height of the screen so at
first glance, you assume the site is not available, but on this
1920x1280 monitor, its still there but you have to scroll down about
1.5 to 2x the screens height to see the sites contents.

Slashdot for instance, has about 50% of its screen area devoted to
javascript errors.  The site can still be used by iceweasal but its
quite annoying. Konqueror just throw up its hands and sits there, no
response to clicking on any sublink on any of the mainsleeze news
sites.


That's bizarre. I have no such issues with www.cbsnews.com or
slashdot.org when using iceweasel. I don't use konqueror, so I can't
offer a comparison there.

What do the errors say?


If  a pastefrom iceweasal  works:
===
The address wasn't understood

Iceweasel doesn't know how to open this address, because one of the
following protocols (javascript) isn't associated with any program or is
not allowed in this context.
===



Lots of javascript stuff is installed, but something is blocking its
use. and no "blockers" like add-block and its ilk are installed.


Gene, open preferences/applications and search on "java". See what you 
get. Mine shows "Use Oracle java 7 web start". Your's should have 
something there, depending on what java is installed. But, you need to 
inform Iceweasel/Firefox what to do when it intercepts a java request.


Java 8 is so anal, nothing will run without rock-hard certs. You might 
be better served using Java 7 until your nerves calm down or after 
taking your meds. I had to check my blood sugar first. After all of the 
Java exploits, security is at the point nothing wants to run and nothing 
wants to run it. :) 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/54de5301.3020...@gmail.com



Re: javascript:void(0)

2015-02-13 Thread Liam O'Toole
On 2015-02-13, Ric Moore  wrote:
> On 02/13/2015 09:21 AM, Gene Heskett wrote:
>> On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
>>> On 2015-02-13, Gene Heskett  wrote:

[SNIP]

 Now, the javascript problem? Still remains. A PIMA, if I goto
 www.cbsnews.com it will start to display it, for perhaps a second,
 then this warning pops up and completely displaces the sites content
 downward and off screen about twice the height of the screen so at
 first glance, you assume the site is not available, but on this
 1920x1280 monitor, its still there but you have to scroll down about
 1.5 to 2x the screens height to see the sites contents.

 Slashdot for instance, has about 50% of its screen area devoted to
 javascript errors.  The site can still be used by iceweasal but its
 quite annoying. Konqueror just throw up its hands and sits there, no
 response to clicking on any sublink on any of the mainsleeze news
 sites.
>>>
>>> That's bizarre. I have no such issues with www.cbsnews.com or
>>> slashdot.org when using iceweasel. I don't use konqueror, so I can't
>>> offer a comparison there.
>>>
>>> What do the errors say?
>>
>> If  a pastefrom iceweasal  works:
>> ===
>> The address wasn't understood
>>
>> Iceweasel doesn't know how to open this address, because one of the
>> following protocols (javascript) isn't associated with any program or is
>> not allowed in this context.
>> ===
>>>
 Lots of javascript stuff is installed, but something is blocking its
 use. and no "blockers" like add-block and its ilk are installed.
>
> Gene, open preferences/applications and search on "java". See what you 
> get. Mine shows "Use Oracle java 7 web start". Your's should have 
> something there, depending on what java is installed. But, you need to 
> inform Iceweasel/Firefox what to do when it intercepts a java request.
>
> Java 8 is so anal, nothing will run without rock-hard certs. You might 
> be better served using Java 7 until your nerves calm down or after 
> taking your meds. I had to check my blood sugar first. After all of the 
> Java exploits, security is at the point nothing wants to run and nothing 
> wants to run it. :) Ric

This is (or was) a JavaScript issue rather than a Java one. The two are
easily confused.

-- 

Liam



-- 
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/slrnmdslvr.mjh.liam.p.otoole@dipsy.tubbynet



Grub cannot find the disk after installation completes

2015-02-13 Thread Chris Fisichella

Hi,

I'm trying to install 7.8.0-AMD64  on an HP dc5850. The install went fine.
After it asked me to remove the DVD so it could reboot, Grub loads and
reports:

error: no such disk

I booted into rescue mode using DVD 1, went to a shell and ran:
# fdisk -l /dev/sda
 boot
    System
/dev/sda1  
*  
Linux
/dev/sda2  
Extended
/dev/sda5  
Linux LVM

I wanted to look at grub.cfg so I typed:
# mount /dev/sda1 /mnt

cd mnt/grub
nano grub.cfg

Everything looks fine. It does say:
set root='(hd0,msdos1)'

I don't know where the connection between hd0 and sda1 is made, but this
seems to work for my other Debian machines.

The BIOS manual for this machine does warn to disable IO APIC to help with
"other operating systems." In the BIOS, the location where it is supposed
to be is empty. I don't know what APIC has to do with booting, however.

Any ideas on how to get grub to see the debian installation that is on the
hard disk from which it was run?

Thanks,
Chris


Re: javascript:void(0)

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Gene Heskett wrote:
> If  a pastefrom iceweasal  works:
> ===
> The address wasn't understood
> 
> Iceweasel doesn't know how to open this address, because one of the 
> following protocols (javascript) isn't associated with any program or is 
> not allowed in this context.
> ===

This sounds like you're trying to paste "javascript:void()" into the
address bar of iceweasel, and not having it work. That's to be expected,
as this kind of URI requires the javascript on the original page to be
present in order to work.

The web nowadays pretty much requires javascript, so unless you're using
a browser with a javascript engine built-in, you're going to have trouble.


-- 
Don Armstrong  http://www.donarmstrong.com

Who is thinking this?
I am.
 -- Greg Egan _Diaspora_ p38


-- 
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/20150213202723.gg6...@rzlab.ucr.edu



Re: javascript:void(0)

2015-02-13 Thread Ric Moore

On 02/13/2015 03:00 PM, Liam O'Toole wrote:

On 2015-02-13, Ric Moore  wrote:

On 02/13/2015 09:21 AM, Gene Heskett wrote:

On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:

On 2015-02-13, Gene Heskett  wrote:


[SNIP]


Now, the javascript problem? Still remains. A PIMA, if I goto
www.cbsnews.com it will start to display it, for perhaps a second,
then this warning pops up and completely displaces the sites content
downward and off screen about twice the height of the screen so at
first glance, you assume the site is not available, but on this
1920x1280 monitor, its still there but you have to scroll down about
1.5 to 2x the screens height to see the sites contents.

Slashdot for instance, has about 50% of its screen area devoted to
javascript errors.  The site can still be used by iceweasal but its
quite annoying. Konqueror just throw up its hands and sits there, no
response to clicking on any sublink on any of the mainsleeze news
sites.


That's bizarre. I have no such issues with www.cbsnews.com or
slashdot.org when using iceweasel. I don't use konqueror, so I can't
offer a comparison there.

What do the errors say?


If  a pastefrom iceweasal  works:
===
The address wasn't understood

Iceweasel doesn't know how to open this address, because one of the
following protocols (javascript) isn't associated with any program or is
not allowed in this context.
===



Lots of javascript stuff is installed, but something is blocking its
use. and no "blockers" like add-block and its ilk are installed.


Gene, open preferences/applications and search on "java". See what you
get. Mine shows "Use Oracle java 7 web start". Your's should have
something there, depending on what java is installed. But, you need to
inform Iceweasel/Firefox what to do when it intercepts a java request.

Java 8 is so anal, nothing will run without rock-hard certs. You might
be better served using Java 7 until your nerves calm down or after
taking your meds. I had to check my blood sugar first. After all of the
Java exploits, security is at the point nothing wants to run and nothing
wants to run it. :) Ric


This is (or was) a JavaScript issue rather than a Java one. The two are
easily confused.


Firefox recently started questioning every single use of java and flash, 
to allow them to run once or always, per website. I run Firefox, so if 
you haven't seen this yet with Iceweasel, you will soon! Whew! :) 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/54de5f24.4000...@gmail.com



aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Kynn Jones
[NB: I hope no-one is bothered by the markdown below; I originally
posted this in unix.stackexchange.com, but it was ignored there, so I
deleted it and am reposting it here.  I kept the markdown because I
find it useful, even when it has no effect on the rendering of the
text.]

---


The [documentation][1] for `~S` says:

>  ?narrow(filter, pattern), ~S filter pattern
>
>This term “narrows” the search to package versions matching filter. In 
> particular, it matches any package version which matches both filter and 
> pattern. The string value of the match is the string value of pattern.

I have not been able to find any definition in this documentation of
what it means by the term "filter", and how this term differs from the
term "pattern".  Therefore, it looks like the paragraph above is,
strictly speaking, meaningless.

One may guess that `~S` is an odd, lopsided incarnation of the
standard logical `AND` operator, but [elsewhere][2] the documentation
states (my emphasis):

> A search pattern consists of one or more conditions (sometimes known as 
> “terms”); packages match the pattern if they match ***all*** of its terms.

IOW, the `AND` semantics are already represented through simple concatenation.

All of the above would suggest to me that the `~S` is superfluous, and
that, for example, the following two commands would produce identical
results:

% aptitude search   '~i!~Astable'
% aptitude search '~S~i!~Astable'

...but this expectation turns out to be wrong: when I run these two
commands on my system, the first one produces 5 lines of output (i.e.
5 packages are found), whereas the second one produces 8 (including
the 5 lines of the first one); it is not obvious to me why those extra
3 lines/packages do not show up in the output of the first command.

And, of course, what's most bewildering of all is that, in this
example at least, `~S` does not seem to have had any "narrowing"
effect, but quite the opposite, since I get more "hits" with it than
without it.

In order to make sense of what the documentation is saying, it would
be really helpful to have ***"translations into English"*** of the
clauses `~i!~Astable` and `~S~i!~Astable`, plus any other
clarification that may be needed to make sense of the difference in
the outputs of the two commands above.


  [1]: 
http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s05.html#searchNarrow
  [2]: http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03.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/CAFvQaj7UWmzgS2daJW6X1jZhMXYc9c"sp9w7mddmwjlkb...@mail.gmail.com



Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 02:39:45 PM Ric Moore wrote:
> On 02/13/2015 09:21 AM, Gene Heskett wrote:
> > On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
> >> On 2015-02-13, Gene Heskett  wrote:
> >>> On Friday, February 13, 2015 07:12:37 AM Liam O'Toole wrote:
>  On 2015-02-13, Gene Heskett  wrote:
> > Greetings;
> > 
> > Is there any way to get rid of all these boring screen
> > decorations saying javascipt doesn't work?
> > 
> > There are quite a few javascript "engines" installed, but I
> > haven't managed to find that Magic Twanger yet.
> > 
> > Is this a conscious effort to get rid of javascript?  Or can it
> > be fixed with additional packages installed?
> > 
> > Thanks all.
> > 
> > Cheers, Gene Heskett
>  
>  Could you tell us what Debian release and browser you are using,
>  and what web pages cause the behaviour you describe? Then we
>  would be in a better position to help you.
> >>> 
> >>> This is a special compilation that is 99.9% Wheezy, put together by
> >>> the LinuxCNC people, using the wheezy repos with a couple added
> >>> lines in the /etc/apt/sources.list, available as the hybride-iso on
> >>> the linuxcnc.org web site.  The previous install I ran for quite a
> >>> while was ubuntu-10.04.4 LTS, with a special RTAI patched kernel,
> >>> and it started doing this also shortly after the hurrah about
> >>> javascript having an exploitable problem. I figured it would be
> >>> fixed by now in a newer install. It effects anything that looks
> >>> like a browser, Konqueror, iceweasal, firefox, but have not
> >>> checked w3m however.
> >> 
> >> w3m doesn't support javascript, so you won't have any
> >> javascript-related trouble with it. :-)
> >> 
> >> [SNIP]
> >> 
> >>> Now, the javascript problem? Still remains. A PIMA, if I goto
> >>> www.cbsnews.com it will start to display it, for perhaps a second,
> >>> then this warning pops up and completely displaces the sites
> >>> content downward and off screen about twice the height of the
> >>> screen so at first glance, you assume the site is not available,
> >>> but on this 1920x1280 monitor, its still there but you have to
> >>> scroll down about 1.5 to 2x the screens height to see the sites
> >>> contents.
> >>> 
> >>> Slashdot for instance, has about 50% of its screen area devoted to
> >>> javascript errors.  The site can still be used by iceweasal but its
> >>> quite annoying. Konqueror just throw up its hands and sits there,
> >>> no response to clicking on any sublink on any of the mainsleeze
> >>> news sites.
> >> 
> >> That's bizarre. I have no such issues with www.cbsnews.com or
> >> slashdot.org when using iceweasel. I don't use konqueror, so I can't
> >> offer a comparison there.
> >> 
> >> What do the errors say?
> > 
> > If  a pastefrom iceweasal  works:
> > ===
> > The address wasn't understood
> > 
> > Iceweasel doesn't know how to open this address, because one of the
> > following protocols (javascript) isn't associated with any program or
> > is not allowed in this context.
> > ===
> > 
> >>> Lots of javascript stuff is installed, but something is blocking
> >>> its use. and no "blockers" like add-block and its ilk are
> >>> installed.
> 
> Gene, open preferences/applications and search on "java". See what you
> get. Mine shows "Use Oracle java 7 web start". Your's should have
> something there, depending on what java is installed. But, you need to
> inform Iceweasel/Firefox what to do when it intercepts a java request.
> 
> Java 8 is so anal, nothing will run without rock-hard certs. You might
> be better served using Java 7 until your nerves calm down or after
> taking your meds. I had to check my blood sugar first.

So do I, close to 200 ATM.

> After all of the
> Java exploits, security is at the point nothing wants to run and
> nothing wants to run it. :) Ric

Not for sure what I have, but I think its iced-tea.  Whatever, that seems 
to work.  And doesn't tell me if it doesn't...  Somehow, that could be 
construed to be an advantage.  I think. :)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502131745.56404.ghesk...@wdtv.com



Re: javascript:void(0)

2015-02-13 Thread Gene Heskett
On Friday, February 13, 2015 03:31:32 PM Ric Moore wrote:
> On 02/13/2015 03:00 PM, Liam O'Toole wrote:
> > On 2015-02-13, Ric Moore  wrote:
> >> On 02/13/2015 09:21 AM, Gene Heskett wrote:
> >>> On Friday, February 13, 2015 09:01:25 AM Liam O'Toole wrote:
>  On 2015-02-13, Gene Heskett  wrote:
> > [SNIP]
> > 
> > Now, the javascript problem? Still remains. A PIMA, if I goto
> > www.cbsnews.com it will start to display it, for perhaps a
> > second, then this warning pops up and completely displaces the
> > sites content downward and off screen about twice the height of
> > the screen so at first glance, you assume the site is not
> > available, but on this 1920x1280 monitor, its still there but
> > you have to scroll down about 1.5 to 2x the screens height to
> > see the sites contents.
> > 
> > Slashdot for instance, has about 50% of its screen area devoted
> > to javascript errors.  The site can still be used by iceweasal
> > but its quite annoying. Konqueror just throw up its hands and
> > sits there, no response to clicking on any sublink on any of the
> > mainsleeze news sites.
>  
>  That's bizarre. I have no such issues with www.cbsnews.com or
>  slashdot.org when using iceweasel. I don't use konqueror, so I
>  can't offer a comparison there.
>  
>  What do the errors say?
> >>> 
> >>> If  a pastefrom iceweasal  works:
> >>> ===
> >>> The address wasn't understood
> >>> 
> >>> Iceweasel doesn't know how to open this address, because one of the
> >>> following protocols (javascript) isn't associated with any program
> >>> or is not allowed in this context.
> >>> ===
> >>> 
> > Lots of javascript stuff is installed, but something is blocking
> > its use. and no "blockers" like add-block and its ilk are
> > installed.
> >> 
> >> Gene, open preferences/applications and search on "java". See what
> >> you get. Mine shows "Use Oracle java 7 web start". Your's should
> >> have something there, depending on what java is installed. But, you
> >> need to inform Iceweasel/Firefox what to do when it intercepts a
> >> java request.
> >> 
> >> Java 8 is so anal, nothing will run without rock-hard certs. You
> >> might be better served using Java 7 until your nerves calm down or
> >> after taking your meds. I had to check my blood sugar first. After
> >> all of the Java exploits, security is at the point nothing wants to
> >> run and nothing wants to run it. :) Ric
> > 
> > This is (or was) a JavaScript issue rather than a Java one. The two
> > are easily confused.
> 
> Firefox recently started questioning every single use of java and
> flash, to allow them to run once or always, per website. I run
> Firefox, so if you haven't seen this yet with Iceweasel, you will
> soon! Whew! :) Ric

I am already seeing something that resembles this with konqueror.  Its a 
bleeping nuisance.  As a browser, konqueror needs lots of help.  At least 
in a gnome environment.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


-- 
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/201502131750.31242.ghesk...@wdtv.com



Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Kynn Jones wrote:
> The [documentation][1] for `~S` says:
> >  ?narrow(filter, pattern), ~S filter pattern
> >
> >This term “narrows” the search to package versions matching
> >filter. In particular, it matches any package version which
> >matches both filter and pattern. The string value of the match is
> >the string value of pattern.
> 
> I have not been able to find any definition in this documentation of
> what it means by the term "filter", and how this term differs from the
> term "pattern". Therefore, it looks like the paragraph above is,
> strictly speaking, meaningless.

The critical bit that you're missing from this paragraph is "versions".

See
http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s03.html
for details.

> All of the above would suggest to me that the `~S` is superfluous, and
> that, for example, the following two commands would produce identical
> results:
> 
> % aptitude search   '~i!~Astable'

This means "installed packages which are not in stable at all".

> % aptitude search '~S~i!~Astable'

This means "installed package where the same version is not available in
stable"


-- 
Don Armstrong  http://www.donarmstrong.com

Cheop's Law: Nothing ever gets built on schedule or within budget.
 -- Robert Heinlein _Time Enough For Love_ p242


-- 
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/20150213232142.gl6...@rzlab.ucr.edu



Need help on wireless card setup

2015-02-13 Thread Long Wind
I plug a PCI wireless card into PC. Below are msg related to it:

[   11.292510] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   11.312937] airo(): Probing for PCI adapters
[   11.313104] airo :00:09.0: PCI INT A -> Link[LNKD] -> GSI 5
(level, low) -> IRQ 5
[   11.313131] airo :00:09.0: setting latency timer to 64
[   11.715306] parport_pc 00:08: reported by Plug and Play ACPI
[   11.715462] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
[   12.602463] airo(): cmd:111 status:7f11 rsp0:2 rsp1:0 rsp2:0
[   12.602549] airo(): Doing fast bap_reads
[   13.439943] padlock: VIA PadLock not detected.
[   13.481128] airo(eth0): Firmware version 5.40.0a
[   13.481145] airo(eth0): WPA supported.
[   13.481160] airo(eth0): MAC enabled 00:11:20:40:13:9b
[   13.505445] ACPI: I/O resource piix4_smbus [0xe800-0xe807]
conflicts with ACPI region SM00 [0xe800-0xe806]
[   13.505542] ACPI: If an ACPI driver is available for this device,
you should use it instead of the native driver
[   13.505882] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   13.510342] airo(): Finished probing for PCI adapters
[   13.526116] Error: Driver 'pcspkr' is already registered, aborting...

and I run "iw wlan0 info", it complains:nl80211 not found.


What should I do next? Thanks!!!


-- 
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/cab-gxzbpy_brrtcz3ob21ogxpuwb0vddpkeppdlo6y3vfht...@mail.gmail.com



Re: Changing the install path of a web package

2015-02-13 Thread Cindy-Sue Causey
On 2/13/15, Don Armstrong  wrote:
>
> Generally speaking, packages shouldn't be installing to /var/www either,
> they should be installing to /usr/share or similar.
>
> Personally, I'd just copy the files if I was going to modify themq,
> and/or use Directory/Location directives in the apache configuration
> files to avoid having multiple copies if I wasn't. [There's no real need
> to worry about backing the files up if you don't modify them, as you can
> always just reinstall the package to get them back.]



In line with what I'm "hearing" Don say, have you tried just letting
it have its head so it installs where it wants to and then test it to
see if it functions properly?

I've played with Apache and similar and am just thinking... That all
worked for me when things were all installed in their intended default
locations... like where they fall under /usr/bin and such...

If you install as root and just let it go where it's defaulted by
developers to land, you're leaning more towards protecting your setup.
That's not saying you or anyone else trying to do what you're doing
doesn't know what they're doing, but at least you're just keeping
another (default) protective layer between your vital functions and
intruders

Did that come out right at all, or, if not, can someone tweak where
what I'm trying to say actually gets said..?

I used to be super bullheaded about how I set up my systems.. Wasted a
LOT of unnecessary, unrecoverable time doing so.. I don't to do that
anymore. Well, not much anyway. Developers set things up the way they
are for a reason, one primary one being the security of our systems
overall.. :)

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with plastic sporks *


-- 
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/cao1p-kc4zx-oq-_tewrxty7r4tqcslyf00d5me_yhs57j1t...@mail.gmail.com



Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Kynn Jones
On Fri, Feb 13, 2015 at 6:21 PM, Don Armstrong  wrote:
> On Fri, 13 Feb 2015, Kynn Jones wrote:
>> The [documentation][1] for `~S` says:
>> >  ?narrow(filter, pattern), ~S filter pattern
>> >
>> >This term “narrows” the search to package versions matching
>> >filter. In particular, it matches any package version which
>> >matches both filter and pattern. The string value of the match is
>> >the string value of pattern.
>>
>> I have not been able to find any definition in this documentation of
>> what it means by the term "filter", and how this term differs from the
>> term "pattern". Therefore, it looks like the paragraph above is,
>> strictly speaking, meaningless.
>
> The critical bit that you're missing from this paragraph is "versions".
>
> See
> http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s03.html
> for details.

That was indeed illuminating.  Thank you!

(Unfortunately, it says nothing about "filters", let alone how they
differ from "patterns".)


>> % aptitude search   '~i!~Astable'
>
> This means "installed packages which are not in stable at all".
>
>> % aptitude search '~S~i!~Astable'
>
> This means "installed package where the same version is not available in
> stable"

OK, that's crystal clear and extremely helpful.  Thank you very much!

kj


--
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/cafvqaj7-iwrsnqkurccwfzxdwsnz0jevmqr-yztkp+fvet9...@mail.gmail.com



Re: aptitude search: What exactly does `~S` (aka `~narrow`) do?

2015-02-13 Thread Don Armstrong
On Fri, 13 Feb 2015, Kynn Jones wrote:
> (Unfortunately, it says nothing about "filters", let alone how they
> differ from "patterns".)

Yeah, that bit of the documentation is really confusing, and certainly
should be improved. I have to admit that I had to read it very carefully
for a while (and it's not the first time that I've done complicated
things with aptitude search terms, either.)

-- 
Don Armstrong  http://www.donarmstrong.com

This can't be happening to me. I've got tenure.
 -- James Hynes _Publish and Perish_


-- 
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/20150214044225.gx27...@teltox.donarmstrong.com



Re: Is there a way to undo web browser changing desktop manager

2015-02-13 Thread Bret Busby
On 13/02/2015, Liam O'Toole  wrote:
> On 2015-02-13, Bret Busby  wrote:
>> On 12/02/2015, Liam O'Toole  wrote:
>>> On 2015-02-12, Bret Busby  wrote:
 Hello.

 I am running Debian 6 LTS, with the GNOME Desktop Manager (if that is
 what it is named).

 I have three web browsers open; Arora, Konqueror and Rekonq.

 Each of the web browsers, is used for different reasons.

 None of them, appear to have provision for saving sessions.

 In accessing a particular web site, which appears to use the malware
 javascript, I tried with Konqueror, as the most stable of these web
 browsers, and that would not open the web site, so I opened the web
 site with Rekonq.

 When the web page involved, opened, it cahnged the desktop GUI theme,
 to some MS Windows like theme.
>>>
>>> That's very peculiar. Could you let us have the URL of the page, and
>>> screenshots of you desktop before and after the event?
>>>
>>
>> I have booted my other Debian 6 LTS system, to try to do what you
>> want, with the "before and after"  things, but the Rekonq on the othe
>> system, behave differently, and refuses to accept changes to the
>> Rekonq settings, instead imposing some crap "speed dial" interface,
>> like the crappy Opera "speed dial" interface, that sits there, trying
>> to load. I can not change the settings in Rekonq, on that system, to
>> force it to open tabs with a blank page.
>
> I'm not sure I understand the above, nor I am sure that is has any
> relevance to your original question. Can you just open the same URL in
> the same browser on your other system? Is something preventing you from
> doing that?
>

You asked for screenshots of the "before and after" scenario's.

I can not restore the "before" GUI, to give screenshots of the
interface before the interface was changed, without rebooting the
system, assuming that rebooting will restore the interface that
existed before the unsolicited change.

I have, in the last hour or so, had a Rekonq crash, which I assume is
due to javascript possibly having been temporarily enabled, and not
remembered to disable the javascript after a particular action.

I note that an unexplained popup existed, when I saw the Rekonq crash
(I came back to the computer, after being away for about an hour - I
needed to deliver a printout of a PDF file, that was a bad file, for
which, I had to use the GIMP, to print the file, opening and printing,
each page of the file, separately - much faulty software, exists, such
as the software that created that bad PDF file) - javascript allows
unsolicited popups, regardless of how I configure web browser
settings, to disallow popups - they (the popups) are malware.

But, as Arora and Konqueror, do not save sessions, I want to wait
until I have dealt with everything that is open, or, for the next
system crash, whichever happens first, before rebooting the system

>>
>> So, as the system (Debain 6 LTS) is incapable of having consistemt
>> interfaces across different systems, I will have to wait until the
>> next time that I have a system crash on this system, before providing
>> the "before and after" stuff, providing that, when the system crashes,
>> it goes back to the way that it was before the web browser changed the
>> GUI.
>
> By the way, why are you using Debian 6 LTS?
>

>From my experience, Debian 7 has neither the desired interface, nor,
the functionality, that Debian 6 has.

So far, the only advantage of Debian 7, over Debian 6, that I have
witnessed, is that Debian 7 is capable of running on a GPT/UEFI
system, whereas (I believe that) Debian 6 does not have that
capability. Although, I have yet to get the Debian 7 system
operational again, after PC-BSD 10.1.1 trashed the GRUB bootloader (as
mentioned in a previous thread).

-- 
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
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/CACX6j8Py_ExFZXf7j=wdoz3bgto19xropanut5orhwx2fqv...@mail.gmail.com