Re: Setting up local Debian mirror

2010-08-03 Thread Camaleón
El 2010-08-03 a las 09:33 +0200, TooMeeK escribió:

(resending to the list)

>  When I'm doing *aptitude update* I receive:

Please, set the locale to English (just for this time) so we can get 
the error. Run:

export LANG=en_US.UTF-8; sudo aptitude update

> tom...@server:~$ sudo aptitude update
> Ignorowane file: lenny/main Release.gpg
> Ignorowane file: lenny/main/contrib Translation-pl
> Ignorowane file: lenny/main/non-free Translation-pl
> Ignorowane file: lenny/updates/main Translation-pl
> Pobieranie:1 file: lenny/updates Release.gpg [835B]
> Ignorowane file: lenny/updates/contrib Translation-pl
> Ignorowane file: lenny/volatile/main Translation-pl
> Pobieranie:2 file: lenny/volatile Release.gpg [481B]
> Ignorowane file: lenny/volatile/contrib Translation-pl
> Ignorowane file: lenny/main Release
> Pobieranie:3 file: lenny/updates Release [40,8kB]
> Pobieranie:4 file: lenny/volatile Release [40,7kB]
> Ignorowane file: lenny/main/contrib Packages
> Ignorowane file: lenny/main/non-free Packages
> Ignorowane file: lenny/main/contrib Packages
> Ignorowane file: lenny/main/non-free Packages
> Błąd file: lenny/main/contrib Packages
> *  Nie odnaleziono pliku*
> Błąd file: lenny/main/non-free Packages
> *  Nie odnaleziono pliku*
> Ignorowane file: lenny/updates/main Packages
> Ignorowane file: lenny/updates/contrib Packages
> Ignorowane file: lenny/updates/main Sources
> Ignorowane file: lenny/updates/contrib Sources
> Ignorowane file: lenny/volatile/main Packages
> Ignorowane file: lenny/volatile/contrib Packages
> Ignorowane file: lenny/volatile/main Sources
> Ignorowane file: lenny/volatile/contrib Sources
> Czytanie list pakietów... Gotowe
>
> "Nie odnaleziono pliku" = "Cannot find file"

It seems to complain about just one file :-?

Check the log. I barely use aptitude but maybe there is something 
interesthing under "/var/log/aptitude"

> added following sources:
>
> #From HDD
> /*
> deb file:/home2/apt-mirror/mirror/ftp.pl.debian.org/debian lenny/main contrib 
> non-free
> deb file:/home2/apt-mirror/mirror/security.debian.org/ lenny/updates main 
> contrib
> deb-src file:/home2/apt-mirror/mirror/security.debian.org/ lenny/updates main 
> contrib
> deb file:/home2/apt-mirror/mirror/volatile.debian.org/debian-volatile 
> lenny/volatile main contrib
> deb-src  file:/home2/apt-mirror/mirror/volatile.debian.org/debian-volatile 
> lenny/volatile main contrib
> */
>
> -- Wiadomość oryginalna --
> Temat:Setting up local Debian mirror
> Data: Fri, 30 Jul 2010 21:09:46 +0200
> Nadawca:  TooMeeK 
> Adresat:  mirr...@debian.org
>

Leaving the complete message so people can also see it.

Greetings,

-- 
Camaleón 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803075737.ga4...@stt008.linux.site



Re: bug 530024 on squeeze

2010-08-03 Thread Joao Ferreira gmail
On Mon, 2010-08-02 at 22:39 +0100, Brad Rogers wrote:
> On Mon, 02 Aug 2010 17:13:03 -0400
> "John A. Sullivan III"  wrote:
> 
> Hello John,
> 
> > I wonder if this is why there are some many problems with Evolution
> > 2.30 breaking.  From those threads, it seems that Evolution is looking
> 
> I don't use Evo, but from what you say, it seems highly likely that
> Network Manager's bug is the problem.

I use Evolution and yes, Evolutio relies on NM to determine if a
connection is up or not

If NM says there is no connection, then Evo will go into Offline mode;
sometimes I need to tell it to "Work Online" in order to have it work.

jmf


> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280824920.4921.3.ca...@debj5n.critical.pt



GNOME screensaver's abnormal behaviour

2010-08-03 Thread Merciadri Luca
Hi,

I have a random GNOME screensaver, a default one, on this computer
(debian Lenny w. kernel 2.6.26-2-686-bigmem).

It gets `paused' by pressing Esc, and is `de-paused' by pressing Esc
again. Left click does the same effect as pushing Esc, but right click
lets me get out of it. I am sometimes unable to get out of it, and I
need to restart the X-server, or go to another tty. I'm pretty sure that
this behaviour is not normal, and I would like to know what would cause
it, and if anybody has ever got the same problems. I looked at the
different logs, but found nothing interesting. Most of the time, simply
moving the mouse gets me out of the screensaver, but, in other cases,
moving the mouse gives nothing, and the situation is the one I describe
with Esc and right click.

Any ideas?

Thanks.

-- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


A real friend is someone who walks in when the rest of the world walks out.




signature.asc
Description: OpenPGP digital signature


Re: match across line using grep

2010-08-03 Thread Andre Majorel
On 2010-08-02 14:56 +0800, Zhang Weiwu wrote:

> I'm grepping a bunch of files each have a segment code that
> executes a SQL. My problem is that the query spans across
> several lines and I can't seem to make grep honor (?s) for
> that. Here's an example:
> 
> grep --E 'select.*from.*;' .

"--E" ? Did you mean "-E" ?

> so that matches the following fine:
> 
> select * from mytable where id=1;
> 
> 
> however, it does not match the following:
> 
> select * from mytable where id=1
> and name='foo'";

So your search unit is one SQL statement. You need something
that knows SQL syntax and can extract SQL statements from your
file and present them to grep, each on its own line.

If all the semicolons in your SQL code terminate a statement
(E.G. no semicolons in string constants), you might be able to
get away with

  tr '\n;' ' \n'

> I tried to use -z parameter for grep, which the manual says
> would make grep not treating \n as line terminator. But it
> doesn't work neither. A simple test shows I might have
> misunderstood the use of -z:
> 
> $ printf 'a\nb' | grep -zo a.*b
> 
> (The above should output something /if/ -z would make egrep
> not consider \n as string terminator. But it has produced no
> output)

But grep -z does. This would seem to be an undocumented
limitation of -o.

-- 
André Majorel 
"Of course the Debian project would never publish my email address !
Do you think they're stupid ? Spammers would harvest it."


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803095328.ga19...@aym.net2.nerim.net



Re: match across line using grep

2010-08-03 Thread Zhang Weiwu
On 2010年08月03日 17:53, Andre Majorel wrote:
>> > $ printf 'a\nb' | grep -zo a.*b
>> > 
>> > (The above should output something /if/ -z would make egrep
>> > not consider \n as string terminator. But it has produced no
>> > output)
>> 
> But grep -z does. This would seem to be an undocumented
> limitation of -o.
>   

No it doesn't.

$ printf 'a\nb' | grep -z 'a.*b'
$



how to dual boot debian with redhat?

2010-08-03 Thread hadi motamedi
Dear All
On my debian machine, I need to install redhat on one of its partitions and
so make it dual boot . Can you please let me know how this can be
accomplished?
Thank you


Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 10:48:34 +0200, Merciadri Luca wrote:

> I have a random GNOME screensaver, a default one, on this computer
> (debian Lenny w. kernel 2.6.26-2-686-bigmem).
> 
> It gets `paused' by pressing Esc, and is `de-paused' by pressing Esc
> again. Left click does the same effect as pushing Esc, but right click
> lets me get out of it. I am sometimes unable to get out of it, and I
> need to restart the X-server, or go to another tty. I'm pretty sure that
> this behaviour is not normal, and I would like to know what would cause
> it, and if anybody has ever got the same problems. I looked at the
> different logs, but found nothing interesting. Most of the time, simply
> moving the mouse gets me out of the screensaver, but, in other cases,
> moving the mouse gives nothing, and the situation is the one I describe
> with Esc and right click.

There are some bugs¹ for "gnome-screensaver". Take a look and check if 
any of them fits into yours.

OTOH, you can:

1/ Review your "/var/log/Xorg.0.log" and "~./xsession-errors"
2/ Try with a fixed screensaver
3/ Try with no screensaver at all, just use display power manager options 
to dim the screen and render it black.

And verify if it's still reproducible.

Are you using any power saving (suspend to ram or suspend to disk) 
settings? Are you using VGA proprietary drivers?

¹ 
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gnome-screensaver;dist=unstable

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.12.14...@gmail.com



Re: match across line using grep

2010-08-03 Thread Andre Majorel
On 2010-08-03 19:37 +0800, Zhang Weiwu wrote:
> On 2010???08???03??? 17:53, Andre Majorel wrote:
> >> > $ printf 'a\nb' | grep -zo a.*b
> >> > 
> >> > (The above should output something /if/ -z would make egrep
> >> > not consider \n as string terminator. But it has produced no
> >> > output)
> >> 
> > But grep -z does. This would seem to be an undocumented
> > limitation of -o.
> >   
> 
> No it doesn't.
> 
> $ printf 'a\nb' | grep -z 'a.*b'
> $

You're welcome. What version of grep ?

-- 
André Majorel 
If the Debian project published their users' email addresses,
we'd be getting spam. So I'm glad they don't.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803123949.ga4...@aym.net2.nerim.net



Onboard ethernet adapter lights not flash anymore... Network not connect too!

2010-08-03 Thread Marcelo Laia
Hi,

Suddenly, my onboard ethernet adapter lights not flash anymore and my
network not connect too! I already have changed the cable and nothing
goes up.

Now, I only could connect by wireless network.

Have you any clue to me?

My system:

Debian testing

Linux laia 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

-- 
Marcelo Luiz de Laia
Diamantina - MG - Brasil (Brazil)
Linux user number 487797


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimp1w-os-dy8gjpztwostksszt+act80w+de...@mail.gmail.com



Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Camaleón  writes:

> On Tue, 03 Aug 2010 10:48:34 +0200, Merciadri Luca wrote:
>
>> I have a random GNOME screensaver, a default one, on this computer
>> (debian Lenny w. kernel 2.6.26-2-686-bigmem).
>> 
>> It gets `paused' by pressing Esc, and is `de-paused' by pressing Esc
>> again. Left click does the same effect as pushing Esc, but right click
>> lets me get out of it. I am sometimes unable to get out of it, and I
>> need to restart the X-server, or go to another tty. I'm pretty sure that
>> this behaviour is not normal, and I would like to know what would cause
>> it, and if anybody has ever got the same problems. I looked at the
>> different logs, but found nothing interesting. Most of the time, simply
>> moving the mouse gets me out of the screensaver, but, in other cases,
>> moving the mouse gives nothing, and the situation is the one I describe
>> with Esc and right click.
>
> There are some bugs¹ for "gnome-screensaver". Take a look and check if 
> any of them fits into yours.
>
> OTOH, you can:
>
> 1/ Review your "/var/log/Xorg.0.log" and "~./xsession-errors"
Done. The former gives mainly

SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled

when the latter gives nothing interesting.

> 2/ Try with a fixed screensaver
Done. It majoritarly happens with `Pop art squares.'

> 3/ Try with no screensaver at all, just use display power manager options 
> to dim the screen and render it black.
Sometimes stalls too. (Old memories, though.) :(

> And verify if it's still reproducible.
See above.

> Are you using any power saving (suspend to ram or suspend to disk) 
> settings?
No.

> Are you using VGA proprietary drivers?
Looks so:

==
[...]
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
[...]
(II) NVIDIA dlloader X Driver  173.14.09  Wed Jun  4 23:47:25 PDT 2008
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[...]
(--) NVIDIA(0): Connected display device(s) on GeForce 8400 GS at PCI:1:0:0:
(--) NVIDIA(0): Samsung SyncMaster (CRT-1)
(--) NVIDIA(0): Samsung SyncMaster (DFP-0)
(--) NVIDIA(0): Samsung SyncMaster (CRT-1): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-1, DFP-0
(II) NVIDIA(0): Assigned Display Devices: CRT-1, DFP-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):
(II) NVIDIA(0): "CRT:nvidia-auto-select+1680+0,DFP:nvidia-auto-select+0+0"
(II) NVIDIA(0): "CRT:1280x1024+0+0,DFP:NULL"
(II) NVIDIA(0): "CRT:1280x1024+1680+0,DFP:nvidia-auto-select+0+0"
==

But they are mainly used for CUDA capability, aren't they?

>
> ¹
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gnome-screensaver;dist=unstable
Checked.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Laugh and the world laughs with you ... Cry and you will find no one
  with tears.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkxYFH8ACgkQM0LLzLt8MhyXCgCgkiirxP4W8uRNMtGVz+Ql1LxG
x9sAn0WTFS+7PB5YOU4SsaUV46DIvMdD
=dKHJ
-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: 
http://lists.debian.org/87lj8nj14v@merciadriluca-station.merciadriluca



Re: how to dual boot debian with redhat?

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 16:22 +0430, hadi motamedi wrote:
> Dear All
> On my debian machine, I need to install redhat on one of its
> partitions and so make it dual boot . Can you please let me know how
> this can be accomplished?

Hello,

the process should be quite straightforward.

1st u need to make sure you have a free partition with no relevant data
on it (partition to instal RH). 

then you simply start installing RedHat on the machine and (this is the
critical part) make absolutelly sure you tell the installer to choose
the correct partition (the partition you choose for RH will be formated
and any data in it will be lost).

in the end you can choose to instal the bootloader (GRUB possibly) and
it will detect you have Debian too and do all the magic for you. grub
usually does a very good job finding you other operatin systems and
automagically configuring the dual-boot...

It's usually a very simple process with no expert knowledge involved.

Just make sure you know exactly which is the partition that is empty
when the RH installer asks you to format the disk. you need to be 100%
sure of this. If you're not just power off the machine.

also make sure GRUB (or LILO, I0'm not sure) is installed in the end.
The normal installation process should probably do this for you. Just
read the messages. there should be no problem.

But... just in case... make a backup of all you important stuff in
Debian.

Cheers
jmf

> Thank you
> 
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280841911.4921.20.ca...@debj5n.critical.pt



Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 15:07:12 +0200, Merciadri Luca wrote:

> Camaleón writes:

(...)

>> 1/ Review your "/var/log/Xorg.0.log" and "~./xsession-errors"
> Done. The former gives mainly
> 
> SetGrabKeysState - disabled
> SetGrabKeysState - enabled

(...)

That seems to be unrelated.

> when the latter gives nothing interesting.

Mmm, I'd had expected more errors here (on "xsession-errors").
 
>> 2/ Try with a fixed screensaver
> Done. It majoritarly happens with `Pop art squares.'

It does not use opengl at all, seems to be pretty normal screensaver (I 
mean, non-graphics aggressive) :-?

>> 3/ Try with no screensaver at all, just use display power manager
>> options to dim the screen and render it black.
> Sometimes stalls too. (Old memories, though.) :(

Ugh. Then the problem can be another (power management related).
 
>> And verify if it's still reproducible.
> See above.
> 
>> Are you using any power saving (suspend to ram or suspend to disk)
>> settings?
> No.

O.k.
 
>> Are you using VGA proprietary drivers?
> Looks so:
> 
> ==
> [...]
> (II) LoadModule: "nvidia"

I also have nvidia proprietary drivers and gnome (lenny) but never 
experienced such problem when exiting from screensaver. I use "dimm 
screen" option, anyway.

> But they are mainly used for CUDA capability, aren't they?

IIRC, CUDA driver is a different one than standard nvidia driver. There 
are two sets of drivers and I guess you are using the common one.

Standard nvidia driver provides 3D hardware acceleration and people use 
it mainly for that.
 
>> ¹
>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gnome-
screensaver;dist=unstable
> Checked.

Are you using xinerama (nvidia setting for using two displays as just one 
big desktop) or any other fancy setup for the displays? If yes, you can 
try to disable (just for testing) and see if you still can reproduce the 
error :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.13.35...@gmail.com



Re: Onboard ethernet adapter lights not flash anymore... Network not connect too!

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 09:39:31 -0300, Marcelo Laia wrote:

> Suddenly, my onboard ethernet adapter lights not flash anymore and my
> network not connect too! I already have changed the cable and nothing
> goes up.

Does the system detect the ethernet network adapter?

"/usr/bin/lspci | grep Ethernet" will tell.

Also, did the kernel properly configure the card?

"/sbin/ifconfig" will tell.

I think it could be a kernel detection/configuration issue (kernel 2.6.34 
fails to detect my wired intel nic) or just a hardware issue (card went 
bad/died).

Also, check the swicth port you are connecting to is in good shape.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.14.18...@gmail.com



Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Camaleón  writes:

> On Tue, 03 Aug 2010 15:07:12 +0200, Merciadri Luca wrote:
>
>> Camaleón writes:
>
> (...)
>
>>> 1/ Review your "/var/log/Xorg.0.log" and "~./xsession-errors"
>> Done. The former gives mainly
>> 
>> SetGrabKeysState - disabled
>> SetGrabKeysState - enabled
>
> (...)
>
> That seems to be unrelated.
>
>> when the latter gives nothing interesting.
>
> Mmm, I'd had expected more errors here (on "xsession-errors").
>
>>> 2/ Try with a fixed screensaver
>> Done. It majoritarly happens with `Pop art squares.'
>
> It does not use opengl at all, seems to be pretty normal screensaver (I 
> mean, non-graphics aggressive) :-?
Sure. I don't like special effects. I like plain things that do their
job. (That's mainly why I like Debian.)

>>> 3/ Try with no screensaver at all, just use display power manager
>>> options to dim the screen and render it black.
>> Sometimes stalls too. (Old memories, though.) :(
>
> Ugh. Then the problem can be another (power management related).
>
>>> And verify if it's still reproducible.
>> See above.
>> 
>>> Are you using any power saving (suspend to ram or suspend to disk)
>>> settings?
>> No.
>
> O.k.
>
>>> Are you using VGA proprietary drivers?
>> Looks so:
>> 
>> ==
>> [...]
>> (II) LoadModule: "nvidia"
>
> I also have nvidia proprietary drivers and gnome (lenny) but never 
> experienced such problem when exiting from screensaver. I use "dimm 
> screen" option, anyway.
>
>> But they are mainly used for CUDA capability, aren't they?
>
> IIRC, CUDA driver is a different one than standard nvidia driver. There 
> are two sets of drivers and I guess you are using the common one.
Some months ago, I installed some CUDA stuff, but I don't even
remember where, so I can't say more about this.
>
> Standard nvidia driver provides 3D hardware acceleration and people use 
> it mainly for that.
>
>>> ¹
>>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gnome-
> screensaver;dist=unstable
>> Checked.
>
> Are you using xinerama (nvidia setting for using two displays as just one 
> big desktop) or any other fancy setup for the displays? If yes, you can 
> try to disable (just for testing) and see if you still can reproduce the 
> error :-?
As you point it correctly, I use Xinerama. I had configured my
xorg.conf using nvidia-settings' GUI, which then results in

==
# cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (bui...@ninsei)  Tue Jun 24 18:11:48 UTC 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (bui...@ninsei)  Fri Sep  5 22:23:08 UTC 2008

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load   "dbe"
Load   "extmod"
Load   "type1"
Load   "freetype"
Load   "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules"   "xorg"
Option "XkbModel"   "pc105"
Option "XkbLayout"  "be"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce 8400 GS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor"Monitor0"
DefaultDepth24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: 
nvidia-auto-select +0+0; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024 
+1680+0, DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection
==

as a xorg.conf file. I have two monitors, with different resolutions,
but with a desktop which extends from one monitor to the other
one. Some weeks ago, I had tried returning to a plain (i.e. trivial)
config for xorg.conf and screens, and the screensaver problem never
reappeared. Evidently, I can

Re: how to dual boot debian with redhat?

2010-08-03 Thread Greg Madden
On Tuesday 03 August 2010 03:52:19 hadi motamedi wrote:
> Dear All
> On my debian machine, I need to install redhat on one of its partitions and
> so make it dual boot . Can you please let me know how this can be
> accomplished?
> Thank you

If you have the resources, I prefer using a VM,  Virtualbox, KVM ...

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008030655.32780.gomadtr...@gci.net



Re: how to dual boot debian with redhat?

2010-08-03 Thread Jordon Bedwell

On 8/3/2010 9:55 AM, Greg Madden wrote:

On Tuesday 03 August 2010 03:52:19 hadi motamedi wrote:

Dear All
On my debian machine, I need to install redhat on one of its partitions and
so make it dual boot . Can you please let me know how this can be
accomplished?
Thank you


If you have the resources, I prefer using a VM,  Virtualbox, KVM ...



No need to bother with any of that on Redhat, Redhat has virtualization 
built in all you have to do is enable it, they are the leader in Xen 
based research.  No, I'm not a Redhat fanboy, just had the luxury of 
deploying a couple hundred RHEL based Xen servers into a grid.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c5838e8.9020...@envygeeks.com



Re: bug 530024 on squeeze

2010-08-03 Thread Osamu Aoki
Hi,

On Mon, Aug 02, 2010 at 11:12:45AM +, Camaleón wrote:
> On Mon, 02 Aug 2010 10:48:14 +0100, Joao Ferreira gmail wrote:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024
...
> Mmm, if the bug is that ethernet cards are not detected/recognized by 
> default by NM, yes, the "problem" is still there, at least for me.
> 
> (not really a "problem" because I never use NM :-P)
> 
> Side note: ethernet card is fully available/operative, just NM detects 
> nothing.

Is this bug?  This seems to me user configuration issue.  I am basically
follwing: README.Debian NEWS.Debian.gz of network-manager Just disable
eth0 in /etc/network/interfaces like:


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
-

Then NM will detect eth0




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803152959.ga12...@debian.org



Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 16:10:01 +0200, Merciadri Luca wrote:

> Camaleón writes:

(...)

>> Are you using xinerama (nvidia setting for using two displays as just
>> one big desktop) or any other fancy setup for the displays? If yes, you
>> can try to disable (just for testing) and see if you still can
>> reproduce the error :-?

> As you point it correctly, I use Xinerama. I had configured my xorg.conf
> using nvidia-settings' GUI, which then results in

(...)

> Section "ServerFlags"
> Option "Xinerama" "0"
> EndSection

(...)

> Section "Screen"
> Identifier "Screen0"
> Device "Videocard0"
> Monitor"Monitor0"
> DefaultDepth24
> Option "TwinView" "1"
> Option "TwinViewXineramaInfoOrder" "DFP-0" Option
> "metamodes" "CRT: nvidia-auto-select +1680+0, DFP:
> nvidia-auto-select +0+0; CRT: 1280x1024 +0+0, DFP: NULL; CRT:
> 1280x1024 +1680+0, DFP: nvidia-auto-select +0+0" SubSection
> "Display"
> Depth   24
> EndSubSection
> EndSection

I see...

> as a xorg.conf file. I have two monitors, with different resolutions,
> but with a desktop which extends from one monitor to the other one. Some
> weeks ago, I had tried returning to a plain (i.e. trivial) config for
> xorg.conf and screens, and the screensaver problem never reappeared.
> Evidently, I can't stick with one screen, and I need to use xinerama.

(...)

There you got it. The problem I see here is that while using the nvidia 
driver, developers (meaning, Debian or GNOME DD) are very reluctant to 
diagnose any error coming from (or involving) a closed driver, so your 
only hope is to report any problem at nvidia bugilla (if there is any 
available).

You can also try the "nv" driver (open source). Your screensaver may 
become happy but but you'll lose 3D accel... and "nv" driver is being 
left unmaintained by nvidia guys :-/

I'd better choose a screensaver that doesn't hurt your X.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.15.58...@gmail.com



SD card question

2010-08-03 Thread Zoran Kolic
Just to report that I received kobo reader and immediately
upgraded firmware to newer version, using SD card. Without
a hiccup. Good prepare paid off.
Thaks all who helped to overcome fear and doubts.

  Zoran


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803154541.ga...@faust



Re: how to dual boot debian with redhat?

2010-08-03 Thread B. Alexander
You can also, if you have them partitioned separately, share filesystems. I
used to do that back in the day, with Slackware 2.x and RH 3.0.3. It's just
a matter of mounting the appropriate filesystem to the mount point.

You could probably still do the same with if you are using lvm, as long as
you don't get a namespace collision, e.g. both systems don't use vg00 for
the volume group name.

That said, as an earlier poster said, if you have the resources, use a
virtual machine.

--b


On Tue, Aug 3, 2010 at 7:52 AM, hadi motamedi  wrote:

> Dear All
> On my debian machine, I need to install redhat on one of its partitions and
> so make it dual boot . Can you please let me know how this can be
> accomplished?
> Thank you
>
>
>


Re: bug 530024 on squeeze

2010-08-03 Thread Camaleón
On Wed, 04 Aug 2010 00:29:59 +0900, Osamu Aoki wrote:

> Hi,
> 
> On Mon, Aug 02, 2010 at 11:12:45AM +, Camaleón wrote:
>> On Mon, 02 Aug 2010 10:48:14 +0100, Joao Ferreira gmail wrote:
>> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024
> ...
>> Mmm, if the bug is that ethernet cards are not detected/recognized by
>> default by NM, yes, the "problem" is still there, at least for me.
>> 
>> (not really a "problem" because I never use NM :-P)
>> 
>> Side note: ethernet card is fully available/operative, just NM detects
>> nothing.
> 
> Is this bug?  

Not for me. But having the NM applet started by default and seeing no 
ethernet device there (but working) is a bit confusing for users who want 
to use NM. 

> This seems to me user configuration issue.  I am basically
> follwing: README.Debian NEWS.Debian.gz of network-manager Just disable
> eth0 in /etc/network/interfaces like:
> 
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> #allow-hotplug eth0
> #iface eth0 inet dhcp
> -
> 
> Then NM will detect eth0

Yes, and that's quite similar to the information that the bug report 
(comment #1) refers to.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.16.15...@gmail.com



KDE proxy settings

2010-08-03 Thread Nima Azarbayjany


Hi all,

I have a recent Squeeze install on my laptop with only Gnome desktop and
a few KDE software such as Amarok.  I have installed the systemsettings
package but it does not provide any options to set network proxy
settings.  What additional packages should be installed to provide that
module for the control center of KDE?  I tried kdenetwork (if I remember
the package name correctly) which seemed to be the most relevant thing
to me but it did not help.

Thanks.

Nima



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c5840fc.8090...@gmail.com



Re: bug 530024 on squeeze

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 16:15 +, Camaleón wrote:
> > Is this bug?  
> 
> Not for me. But having the NM applet started by default and seeing no 
> ethernet device there (but working) is a bit confusing for users who
> want 
> to use NM. 

agree ! :)

if NM is a feature in Debian (and affects other SW components) then it
should be operating properly on a fresh install... 

... or fully disabled !

but, no... I would also not call it a bug... just an issue :)

jmf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280853429.4921.35.ca...@debj5n.critical.pt



Re: match across line using grep

2010-08-03 Thread Bob McGowan
On 08/03/2010 05:39 AM, Andre Majorel wrote:
> On 2010-08-03 19:37 +0800, Zhang Weiwu wrote:
>> On 2010???08???03??? 17:53, Andre Majorel wrote:
> $ printf 'a\nb' | grep -zo a.*b
>
> (The above should output something /if/ -z would make egrep
> not consider \n as string terminator. But it has produced no
> output)
 
>>> But grep -z does. This would seem to be an undocumented
>>> limitation of -o.
>>>   
>>
>> No it doesn't.
>>
>> $ printf 'a\nb' | grep -z 'a.*b'
>> $
> 
> You're welcome. What version of grep ?
> 

The -z "sort of" does/doesn't work for me.  If I do this:

$ perl -e 'print "a\nb\0"'| grep -z 'a.*b'
$

There's no output.  But change it like this:

$ perl -e 'print "a\nb\0"'| grep -z 'a'
a
b$

It found, and printed, the newline containing string.  I would suspect
the regex engine is still honoring '. (dot) does not match newline'
convention but is OK with literals, if present.

If, instead of using the '.*' pattern, I embed a literal newline, it
also works:

$ perl -e 'print "a\nb\0"'| grep -z 'a
> b'
a
b$

And just to prove the point, it does work with multiple null terminated
lines:

perl -e 'print "a\nb\0not here\0"'| grep -z 'a
> b'
a
b$

I'm using GNU grep 2.5.3

-- 
Bob McGowan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c584a92.70...@symantec.com



how to config /etc/fetchmailrc

2010-08-03 Thread 郭家华
I wander how to config /etc/fetchmailrc
I configed it as below:

--
set postmaster "xyz"
set bouncemail
set no spambounce
set properties ""
poll imap.gmail.com with proto IMAP user X pass X ssl fetchall
--
my debian username is xyz

but all the mails is fetched to /var/mail/fetchmail, not /var/mail/xyz
I wander why and how to let all mails be fetched into /var/mail/xyz

BTW, I found all mails have been fetched is no longer in the INBOX, for my
gmail. I wander can I make mails stay in the INBOX.


Stubborn USB card reader

2010-08-03 Thread Andre Majorel
I'm having trouble reading Compact flash and SD cards on the
same card reader. I'm not absolutely certain but it *seems* that
once a medium of either type has been inserted, it will ignore
the other type.

Wherever the state is kept, it's not in the module. modprobe -r
usb-storage; modprobe usb-storage gives a kernel message about
"compact flash" even though the only medium in the reader is an
SD card.

Is there a secret /{proc|sys} spell to make it work ?

Thanks in advance.

-- 
André Majorel 
If the Debian project published their users' email addresses,
we'd be getting spam. So I'm glad they don't.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803172622.gb4...@aym.net2.nerim.net



Re: how to config /etc/fetchmailrc

2010-08-03 Thread Paul Cartwright
On Tue August 3 2010, 郭家华 wrote:
> poll imap.gmail.com with proto IMAP user X pass X is xyz here ssl 
fetchall
>  --
> my debian username is xyz
>
> but all the mails is fetched to /var/mail/fetchmail, not /var/mail/xyz
> I wander why and how to let all mails be fetched into /var/mail/xyz

try this:
poll imap.gmail.com with proto IMAP user X pass X is xyz here ssl 
fetchall
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008031343.29839.deb...@pcartwright.com



Re: how to config /etc/fetchmailrc

2010-08-03 Thread Paul Cartwright
On Tue August 3 2010, 郭家华 wrote:
> poll imap.gmail.com with proto IMAP user X pass X ssl fetchall
>  --
> my debian username is xyz
>
> but all the mails is fetched to /var/mail/fetchmail, not /var/mail/xyz
> I wander why and how to let all mails be fetched into /var/mail/xyz
>
> BTW, I found all mails have been fetched is no longer in the INBOX, for my
> gmail. I wander can I make mails stay in the INBOX.

don't use fetchall, use keep.

 poll imap.gmail.com with proto IMAP user X pass X is user xyz ssl 
keep
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008031345.24413.deb...@pcartwright.com



Re: how to dual boot debian with redhat?

2010-08-03 Thread Greg Madden
On Tuesday 03 August 2010 05:25:11 Joao Ferreira gmail wrote:
> On Tue, 2010-08-03 at 16:22 +0430, hadi motamedi wrote:
> > Dear All
> > On my debian machine, I need to install redhat on one of its
> > partitions and so make it dual boot . Can you please let me know how
> > this can be accomplished?
>
> Hello,
>
> the process should be quite straightforward.
>
> 1st u need to make sure you have a free partition with no relevant data
> on it (partition to instal RH).
>
> then you simply start installing RedHat on the machine and (this is the
> critical part) make absolutelly sure you tell the installer to choose
> the correct partition (the partition you choose for RH will be formated
> and any data in it will be lost).
>
> in the end you can choose to instal the bootloader (GRUB possibly) and
> it will detect you have Debian too and do all the magic for you. grub
> usually does a very good job finding you other operatin systems and
> automagically configuring the dual-boot...
>
> It's usually a very simple process with no expert knowledge involved.
>
> Just make sure you know exactly which is the partition that is empty
> when the RH installer asks you to format the disk. you need to be 100%
> sure of this. If you're not just power off the machine.
>
> also make sure GRUB (or LILO, I0'm not sure) is installed in the end.
> The normal installation process should probably do this for you. Just
> read the messages. there should be no problem.
>
> But... just in case... make a backup of all you important stuff in
> Debian.
>
> Cheers
> jmf
>
> > Thank you

What OS do you want to manage grub ? The last installed OS (Redhat?)can 
install grub to the mbr or to the partition. If you tell RH to install grub 
to its partition then Debian can manage grub in the mbr.


-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008030948.35047.gomadtr...@gci.net



Re: GNOME screensaver's abnormal behaviour

2010-08-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Camaleón  writes:

> On Tue, 03 Aug 2010 16:10:01 +0200, Merciadri Luca wrote:
>
>> Camaleón writes:
>
> (...)
>
>>> Are you using xinerama (nvidia setting for using two displays as just
>>> one big desktop) or any other fancy setup for the displays? If yes, you
>>> can try to disable (just for testing) and see if you still can
>>> reproduce the error :-?
>
>> As you point it correctly, I use Xinerama. I had configured my xorg.conf
>> using nvidia-settings' GUI, which then results in
>
> (...)
>
>> Section "ServerFlags"
>> Option "Xinerama" "0"
>> EndSection
>
> (...)
>
>> Section "Screen"
>> Identifier "Screen0"
>> Device "Videocard0"
>> Monitor"Monitor0"
>> DefaultDepth24
>> Option "TwinView" "1"
>> Option "TwinViewXineramaInfoOrder" "DFP-0" Option
>> "metamodes" "CRT: nvidia-auto-select +1680+0, DFP:
>> nvidia-auto-select +0+0; CRT: 1280x1024 +0+0, DFP: NULL; CRT:
>> 1280x1024 +1680+0, DFP: nvidia-auto-select +0+0" SubSection
>> "Display"
>> Depth   24
>> EndSubSection
>> EndSection
>
> I see...
>
>> as a xorg.conf file. I have two monitors, with different resolutions,
>> but with a desktop which extends from one monitor to the other one. Some
>> weeks ago, I had tried returning to a plain (i.e. trivial) config for
>> xorg.conf and screens, and the screensaver problem never reappeared.
>> Evidently, I can't stick with one screen, and I need to use xinerama.
>
> (...)
>
> There you got it. The problem I see here is that while using the nvidia 
> driver, developers (meaning, Debian or GNOME DD) are very reluctant to 
> diagnose any error coming from (or involving) a closed driver, so your 
> only hope is to report any problem at nvidia bugilla (if there is any 
> available).
>
> You can also try the "nv" driver (open source). Your screensaver may 
> become happy but but you'll lose 3D accel... and "nv" driver is being 
> left unmaintained by nvidia guys :-/
>
> I'd better choose a screensaver that doesn't hurt your X.
I'll try. Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

If you fall off a cliff, you might as well try to fly. After all, you got 
nothing to lose.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkxYVmEACgkQM0LLzLt8MhzuPgCeMVCKszZ9XYodFMLGSvsVCZ9g
KggAnR5P+KK6A6H5i4oJyplBJnQGtTPI
=jYzT
-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: 
http://lists.debian.org/87iq3ra8pp@merciadriluca-station.merciadriluca



Re: match across line using grep

2010-08-03 Thread Andre Majorel
On 2010-08-03 09:57 -0700, Bob McGowan wrote:
> On 08/03/2010 05:39 AM, Andre Majorel wrote:
> > On 2010-08-03 19:37 +0800, Zhang Weiwu wrote:
> >> On 2010???08???03??? 17:53, Andre Majorel wrote:
> > $ printf 'a\nb' | grep -zo a.*b
> >
> > (The above should output something /if/ -z would make egrep
> > not consider \n as string terminator. But it has produced no
> > output)
>  
> >>> But grep -z does. This would seem to be an undocumented
> >>> limitation of -o.
> >>
> >> No it doesn't.
> >>
> >> $ printf 'a\nb' | grep -z 'a.*b'
> >> $
> > 
> > You're welcome. What version of grep ?
> 
> The -z "sort of" does/doesn't work for me.  If I do this:
> 
> $ perl -e 'print "a\nb\0"'| grep -z 'a.*b'
> $

  $ printf 'a\nb\0'| grep -z 'a.*b'
  a
  b$ grep --version
  GNU grep 2.5.3

Fun, eh ? Maybe the answer is in there :

  $ locale
  LANG=
  LC_CTYPE=en_US
  LC_NUMERIC="POSIX"
  LC_TIME="POSIX"
  LC_COLLATE=C
  LC_MONETARY="POSIX"
  LC_MESSAGES="POSIX"
  LC_PAPER="POSIX"
  LC_NAME="POSIX"
  LC_ADDRESS="POSIX"
  LC_TELEPHONE="POSIX"
  LC_MEASUREMENT="POSIX"
  LC_IDENTIFICATION="POSIX"
  LC_ALL=

> There's no output.  But change it like this:
> 
> $ perl -e 'print "a\nb\0"'| grep -z 'a'
> a
> b$
> 
> It found, and printed, the newline containing string.  I would suspect
> the regex engine is still honoring '. (dot) does not match newline'
> convention but is OK with literals, if present.

My grep -z acts like it used a regexp engine where "." matches
newline. Only when -o is in effect and there is a newline in the
match, there's no output. But the exit status is still good :

  $ printf 'a\nb\0'| (grep -z 'a.*b' && printf 'st=%d chars=' $? >&2) | wc -c
  st=0 chars=4
  $ printf 'a\nb\0'| (grep -oz 'a.*b' && printf 'st=%d chars=' $? >&2) | wc -c
  st=0 chars=0

-- 
André Majorel 
No one ever sends you any email ? Report a bug in Debian !


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803182837.gc4...@aym.net2.nerim.net



nspluginwrapper, npviewer & iceape

2010-08-03 Thread Thomas H. George
My system is messed up and iceape locks up trying to display some
images with the error message

sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: not found

In fact there is no directory nspluginwrapper in /usr/lib.  The command
dpkg -l nsp* responds

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version   
Description
+++--=-
in  nspluginwrapper  (no 
description available)
ii  nspluginwrapper-i386 1.0.0-2   A 
viewer for i386 compiled Netscape 4 plugin

and locate nspluginwrapper responds

/var/cache/apt/archives/nspluginwrapper_0.9.91.5-2_amd64.deb
/var/cache/apt/archives/nspluginwrapper_1.3.0-1_amd64.deb
/var/lib/dpkg/info/nspluginwrapper-i386.list
/var/lib/dpkg/info/nspluginwrapper-i386.md5sums

but locate npviewer finds nothing.  Something has gotten clobbered.  My
system is Squeeze running on a 2.6.32-5-amd64 kernel image.  Do I still
need an i386 wrapper?  If so how do I restore npviewer?  I tried
following the instructions in iceape/help/about
plugins/plugindoc.mozdev.org and got as far as entering the command

nspluginwrapper -i
/usr/lib/browser-plugins/npjn2_linux_jasper_pthread.so

which fails with message 

bash: nspluginwrapper: command not found

Can someone point me in the right direction?

Tom`


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803185623.ga5...@tomgeorge.info



Re: Stubborn USB card reader

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 19:26:22 +0200, Andre Majorel wrote:

> I'm having trouble reading Compact flash and SD cards on the same card
> reader. I'm not absolutely certain but it *seems* that once a medium of
> either type has been inserted, it will ignore the other type.
> 
> Wherever the state is kept, it's not in the module. modprobe -r
> usb-storage; modprobe usb-storage gives a kernel message about "compact
> flash" even though the only medium in the reader is an SD card.
> 
> Is there a secret /{proc|sys} spell to make it work ?

Have you tested the "unsophisticated" path? Re-plug the USB card reader 
with the desired medium on it. Then issue "mount" to check what 
multimedia card is being mounted/detected and where.

Also, restarting "udev" service (or simulate with "udevtest") may also 
help here :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.03.19.03...@gmail.com



help parsing output

2010-08-03 Thread Dino Vliet
Dear debian people,

Can you help me with this task I have? I have a lot of files in a subdirectory 
containing the following text:

Correctly Classified Instances 3018117   56.6808 %
Incorrectly Classified Instances   2306643   43.3192 %
Kappa statistic  0.2443
Mean absolute error  0.4304
Root mean squared error  0.4586
Relative absolute error    124.1251 %
Root relative squared error    110.1308 %
Total Number of Instances  5324760 


=== Detailed Accuracy By Class ===

TP Rate   FP Rate   Precision   Recall  F-Measure   ROC Area  Class
  0.618 0.343  0.681 0.618 0.648  0.697    1
  0.519 0.244  0.617 0.519 0.564  0.693    2
  0.296 0.141  0.056 0.296 0.094  0.66 3


=== Confusion Matrix ===

   a   b   c   <-- classified as
 1784321  684983  416649 |   a = 1
  787342 1190428  314537 |   b = 2
   49255   53877   43368 |   c = 3

I need to parse this file to get in a csv file the following information:

Correctly Classified Instances, Kappa statistic, Total Number of Instances, 
Precision {1}, Recall {1}, F-Measure {1},Precision {2}, Recall {2}, F-Measure 
{2},Precision {3}, Recall {3}, F-Measure {3},a,b,c,a,b,c,a,b,c
56.6808, 0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564, 
0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368

Does anyone have an idea how this could be accomplished?
I not that great in programming so writing a ruby or shell script do do this 
would take me weeks:-(

Thanks
Dino

 




  

Re: help parsing output

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 12:12 -0700, Dino Vliet wrote:
> Does anyone have an idea how this could be accomplished?
> I not that great in programming so writing a ruby or shell script do
> do this would take me weeks:-(

use perl !!!

now seriously: use perl.

don't wonder around; perl is the way you should go; use perl !

:) it's so easy ...

open up a console and read these 2 perl manuals

$ perldoc perlintro
$ perldoc perlrequick

jmf

> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280863933.4378.4.ca...@debj5n.critical.pt



Re: help parsing output

2010-08-03 Thread John Hasler
Dino writes:
> Does anyone have an idea how this could be accomplished?

Perl.

> I not that great in programming so writing a ruby or shell script do
> do this would take me weeks:-(

Hire someone.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hbjb8plg@thumper.dhh.gt.org



Re: help parsing output

2010-08-03 Thread Kumar Appaiah
On Tue, Aug 03, 2010 at 12:12:26PM -0700, Dino Vliet wrote:
>  Dear debian people,
> 
>  Can you help me with this task I have? I have a lot of files in a 
> subdirectory
>  containing the following text:

You should use awk.

- cut -

>  I need to parse this file to get in a csv file the following information:
> 
>  Correctly Classified Instances, Kappa statistic, Total Number of Instances,
>  Precision {1}, Recall {1}, F-Measure {1},Precision {2}, Recall {2}, F-Measure
>  {2},Precision {3}, Recall {3}, F-Measure {3},a,b,c,a,b,c,a,b,c
>  56.6808, 0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564,
>  
> 0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368
> 
>  Does anyone have an idea how this could be accomplished?
>  I not that great in programming so writing a ruby or shell script do do this
>  would take me weeks:-(

A starting in Awk for processing a single file would be:

BEGIN {
  n_equals = 0;
}

n_equals == 0 && /Correctly Classified/ {
  CCI = $(NF - 2);
}

n_equals == 0 && /Incorrectly Classified/ {
  ICI = $(NF - 2);
}

n_equals == 0 && /Kappa statistic/ {
  KS = $NF
}

…

/ ===/ { n_equals = n_equals + 1 }

n_equals == 1 && /TP Rate/ {
  next;
}

// More complicated processing

END {
  printf "%d,", CCI
  printf "%d,", ICI
  printf "%f", KS
  …
}

You ought to read the Awk manual, and then it would be a mattle of a
couple of hours of thought at most.

HTH.

Kumar
-- 
"Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?"
(By Matt Welsh)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100803194333.ga9...@bluemoon.alumni.iitm.ac.in



wget question

2010-08-03 Thread Curt Howland
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I've wanted to do one thing with wget that just seems like it should 
be easy, but I haven't been able to get a combination of "recurse" 
and "level" that will do it.

All I want to do is download all the files in a specific directory.

The directories are viewable, for example,

http://media.mises.org/mp3/MU2010/

But wget http://media.mises.org/mp3/MU2010/ just gets the index.html 
file, wget http://media.mises.org/mp3/MU2010/* returns an error, and 
the one time I put -r for recursion, it started downloading 
everything in the http://media.mises.org/mp3/ directory!

Does anyone have a trick? Using Konqueror and click-and-dragging every 
single file is a long, boring task that wears out my mouse.

Curt-



- -- 
Those who torment us for our own good will torment us without end,
for they do so with the approval of their consciences.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQEVAwUBTFh0hy9Y35yItIgBAQKu2Af/T0btUYBHIedX8IOQiTJk/PVVmuRBsb7+
6njy4ZGX461Cu6HuAI4AxPn/zeKXxrwUH4al4dWsmuV5vbx5ahiCCZLjbcBjTBvp
tyxsEFymPkJ0hczgPegpCdC6wjZC4XcgRyWhimpFHRq+7xBcmZqrRgATAhXq0eIz
Qm0Fk/jGh47i/xx+K9XezQTA9hGBjuLI+VYj4gosLVHzZRn0sc3x3ga7BNG1CsFh
BUaAm5B9+0aj0tEbnr851iTuk+So9CpiuanbgjPjIOhJbEPYJRCjU0r/TltdvSHI
jqxA8roHqpmCSX5zW93kb88yarLoAZoUOeCfHfHId7WKac9pNyHlxQ==
=yV6h
-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: http://lists.debian.org/201008031557.01068.howl...@priss.com



How do I automate standard input for interactive shell programs?

2010-08-03 Thread Timothy Legg
Hello,

I was bored.  I was playing the worm game from bsdutils and through the
tedium of it all, a thought passed through my mind.  "Hey, this can be
automated.  By following a repetitive procedure, I can win the game - any
time, every time!"  It also occured to me that computers are very well
suited for following repetitive steps, so I thought I would go about
coding a solution.

I believe that having solonoid operated cursor keys is a bit overbuilt,
clunky and is too much like a Goldberg machine for my taste.  So I am
looking for suggestions on how I can emulate a user at standard input
pressing the cursor keys.

Any suggestions?

Tim Legg
~
~
~



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/4ab41df7687798da0f3cfef40ae5ad92.squir...@www.timothylegg.com



Re: wget question

2010-08-03 Thread Jordon Bedwell

On 8/3/2010 2:56 PM, Curt Howland wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I've wanted to do one thing with wget that just seems like it should
be easy, but I haven't been able to get a combination of "recurse"
and "level" that will do it.

All I want to do is download all the files in a specific directory.

The directories are viewable, for example,

http://media.mises.org/mp3/MU2010/

But wget http://media.mises.org/mp3/MU2010/ just gets the index.html
file, wget http://media.mises.org/mp3/MU2010/* returns an error, and
the one time I put -r for recursion, it started downloading
everything in the http://media.mises.org/mp3/ directory!

Does anyone have a trick? Using Konqueror and click-and-dragging every
single file is a long, boring task that wears out my mouse.

Curt-


Check out: http://www.delorie.com/gnu/docs/wget/wget_31.html it has some 
neat tricks for wget, perhaps some along the lines of what you want.  I 
would test a few but my server is too smart for wget and flat out tells 
it where it can go.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c587b21.6060...@envygeeks.com



Re: Stubborn USB card reader

2010-08-03 Thread Bob Proulx
Andre Majorel wrote:
> I'm having trouble reading Compact flash and SD cards on the
> same card reader. I'm not absolutely certain but it *seems* that
> once a medium of either type has been inserted, it will ignore
> the other type.
> 
> Wherever the state is kept, it's not in the module. modprobe -r
> usb-storage; modprobe usb-storage gives a kernel message about
> "compact flash" even though the only medium in the reader is an
> SD card.
> 
> Is there a secret /{proc|sys} spell to make it work ?

Before inserting the media look at the kernel partition table to see
what is already present.

  $ cat /proc/partitions

While inserting your media watch the syslog.

  $ tail -f /var/log/syslog

Look to see what it says about the device when it is inserted.  After
the device is installed and settled look at the kernel partition table
again to see if the kernel has recognized the partition table.

  $ cat /proc/partitions

I think it likely that different media with different partition tables
are presenting different partitions and confusing things.  Such as
/dev/sda versus /dev/sda1 versus /dev/sda5 or other such differences.

Bob


signature.asc
Description: Digital signature


Re: How do I automate standard input for interactive shell programs?

2010-08-03 Thread Bob Proulx
Timothy Legg wrote:
> I was bored.  I was playing the worm game from bsdutils and through the
> tedium of it all, a thought passed through my mind.  "Hey, this can be
> automated.  By following a repetitive procedure, I can win the game - any
> time, every time!"  It also occured to me that computers are very well
> suited for following repetitive steps, so I thought I would go about
> coding a solution.

There is another game like this too.  It can keep the computer about
as busy.  It is a little easier to write on the command line though.

  $ yes | sha1sum

:-)

> I believe that having solonoid operated cursor keys is a bit overbuilt,
> clunky and is too much like a Goldberg machine for my taste.  So I am
> looking for suggestions on how I can emulate a user at standard input
> pressing the cursor keys.

A "standard" tool for this task is 'expect'.

  $ apt-cache show expect

Expect is a tool for automating interactive applications according
to a script.  Following the script, Expect knows what can be
expected from a program and what the correct response should be.
Expect is also useful for testing these same applications.  And by
adding Tk, you can also wrap interactive applications in X11 GUIs.
An interpreted language provides branching and high-level control
structures to direct the dialogue.  In addition, the user can take
control and interact directly when desired, afterward returning
control to the script.

It is designed to spawn programs, expect certain output, send certain
input.  It is based upon TCL.  That is both good and bad.  People will
certainly have opinions about TCL both ways.  You might want to use
the Perl Expect module instead.

  $ sudo apt-get install libexpect-perl

And then you can 'use Expect;' and proceed from there.

  http://search.cpan.org/~rgiersig/Expect-1.15/Expect.pod

Or the Ruby or Python versions of the same.  Then you would have Perl,
Ruby, Python and the full capabilities thereof (instead of TCL) to use
in the programming of your toy.

Good luck!

Bob


signature.asc
Description: Digital signature


Re: match across line using grep

2010-08-03 Thread Bob McGowan
On 08/03/2010 11:28 AM, Andre Majorel wrote:
> On 2010-08-03 09:57 -0700, Bob McGowan wrote:
>> On 08/03/2010 05:39 AM, Andre Majorel wrote:
>>> On 2010-08-03 19:37 +0800, Zhang Weiwu wrote:
 On 2010???08???03??? 17:53, Andre Majorel wrote:
>>> $ printf 'a\nb' | grep -zo a.*b
>>>

<--deleted-->

> Fun, eh ? Maybe the answer is in there :
> 
>   $ locale
>   LANG=
>   LC_CTYPE=en_US
>   LC_NUMERIC="POSIX"
>   LC_TIME="POSIX"
>   LC_COLLATE=C
>   LC_MONETARY="POSIX"
>   LC_MESSAGES="POSIX"
>   LC_PAPER="POSIX"
>   LC_NAME="POSIX"
>   LC_ADDRESS="POSIX"
>   LC_TELEPHONE="POSIX"
>   LC_MEASUREMENT="POSIX"
>   LC_IDENTIFICATION="POSIX"
>   LC_ALL=

This does appear to be the "issue".  My settings are:

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

> 
>> There's no output.  But change it like this:
>>
>> $ perl -e 'print "a\nb\0"'| grep -z 'a'
>> a
>> b$
>>
>> It found, and printed, the newline containing string.  I would suspect
>> the regex engine is still honoring '. (dot) does not match newline'
>> convention but is OK with literals, if present.
> 

I did a sub-shell and reset all the variables to match yours, and,
bingo, the wildcard worked.

Looking through the list of names, nothing seems 'obvious' as a single
contributor.  In fact, the LC_ names all seem to be specific to things
that would not necessarily impact the regex operation.

So, I picked LANG as a starting point and reset it, *only*, to empty.
And got lucky.  That is, apparently, the variable that affects how the
regex is handled.

-- 
Bob McGowan
Symantec
US Internationalization


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c588249.8010...@symantec.com



Debian startup help

2010-08-03 Thread rame0065

Hi,

I have a question regarding the startup of Debian Linux.

I am working on a embedded processor called TS-7800. It has debian linux 
installed on the hardware.


I wanted to include some of own scripts during the startup. So, I began 
with smaller statements(like echo, printf etc..) just for testing purposes.


In the process of testing, I created a script file as below:
/my_script.sh

contents of this file was only:
--
(
  echo "Hello World"
) > $CONSOLE
--
This executed fine. But I wanted to read a user input so I changed it to:
--
(
  echo "Hello World"
  read letter
  echo $letter
) > $CONSOLE
--
Then with no intention of mine, somehow, the "$" symbol from the "echo
$letter" statement got ommitted.
Now the script reads:
--
(
  echo "Hello World"
  read letter
  echo letter
) > $CONSOLE
--

Now during the startup, it is stuck at displaying the "letter" word
infinitely.
I am not able to reach the prompt at all. It is stuck in the booting mode 
indefinitely.


Can you please help me with this? I am really close to be done with my 
project and I cant take the risk of not being able to use my code.


Thanks again for all your help.
-
Varun Ramesh
Research Assistant,
Civil Engineering Dept,
University of Minnesota,
Twin Cities


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/gophermail.2.0.1008031535090.2...@vs-w.tc.umn.edu



Re:

2010-08-03 Thread Rob Owens
On Mon, Aug 02, 2010 at 07:54:21PM -0500, Kent West wrote:
> On 8/2/10 7:06 PM, juan gonzalez wrote:
> > all right, I have 2 questions. can I use .deb files on the the teminal
> > version? and can I upgrade from the terminal one to the desktop one?
> > and how?
> >
> >
> >   
> Yes; if you just have a .deb (say, "whatever.deb"), you can install it
> with "dpkg -i whatever.deb".
> 
> However, as a general rule, you don't want to install .deb files
> directly, because if whatever.deb is dependent on whatsit.deb which is
> dependent on yeah_but.deb, etc etc, then it could quickly become painful
> to install a program.
> 
> Instead, you want to use aptitude (or apt-get) to install a program. In
> this case, it'd probably be "aptitude install whatever", which will
> automagically install whatever and whatsit and yeah_but and whatever
> else might be needed.
> 
> You can also run a curses-based (text-based) point-and-click style
> interface of aptitude by just running "aptitude", but honestly, that
> confuses me more than just using the command-line mode of aptitude.
> 
I like the interactive curses-based aptitude, but I was confused by it
at first.  Here are some hints in case you decide to try it:

u   update the package list
+   mark a package for installation
-   mark a package for uninstallation
g   "go" and install/uninstall the marked packages
_   purge a package
ctrl-u  undo
 expand/collapse a menu/category, or get details on a package
q   quit whatever mode you are in
/   search
n   when searching, find the next match
N   when searching, find the previous match

and don't forget that you can use your mouse to access the menus.  I'm
not sure if that requires an x-server or not, though.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803214746.gb1...@aurora.owens.net



Anti virus and Firewall

2010-08-03 Thread Tingez Unknown
Hi all Debian people,

Firstly i am very new to Debian so please excuse me for my lack of
understanding. I have recently got a Dedicated server box for my gaming Clan
and have had Debian 5 64bit installed on it. Now as we will eventually be
using the server for our web site for forums, Emails, sending and receiving
files and all other aspects web site related, fast redirect downloading
system for game server maps, mods etc., ftp, Big brother bot game server
software and game servers of varying games.

I am looking for any suggestions regarding Anti virus and firewall software
that is suitable with your Debian 5 64bit operating system. Wanting to add
as much security as possible to our server to reduce any problems we may
encounter. I would like any suggestions as to the best software that can be
used either paid for or freeware if you would be so kind.



Kind Regards

Martin


Re: help parsing output

2010-08-03 Thread Miles Fidelman

Kumar Appaiah wrote:

On Tue, Aug 03, 2010 at 12:12:26PM -0700, Dino Vliet wrote:
   

  Dear debian people,

  Can you help me with this task I have? I have a lot of files in a subdirectory
  containing the following text:
 

You should use awk.

- cut -

You ought to read the Awk manual, and then it would be a mattle of a
couple of hours of thought at most.
   
you might want to start by perusing the "sed" manual - it's an even 
simpler tool, though it might not be powerful enough for what you're doing


also take a look at:
http://www.smashingmagazine.com/2009/04/10/25-text-batch-processing-tools-reviewed/
not Unix, but a collection of various visual tools for processing text 
in batches


looks to me like your biggest problem is that each file has several 
sections, each in different formats, so it's not just a matter getting 
everything into a uniform tabular structure for import into a 
spreadsheet.  You might want to think of this as a several step process 
that either:
a. breaks each file into several files, each of a uniform format, then 
process each type of file separately, or b,
c. process each file to normalize it into something that's easier to 
turn into csv format


Or, as someone suggested - hire someone.  This is the silly kind of task 
that's really easy if your facile with regular expressions, shell 
scripts, and such; but can end up taking forever to get right.  Judging 
from the sample data, I'm guessing your at a university, there should be 
enough student hackers around who work cheap.


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In  practice, there is.    Yogi Berra



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c58969d.7080...@meetinghouse.net



Re: Anti virus and Firewall

2010-08-03 Thread Aaron Toponce
On Tue, Aug 03, 2010 at 10:43:05PM +0100, Tingez Unknown wrote:
>I am looking for any suggestions regarding Anti virus and firewall
>software that is suitable with your Debian 5 64bit operating system.
>Wanting to add as much security as possible to our server to reduce any
>problems we may encounter. I would like any suggestions as to the best
>software that can be used either paid for or freeware if you would be so
>kind.

While antivirus software exists for GNU/Linux systems such as Debian,
it's not really needed as most viruses are targeting Windows machines.
If you are concerned about the potential impact, I would recommend
running SELinux coupled with AIDE over any antivirus software. While
their goals are slightly different, the overall idea is the same- lock
down the server, and prevent any unouthorized changes to the filesystem.

When changes occur, report the change, and give an ability to restore
completely from backup. The best antivirus software will do for you is
report the virus, and attempt to remove the virus. Because you can never
be sure what has been changed, it's always best to do a reinstall after
an infection. You would do the same with SELinux and AIDE.

In terms of firewall, the Linux kernel has a builtin firewall through
the Netfilter module and the 'iptables' userspace command. There are
frontends for iptables, if it is too intimidating for you. There's also
TCP wrappers and xinetd for additional firewalling. You could even using
ACLs to allow and deny access to your services.

-- 
. O .   O . O   . . O   O . .   . O .
. . O   . O O   O . O   . O O   . . O
O O O   . O .   . O O   O O .   O O O


signature.asc
Description: Digital signature


Re: wget question

2010-08-03 Thread Andre Majorel
On 2010-08-03 15:56 -0400, Curt Howland wrote:

> All I want to do is download all the files in a specific directory.
> http://media.mises.org/mp3/MU2010/
> 
> But wget http://media.mises.org/mp3/MU2010/ just gets the index.html 
> file, wget http://media.mises.org/mp3/MU2010/* returns an error, and 
> the one time I put -r for recursion, it started downloading 
> everything in the http://media.mises.org/mp3/ directory!

wget -r -np http://media.mises.org/mp3/MU2010/

Add -l1 if you don't want the subdirectories.

-- 
André Majorel 
lists.debian.org, an essential online resource for spammers.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803223612.gd4...@aym.net2.nerim.net



Re: nspluginwrapper, npviewer & iceape

2010-08-03 Thread Wayne Topa

On 08/03/2010 02:56 PM, Thomas H. George wrote:

My system is messed up and iceape locks up trying to display some
images with the error message

sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: not found

In fact there is no directory nspluginwrapper in /usr/lib.  The command
dpkg -l nsp* responds

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version   
Description
+++--=-
in  nspluginwrapper (no description available)
ii  nspluginwrapper-i386 1.0.0-2   A 
viewer for i386 compiled Netscape 4 plugin

and locate nspnspluginwrapper responds

/var/cache/apt/archives/nspluginwrapper_0.9.91.5-2_amd64.deb
/var/cache/apt/archives/nspluginwrapper_1.3.0-1_amd64.deb
/var/lib/dpkg/info/nspluginwrapper-i386.list
/var/lib/dpkg/info/nspluginwrapper-i386.md5sums

but locate npviewer finds nothing.  Something has gotten clobbered.  My
system is Squeeze running on a 2.6.32-5-amd64 kernel image.  Do I still
need an i386 wrapper?  If so how do I restore npviewer?  I tried
following the instructions in iceape/help/about
plugins/plugindoc.mozdev.org and got as far as entering the command

nspluginwrapper -i
/usr/lib/browser-plugins/npjn2_linux_jasper_pthread.so

which fails with message

bash: nspluginwrapper: command not found

Can someone point me in the right direction?


show (apt-cache show) nspluginwrapper says it depends in ia32-libs which
has been broken for month now.  So the nspluginwrapper package will not 
install.


srch (apt-cache search) npviewer does not bring up anything, so I 
suppose, that npviewer is not currently packaged.


All that info, and more, is available by using the package tools debian 
has available.  As I do not use ice-ape, it seems buggy here, I can not 
help you further.



Sorry

Wayne


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c58a0a0.5050...@gmail.com



NUMLOCKX Debian KDE4

2010-08-03 Thread Jimmy Johnson
Here's the problem, in unstable and testing numlock on, light not on, 
numlock off, light on ?!?


I've tried it by removing numlockx and it's config files and numlock 
works as expected (OK), but numlock is not on at boot and I won't it on 
at boot, checking the box to turn numlock on, will not turn it on at login.


I don't have the problem with kde3/Lenny.

How can I get the light to work proper (light on/numlock on) at boot 
without removing numlockx?


A little more info: both testing and unstable are currently using the 
same kernel 2.6.32-5-amd64 and I think the problem came with the kernel.

--
Jimmy Johnson

Debian Testing at sda12
Registered Linux User #380263


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c58abfb.60...@gmail.com



Re: Anti virus and Firewall

2010-08-03 Thread Nuno Magalhães
Hi,

As Aaron Toponce said, most viruses target Windows, but if you share a
lot of files it would be nice (for your windows users) to scan them.
Try clamav: http://www.clamav.net/
Debian package clamav i tihnk, and it installs freshclam as well for updates.

As for firewall, i'm happy with shorewall, debian package with the same name.

I don't use a mail server (again an antivirus would be nice for email
attachments - plus spamfilter!), as for FTP i prefer using scp over
ssh, and for webserver i use nginx.

I've heard about tripwire, which might be similar to what Aaron mentioned.

HTH,
Nuno

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=xmxnw6kp8x=guojatmejtc2xefdalo=br-...@mail.gmail.com



Checking a block device

2010-08-03 Thread GNUbie
Hello all,

How can I check if a block device (partition) has one or any of the
following characteristics:

[1] raw

[2] has content

[3] formatted

but without actually mounting it?

Please advice. Thank you in advance.

Regards,

GNUbie


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=tfn=kf4ixhqy-w370yc4_1isemxwnjl3h1...@mail.gmail.com



Re: Checking a block device

2010-08-03 Thread Cybe R. Wizard
On Wed, 4 Aug 2010 08:11:28 +0800
GNUbie  wrote:

> Hello all,
> 
> How can I check if a block device (partition) has one or any of the
> following characteristics:
> 
> [1] raw
> 
> [2] has content
> 
> [3] formatted
> 
> but without actually mounting it?
> 
> Please advice. Thank you in advance.
> 
> Regards,
> 
> GNUbie
> 
> 
Forgive me if I'm wrong but that sounds a lot like a homework question
that you should be figuring out on your own.

Cybe R. Wizard
-- 
Registered GNU/Linux user # 126326
Registered Ubuntu User # 2136


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100803193207.37328...@wizardstower



Re: When is best time to upgrade lenny to squeeze

2010-08-03 Thread Kamaraju S Kusumanchi
Johnny wrote:

> Hi
> I am sorry if someone has already has asked this ? on the list
> When is best time to upgrade from lenny to squeeze.
> I use my computer daily
> 

I always start upgrading well before the new release is made. I start by
upgrading the packages that I use most of the time (ex:- iceweasel, vim,
konsole, knode etc.,). That way if there is a problem I can report the bugs
and have them fixed before the release is actually made.

YMMV
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i3advk$ub...@dough.gmane.org



Re: When is best time to upgrade lenny to squeeze

2010-08-03 Thread Jordan Metzmeier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/03/2010 08:57 PM, Kamaraju S Kusumanchi wrote:
> 
> I always start upgrading well before the new release is made. I start by
> upgrading the packages that I use most of the time (ex:- iceweasel, vim,
> konsole, knode etc.,). That way if there is a problem I can report the bugs
> and have them fixed before the release is actually made.
> 
> YMMV
> raju

While this is beneficial to Debian, it is often not beneficial to the
user (except for indirectly, since what benefits Debian, benefits the
user). It would be best if this is done in a testing environment,
outside of the actual production machine.

- -- 
Jordan Metzmeier

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

iQIbBAEBCAAGBQJMWLwBAAoJEKj/C3qNthmTKm4P92JsoLKcgCaR/nT3oFI6bdtF
goKc/HZHB9S2O/FgJxQHBbmQaecNjw2Jr22lm1DYkmTbCRfe7PR2dniwGadtfs0M
IJQuYLMbEAz+iYEgtL4VfqUjyeALWcrxhEkh4mgDh56Ha6cg4ohWqEtovVhWaxRe
S0MMmrR28j3HrHcK4VUhbU5LJ8/cum4N5oKnjnLE19OrncmiVMl0F1cP2xJYbpb5
GBdpRE6S2egjF1yANQQQurO8G6mrAqvIsnTgT7qA3dGidrdCei8VQGK75rdJnfpD
x7EKcUbISnWxeGlGmZTGDCzlWDzjQ14uQD0msPR6fHzCIfZph1DVA0iwMaQ+wH6P
DnjQ6zbJq1Lw43rX2o1pJFs1cGM0gB3xl8FdgROHorTh1hgosWXU+94TB/U/PP8z
32ZbBxO5YdjvYrXWMBiub/2OUqYF16dLpcaF4gmdWINNOwIDVE6XFy7jRX1vAxkC
+Hfbb0c2M2qE1bJneoaK5agEzuO1Ha/2Pm059XSRujFN8oOShvbgF0BWi0A0qGHz
wsZ4dNYOfhAHQpdS7uTRKq6s0ZghsLiABJSYSqvUQO7nMOBPu9ntgNqEiyXK5vvh
JpWoipSHWTpr9kYeVYT1eEKnReFE0xSyqDxG0PA5XQOQkqtoYL7RSQ4gxDtkfaW/
1AqAOnzJETQkFPe1nDM=
=BSrn
-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: http://lists.debian.org/4c58bc01.5040...@gmail.com



Re: Download statistics

2010-08-03 Thread Kuniyasu Suzaki

Hello,

 >>From: Camaleón 
 >>Subject: Re: Download statistics
 >>
 >>On Mon, 02 Aug 2010 14:38:07 +0900, Kuniyasu Suzaki wrote:
 >>
 >>> Are there any statistics for Debian package download? I want know the
 >>> difference of download for binary package(*.deb) and source
 >>> package(*.dsc, *.tar.gz, diff.gz).
 >>
 >>I'll take it as you want to know what is people downloading more, if 
 >>".deb" packages or ".dsc"/".tar.gz"/"diff.gz" files, right?
 >>
 >>I could only found this page which seems to handle some statistics about 
 >>Debian:
 >>
 >>http://wiki.debian.org/Statistics

Thank you. The home page looks good. It includes the traffic of package 
download.
However, I want to know the difference of binary and source download.
Especially I want to know the rate of source code download per binary package.
Is there any other good statistics?

--
suzaki


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100804.101108.193720574.k.suz...@aist.go.jp



Re: Download statistics

2010-08-03 Thread Kuniyasu Suzaki

Hello,

 >>From: Kuniyasu Suzaki 
 >>Subject: Re: Download statistics
 >>
 >> >>From: Camaleón 
 >> >>Subject: Re: Download statistics
 >> >>
 >> >>On Mon, 02 Aug 2010 14:38:07 +0900, Kuniyasu Suzaki wrote:
 >> >>
 >> >>> Are there any statistics for Debian package download? I want know the
 >> >>> difference of download for binary package(*.deb) and source
 >> >>> package(*.dsc, *.tar.gz, diff.gz).
 >> >>
 >> >>I'll take it as you want to know what is people downloading more, if 
 >> >>".deb" packages or ".dsc"/".tar.gz"/"diff.gz" files, right?
 >> >>
 >> >>I could only found this page which seems to handle some statistics about 
 >> >>Debian:
 >> >>
 >> >>http://wiki.debian.org/Statistics
 >>
 >>Thank you. The home page looks good. It includes the traffic of package 
 >>download.
 >>However, I want to know the difference of binary and source download.
 >>Especially I want to know the rate of source code download per binary 
 >>package.
 >>Is there any other good statistics?

I get an interesting reply on debian-users JP ML from Muto-san.
He tell me the statistics of .deb and .dsc download on "ftp.jp.debian.org" in 
last 4 weeks.
   .deb: 776055
   .dsc: 293

In simple comparison, 1 .src file is download per 2,600 .deb downloads.
It is interesting rate.  I think it means something to consider.
I want to know the situation on other download site.

--
suzaki


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100804.103035.71123468.k.suz...@aist.go.jp



Re: Checking a block device

2010-08-03 Thread GNUbie
Hello Cybe R. Wizard,

Yes, this is my own homework as I need to have some conditions in the
script that I am creating to automate my elastic instances in the AWS
and one of which is by making use of EBS volumes.

Thank you.

Regards,

GNUbie

On Wed, Aug 4, 2010 at 8:32 AM, Cybe R. Wizard
 wrote:
> On Wed, 4 Aug 2010 08:11:28 +0800
> GNUbie  wrote:
>
>> Hello all,
>>
>> How can I check if a block device (partition) has one or any of the
>> following characteristics:
>>
>> [1] raw
>>
>> [2] has content
>>
>> [3] formatted
>>
>> but without actually mounting it?
>>
>> Please advice. Thank you in advance.
>>
>> Regards,
>>
>> GNUbie
>>
>>
> Forgive me if I'm wrong but that sounds a lot like a homework question
> that you should be figuring out on your own.
>
> Cybe R. Wizard
> --
> Registered GNU/Linux user # 126326
> Registered Ubuntu User # 2136
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20100803193207.37328...@wizardstower


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=f4r4+qraujsv0wyuqv1ymrj40dnrdus57l...@mail.gmail.com



Re: Checking a block device

2010-08-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 August 2010 19:11:28 GNUbie wrote:
> How can I check if a block device (partition) has one or any of the
> following characteristics:
> 
> [1] raw
> 
> [2] has content
> 
> [3] formatted
> 
> but without actually mounting it?

I'd use "file" as a first pass.  After that, perhaps some custom script.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Debian startup help

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 15:35:09 -0500, rame0065 wrote:

(...)
 
> Now during the startup, it is stuck at displaying the "letter" word
> infinitely.
> I am not able to reach the prompt at all. It is stuck in the booting
> mode indefinitely.

I don't know how that embedded mainboard works, but if you messed the on-
board flash memmory, there must be a jumper/switch to reset the board 
into factory mode/setup or just to allow booting from MMC/SD card and 
work from there :-?

Refer to the board manual.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.04.06.32...@gmail.com



Re:

2010-08-03 Thread Andrei Popescu
On Ma, 03 aug 10, 17:47:47, Rob Owens wrote:
> at first.  Here are some hints in case you decide to try it:
> 
> u update the package list
> + mark a package for installation
> - mark a package for uninstallation
g - preview pending actions, use q to exit the view
> g "go" and install/uninstall the marked packages
> _ purge a package
> ctrl-uundo
>expand/collapse a menu/category, or get details on a package
> q quit whatever mode you are in
> / search
> n when searching, find the next match
> N when searching, find the previous match
U - prepare an upgrade (equivalent to full-upgrade)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Onboard ethernet adapter lights not flash anymore... Network not connect too!

2010-08-03 Thread Andrei Popescu
On Ma, 03 aug 10, 09:39:31, Marcelo Laia wrote:
> Hi,
> 
> Suddenly, my onboard ethernet adapter lights not flash anymore and my
> network not connect too! I already have changed the cable and nothing
> goes up.

Did you make any changes to the software? If not it could also be a 
hardware issue. Try using another card.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: NUMLOCKX Debian KDE4

2010-08-03 Thread Camaleón
On Tue, 03 Aug 2010 16:53:31 -0700, Jimmy Johnson wrote:

> Here's the problem, in unstable and testing numlock on, light not on,
> numlock off, light on ?!?
> 
> I've tried it by removing numlockx and it's config files and numlock
> works as expected (OK), but numlock is not on at boot and I won't it on
> at boot, checking the box to turn numlock on, will not turn it on at
> login.
> 
> I don't have the problem with kde3/Lenny.
> 
> How can I get the light to work proper (light on/numlock on) at boot
> without removing numlockx?
> 
> A little more info: both testing and unstable are currently using the
> same kernel 2.6.32-5-amd64 and I think the problem came with the kernel.

There are some reports in both, Debian BTS and KDE. Check if any of these 
apply in your case:

***
/usr/bin/kde4: NumLock led behaves inversely if num lock is turned on 
kde4 startup
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533831

Bug 183308 -  Numlock Light Indicator Shuts Off After Activation within 
KDE 4.2 and Subsequent Log out or Reboot  
https://bugs.kde.org/show_bug.cgi?id=183308
***

So maybe a KDE bug/problem? :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.04.06.48...@gmail.com