Re: Problem with dpkg-source -b outside current working dir

2016-09-19 Thread kamaraju kusumanchi
On Sat, Sep 17, 2016 at 4:33 AM, Malte Forkel  wrote:
> Hi,
>
> according to the man page, dpkg-source -b takes an argument that is "the
>  name  of the directory containing the debianized source tree". But that
> does not work for me if the directory is not the current working directory.
>
> When is execute dpkg-source in the package's source directory, i.e.
>SRCDIR$ dpkg-source -b .
> everything works fine. But if I execute dpkg-source from a different
> directory with the absolute path as its argument
>/tmp$ dpkg-source -b $SRCDIR
> it complains that can't find the original tarball at
> ../pkg_vers.orig.tar.*. Shouldn't it look into $SRCDIR/..?
>

Is the $SRCDIR variable set to anything? What is the output of

echo $SRCDIR

> Im using dpkg-source from dpkg-dev 1.18.4ubuntu1.1 in Ubuntu 16.04.

As explained in the FAQ
(https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html#s3.2),
Ubuntu is based on Debian but not Debian. If you are running Ubutnu,
it is better to ask on Ubuntu list than here.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: problem mouse copy/past from PDF

2016-09-19 Thread Doug

On 09/20/2016 12:58 AM, Doug wrote:

On 09/19/2016 11:41 PM, David Wright wrote:

On Sun 18 Sep 2016 at 16:14:37 (-0400), Haines Brown wrote:
I've begun to experience problems using the mouse to select a 
passage in

a PDF displayed with xpdf 3.03-10 in order to paste it elsewhere.

The ends of lines are truncated to varying degrees. For example in a
PDF with this:

   123456789
   123456789
   1234567

The past might look like

   12345678
   1234567
   123456

Can you confirm that dragging your mouse produces a black rectangle,
and that the rectangle has the last digits (the ones that get lost)
highlighted thus.

My own experience is all or nothing. What I get correlates with the
output of pdftotext; if that can extract the text, I can copy it
with the mouse, if not then I can't. PDFs I produce with paps, for
example, don't work: I don't know why this is the case.

Actually, there is a third case: the pasted text is garbage. I think
this happens if the fonts are stripped of unused glyphs and then
packed into the minimum number of fonts to save memory. I may be
wrong here, though.

Evince apparently does not support selecting text for copying. This 
does

not happen on other machines.

My experience here is similar to xpdf but with a few differences: when
it works (the same files do), the selection is line by line (ie like
an xterm) rather than a strict rectangle; if it can't do it, it
doesn't highlight (whereas xpdf "lies": it highlights but fails to
copy); the highlighting may be coloured (white→blue, black→white) or
black (which hides the text).

Cheers,
David.


I just tried a copy and paste from a PDF rendered by Master PDF Editor 
3, running on PCLOS-KDE-64.
I hi-lited a balance summary of bills paid by PayPal and pasted it 
into LibreOffice Writer 5.2.
All the words were there, but the format was different--multi-line 
spaces were squeezed to one line
space, for instance. I tried pasting the copy into TextMaker 2016, a 
paid word processor from
SoftMakerOffice, with the same result. If Master PDF Editor is not in 
your repos, it is available from their

web-site. I can't swear that there's a .deb version, however.

If you want an exact copy, you may have to use a screen-capture 
program, but then you won't be able
to make any modifications to the output, except with GIMP, or 
something similar.


--doug
Replying to me: Yes, there is a .deb version on the Master PDF Editor 
website. Also, I did not mention,
but the cut and pasted file when pasted into a word processor is 
editable by that processor. Or, if you

need to edit the PDF, Master can do that.

--dm



Re: problem mouse copy/past from PDF

2016-09-19 Thread Doug

On 09/19/2016 11:41 PM, David Wright wrote:

On Sun 18 Sep 2016 at 16:14:37 (-0400), Haines Brown wrote:

I've begun to experience problems using the mouse to select a passage in
a PDF displayed with xpdf 3.03-10 in order to paste it elsewhere.

The ends of lines are truncated to varying degrees. For example in a
PDF with this:

   123456789
   123456789
   1234567

The past might look like

   12345678
   1234567
   123456

Can you confirm that dragging your mouse produces a black rectangle,
and that the rectangle has the last digits (the ones that get lost)
highlighted thus.

My own experience is all or nothing. What I get correlates with the
output of pdftotext; if that can extract the text, I can copy it
with the mouse, if not then I can't. PDFs I produce with paps, for
example, don't work: I don't know why this is the case.

Actually, there is a third case: the pasted text is garbage. I think
this happens if the fonts are stripped of unused glyphs and then
packed into the minimum number of fonts to save memory. I may be
wrong here, though.


Evince apparently does not support selecting text for copying. This does
not happen on other machines.

My experience here is similar to xpdf but with a few differences: when
it works (the same files do), the selection is line by line (ie like
an xterm) rather than a strict rectangle; if it can't do it, it
doesn't highlight (whereas xpdf "lies": it highlights but fails to
copy); the highlighting may be coloured (white→blue, black→white) or
black (which hides the text).

Cheers,
David.


I just tried a copy and paste from a PDF rendered by Master PDF Editor 
3, running on PCLOS-KDE-64.
I hi-lited a balance summary of bills paid by PayPal and pasted it into 
LibreOffice Writer 5.2.
All the words were there, but the format was different--multi-line 
spaces were squeezed to one line
space, for instance. I tried pasting the copy into TextMaker 2016, a 
paid word processor from
SoftMakerOffice, with the same result. If Master PDF Editor is not in 
your repos, it is available from their

web-site. I can't swear that there's a .deb version, however.

If you want an exact copy, you may have to use a screen-capture program, 
but then you won't be able
to make any modifications to the output, except with GIMP, or something 
similar.


--doug



Re: PXE Booting with uEFI BIOS

2016-09-19 Thread Dave Ryan

Hi Valerio,


I was able to do the standard DVD install successfully with uEFI BIOS 
however I did not install via PXE boot install.



Dave


On 09/19/2016 07:08 AM, Valerio wrote:

Hi all,

I am trying to install debian jessie via PXE on a Dell R630 server with
uEFI BIOS.
I emulated a test bed with virtual machines that were using standard BIOS.
Now I am not able to replicate the installation on the server because
pxelinux.0 apparently doesn't work with uEFI.

Is there any documentation on how to setup Debian to boot with uEFI bioses?

many thanks in advance,
Valerio





Re: problem mouse copy/past from PDF

2016-09-19 Thread David Wright
On Sun 18 Sep 2016 at 16:14:37 (-0400), Haines Brown wrote:
> I've begun to experience problems using the mouse to select a passage in
> a PDF displayed with xpdf 3.03-10 in order to paste it elsewhere.
> 
> The ends of lines are truncated to varying degrees. For example in a
> PDF with this:
> 
>   123456789
>   123456789
>   1234567
> 
> The past might look like
> 
>   12345678
>   1234567
>   123456

Can you confirm that dragging your mouse produces a black rectangle,
and that the rectangle has the last digits (the ones that get lost)
highlighted thus.

My own experience is all or nothing. What I get correlates with the
output of pdftotext; if that can extract the text, I can copy it
with the mouse, if not then I can't. PDFs I produce with paps, for
example, don't work: I don't know why this is the case.

Actually, there is a third case: the pasted text is garbage. I think
this happens if the fonts are stripped of unused glyphs and then
packed into the minimum number of fonts to save memory. I may be
wrong here, though.

> Evince apparently does not support selecting text for copying. This does
> not happen on other machines.

My experience here is similar to xpdf but with a few differences: when
it works (the same files do), the selection is line by line (ie like
an xterm) rather than a strict rectangle; if it can't do it, it
doesn't highlight (whereas xpdf "lies": it highlights but fails to
copy); the highlighting may be coloured (white→blue, black→white) or
black (which hides the text).

Cheers,
David.



Re: debian

2016-09-19 Thread Rodolfo
André, acho que você está meio confuso, mas vamos lá:

1. Você respondeu para a lista informando essas duas coisas:
 -> "Saudações ... Boa noite fiz todas as tentativas ,porém essa é a
resposta que tenho nos arquivos baixados no site oficial do debian"
 -> "Baixei todas as versões e essa é a mensagem que aparece após
inicialização do serviço"

Não vi você postar nenhuma das mensagens, e nem as respostas, até o momento
não sei do que você está falando.

2. Você disse isso:
-> "Fiz como foi orientado mais cedo por vc,a ISO foi descompactada no pen
drive e inserida na porta USB da maquina ,ao reiniciar aparece está
mensagem "

Em nenhum momento lhe orientei a instalar descompactando a ISO no pendrive,
pensei que seu problema era a integridade das ISOs, tanto que lhe orientei
baixar de outro link, como assim descompactar no pendrive e inserir na
porta USB ? Estou totalmente por fora do que você está querendo.

3. Você disse isso:
-> "Prezado Rodolfo existe alguma solução sobre este problema ao qual me
deparei?"

Qual problema ? Confesso que quem está bem confuso agora sou eu, hehehe.

Bom, resumindo, acho que faltou você ser claro nas informações, para eu
entender realmente o que você quer, pois pensei que era uma coisa, vejo
agora que na verdade é outra.

Abraços.

Em 19 de setembro de 2016 21:09, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> Fiz como foi orientado mais cedo por vc,a ISO foi descompactada no pen
> drive e inserida na porta USB da maquina ,ao reiniciar aparece está
> mensagem
>
> Em 19/09/2016 22:08, escreveu:
>
>> Não existe respostas somente estes parâmetros
>>
>> Em 19/09/2016 21:57, "Rodolfo"  escreveu:
>>
>>> Cade as respostas ? Que mensagens aparecem ?
>>>
>>> Em 19 de setembro de 2016 20:18, Andre Nascimento <
>>> andreknascime...@gmail.com> escreveu:
>>>
 Baixei todas as versões e essa é a mensagem que aparece após
 inicialização do serviço

 Em 19/09/2016 21:17, escreveu:


> Em 19/09/2016 21:17, "Andre Nascimento" 
> escreveu:
>
>> Saudações ... Boa noite fiz todas as tentativas ,porém essa é a
>> resposta que tenho nos arquivos baixados no site oficial do debian
>>
>> Em 19/09/2016 16:00, "Andre Nascimento" 
>> escreveu:
>>
>>> ​Saudações...
>>>
>>> Boa tarde.
>>>
>>> Poderia me informar a forma mais correta de se instalar o debian?
>>> Pois toda vez que estou baixando esta dando erro na imagem ou ausência 
>>> de
>>> pacotes.
>>>
>>> Desde já agradeço as orientações...
>>>
>>>
>>>
>>>


Re: problem mouse copy/past from PDF

2016-09-19 Thread Celejar
On Sun, 18 Sep 2016 16:14:37 -0400
Haines Brown  wrote:

...

> Evince apparently does not support selecting text for copying. This does

My evince (3.14.1, from  3.14.1-2+deb8u1) does support selecting text
for copying.

Celejar



Re: debian

2016-09-19 Thread Rodolfo
Cade as respostas ? Que mensagens aparecem ?

Em 19 de setembro de 2016 20:18, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> Baixei todas as versões e essa é a mensagem que aparece após inicialização
> do serviço
>
> Em 19/09/2016 21:17, escreveu:
>
>
>> Em 19/09/2016 21:17, "Andre Nascimento" 
>> escreveu:
>>
>>> Saudações ... Boa noite fiz todas as tentativas ,porém essa é a resposta
>>> que tenho nos arquivos baixados no site oficial do debian
>>>
>>> Em 19/09/2016 16:00, "Andre Nascimento" 
>>> escreveu:
>>>
 ​Saudações...

 Boa tarde.

 Poderia me informar a forma mais correta de se instalar o debian? Pois
 toda vez que estou baixando esta dando erro na imagem ou ausência de
 pacotes.

 Desde já agradeço as orientações...





Re: VIM halts on backspace to new line

2016-09-19 Thread Indigo Frankencastle
The issue prevails.

Current version:

---

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 16 2016 10:50:38)
Included patches: 1-1689
Modified by pkg-vim-maintain...@lists.alioth.debian.org
Compiled by pkg-vim-maintain...@lists.alioth.debian.org
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+acl +farsi   +mouse_netterm   +tag_binary
+arabic  +file_in_path+mouse_sgr   +tag_old_static
+autocmd +find_in_path-mouse_sysmouse  -tag_any_white
+balloon_eval+float   +mouse_urxvt +tcl
+browse  +folding +mouse_xterm +terminfo
++builtin_terms  -footer  +multi_byte  +termresponse
+byte_offset +fork()  +multi_lang  +textobjects
+channel +gettext -mzscheme+timers
+cindent -hangul_input+netbeans_intg   +title
+clientserver+iconv   +packages+toolbar
+clipboard   +insert_expand   +path_extra  +user_commands
+cmdline_compl   +job +perl+vertsplit
+cmdline_hist+jumplist+persistent_undo +virtualedit
+cmdline_info+keymap  +postscript  +visual
+comments+langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv  +linebreak   -python  +vreplace
+cscope  +lispindent  +python3 +wildignore
+cursorbind  +listcmds+quickfix+wildmenu
+cursorshape +localmap+reltime +windows
+dialog_con_gui  +lua +rightleft   +writebackup
+diff+menu+ruby+X11
+digraphs+mksession   +scrollbind  -xfontset
+dnd +modify_fname+signs   +xim
-ebcdic  +mouse   +smartindent +xsmp_interact
+emacs_tags  +mouseshape  +startuptime +xterm_clipboard
+eval+mouse_dec   +statusline  -xterm_save
+ex_extra+mouse_gpm   -sun_workshop+xpm
+extra_search-mouse_jsbterm   +syntax
   system vimrc file: "$VIM/vimrc"
 user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
  user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-pthread -I/usr/include/gtk-2.0
-I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
-I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0
-I/usr/include/libxml2 -I/usr/include/libgnome-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gail-1.0 -I/usr/include/libart-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12
-I/usr/include/gnome-vfs-2.0
-I/usr/lib/i386-linux-gnu/gnome-vfs-2.0/include -I/usr/include/gconf/2
-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
-Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat
-Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now
-fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E
-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now
-Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0
-latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2
-lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2
-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
-lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
-lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0
-lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM
-lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl
-L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib
-L/usr/lib/i386-linux-gnu/perl/5.22/CORE -lperl -ldl -lm 

Re: Crontab doesn't complete a script

2016-09-19 Thread Clive Menzies

Hi Thomas

The absolute path was the answer.

Your explanation has added to my limited knowledge :-)

Thanks

Clive

On 19/09/16 23:04, Thomas Schmitt wrote:

Hi,

Clive Menzies wrote:

 rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded"
 exclude_list=/root/uhuru_backup/exclude_list
rsync: failed to open exclude file exclude_list: No such file or directory (2)

The decisive difference between dialog and cron could be the
current working directory.

Try with an absolute path as parameter to --exclude-from= :

   rsync_opts="-av --exclude-from=/root/uhuru_backup/exclude_list --delete 
--delete-excluded"

Or if you want to use the variable exclude_list, set it first.
Then evaluate it by $exclude_list in the definition of variable rsync_opts:

   exclude_list=/root/uhuru_backup/exclude_list
   rsync_opts="-av --exclude-from=$exclude_list --delete --delete-excluded"

This should yield the same rsync_opts content as above line.



echo "Currently at line 17">>$log_file
/root/uhuru_backup/uhuru.daily.sh: line 17: $log_file: ambiguous redirect

Hm. To what value did you set the variable log_file ?

If i set it to "/tmp/log_file", then the echo works in dash and bash.
(We have to expect that cron uses the shell dash, whereas the dialog
  shell is probably bash.)
  
If i set it to empty text, then dash complains

   dash: 2: Syntax error: newline unexpected
bash says
   -bash: syntax error near unexpected token `newline'

A blank would do it in bash but not in dash:

   $ log_file="/tmp/log file"
   $ echo "Currently at line 17">>$log_file
   -bash: $log_file: ambiguous redirect

dash is brutal enough to really create a file "/tmp/log file".


Have a nice day :)

Thomas



--
Clive Menzies
http://freecriticalthinking.org



Re: change password prompt

2016-09-19 Thread Sven Hartge
Hugo Vanwoerkom  wrote:
> On 09/19/2016 10:21 AM, Reco wrote:

>> Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"
>>
>> Of course you should use visudo, not edit /etc/sudoers directly.

> True. But I use mc, have done so for years and that seems to work. What 
> am I endangering?

visudo locks the file against other edits at the same time. It also
syntax checks the file at the end to prevent errors resulting in lock
outs. And it sets the right and secure permissions on the file.

S°


-- 
Sigmentation fault. Core dumped.



Re: anyone having problems with python on debian testing

2016-09-19 Thread Anthony Baldwin

On 09/19/2016 06:09 PM, Tony Baldwin wrote:

On 09/19/2016 05:36 PM, emetib wrote:

well thank you then ric.  glad it's not after hours or i would be
doing the same thing.

no, i just noticed it today, and i can run the script on my other
virtual machines without issue.  it's just the debian testing that is
the problem.

whether i am calling -- python3 script or python script, or python3
>>> or python >>> and typing them in it's not working how it should.
wasted a weekend thinking that i had messed up my code.

so i was just wondering if others were having problems.  i'm starting
to think that it's gcc version for python that is giving me problems.
yet i'm not that smart to figure it out.



my python scripts seem to be functioning fine.
even ones that use guis (tkinter)



Sorry...I'm using Jessie/stable...my bad
(I'm an old man with a brain tumour, what do you expect?)

--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT



Re: anyone having problems with python on debian testing

2016-09-19 Thread Tony Baldwin

On 09/19/2016 05:36 PM, emetib wrote:

well thank you then ric.  glad it's not after hours or i would be doing the 
same thing.

no, i just noticed it today, and i can run the script on my other virtual 
machines without issue.  it's just the debian testing that is the problem.

whether i am calling -- python3 script or python script, or python3 >>> or python 
>>> and typing them in it's not working how it should.  wasted a weekend thinking that i 
had messed up my code.

so i was just wondering if others were having problems.  i'm starting to think 
that it's gcc version for python that is giving me problems.  yet i'm not that 
smart to figure it out.



my python scripts seem to be functioning fine.
even ones that use guis (tkinter)

--
http://tonybaldwin.me
all tony, all the time



Re: change password prompt

2016-09-19 Thread Hugo Vanwoerkom

On 09/19/2016 10:21 AM, Reco wrote:

Hi.

On Mon, Sep 19, 2016 at 11:01:33AM -0400, Tony Baldwin wrote:

On 09/19/2016 10:25 AM, Reco wrote:

Hi.

On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:

I had, on a prior machine, changed the password prompt for sudo by adding
something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
but at the moment I can not recall what/how I did it, but I'd like to do it
again.
Anyone?


sudoers(5) says that you should change 'passprompt_override' setting.

Reco


I'm trying, but failing to find an example of how to use that, like the
precise syntax to use.
The man page doesn't give any example, so it's not clear how to use it.


This line in /etc/sudoers works for me:

Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"

Of course you should use visudo, not edit /etc/sudoers directly.



True. But I use mc, have done so for years and that seems to work. What 
am I endangering?


Hugo




Re: Crontab doesn't complete a script

2016-09-19 Thread Thomas Schmitt
Hi,

Clive Menzies wrote:
> rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded"
> exclude_list=/root/uhuru_backup/exclude_list
> rsync: failed to open exclude file exclude_list: No such file or directory (2)

The decisive difference between dialog and cron could be the
current working directory. 

Try with an absolute path as parameter to --exclude-from= :

  rsync_opts="-av --exclude-from=/root/uhuru_backup/exclude_list --delete 
--delete-excluded"

Or if you want to use the variable exclude_list, set it first.
Then evaluate it by $exclude_list in the definition of variable rsync_opts:

  exclude_list=/root/uhuru_backup/exclude_list
  rsync_opts="-av --exclude-from=$exclude_list --delete --delete-excluded"

This should yield the same rsync_opts content as above line.


> echo "Currently at line 17">>$log_file
> /root/uhuru_backup/uhuru.daily.sh: line 17: $log_file: ambiguous redirect

Hm. To what value did you set the variable log_file ?

If i set it to "/tmp/log_file", then the echo works in dash and bash.
(We have to expect that cron uses the shell dash, whereas the dialog
 shell is probably bash.)
 
If i set it to empty text, then dash complains
  dash: 2: Syntax error: newline unexpected
bash says
  -bash: syntax error near unexpected token `newline'

A blank would do it in bash but not in dash:

  $ log_file="/tmp/log file"
  $ echo "Currently at line 17">>$log_file
  -bash: $log_file: ambiguous redirect

dash is brutal enough to really create a file "/tmp/log file".


Have a nice day :)

Thomas



Re: anyone having problems with python on debian testing

2016-09-19 Thread emetib
well thank you then ric.  glad it's not after hours or i would be doing the 
same thing.

no, i just noticed it today, and i can run the script on my other virtual 
machines without issue.  it's just the debian testing that is the problem.

whether i am calling -- python3 script or python script, or python3 >>> or 
python >>> and typing them in it's not working how it should.  wasted a weekend 
thinking that i had messed up my code.

so i was just wondering if others were having problems.  i'm starting to think 
that it's gcc version for python that is giving me problems.  yet i'm not that 
smart to figure it out.



Re: Crontab doesn't complete a script - SOLVED

2016-09-19 Thread Clive Menzies

On 19/09/16 22:10, Clive Menzies wrote:
It didn't find the exclude_list I created. I modified the script to 
point to it but clearly the syntax is not right


# Good rsync options for uhuru_backups.
rsync_opts="-av --exclude-from=exclude_list --delete 
--delete-excluded"


# exclude list location:
exclude_list=/root/uhuru_backup/exclude_list

echo "Currently at line 17">>$log_file

The log reported thus:
/root/uhuru_backup/uhuru.daily.sh: line 17: $log_file: ambiguous redirect
rsync: failed to open exclude file exclude_list: No such file or 
directory (2)

rsync error: error in file IO (code 11) at exclude.c(1179) [client=3.1.1]


D'oh! I searched around a bit and realised I'd over-complicated it.

This works :-)

# Good rsync options for uhuru_backups.
rsync_opts="-av --exclude-from=/root/uhuru_backup/exclude_list \
 --delete --delete-excluded"

Thanks Thomas, I'd still be going round in circles.

Regards

Clive

--
Clive Menzies
http://freecriticalthinking.org



Re: Crontab doesn't complete a script

2016-09-19 Thread Clive Menzies

On 19/09/16 12:31, Thomas Schmitt wrote:

The classic remedy would be to set the missing variables inside the
cronjob script.



/root/uhuru_backup/uhuru.daily.sh

Consider to put some "echo" commands into the script and direct them to
a log file:

log_file=/tmp/uhuru_daily_sh.log
...
echo "Currently at: ..." >>$log_file
...

This should give you an idea what part of the script causes the premature
end.



Thanks Thomas

I confess, I've not originated scripts before and so am on a steep 
learning curve. Your suggestion was very useful but my implementation is 
poor. It did yield useful information though.


It didn't find the exclude_list I created. I modified the script to 
point to it but clearly the syntax is not right


# Good rsync options for uhuru_backups.
rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded"

# exclude list location:
exclude_list=/root/uhuru_backup/exclude_list

echo "Currently at line 17">>$log_file

The log reported thus:
/root/uhuru_backup/uhuru.daily.sh: line 17: $log_file: ambiguous redirect
rsync: failed to open exclude file exclude_list: No such file or 
directory (2)

rsync error: error in file IO (code 11) at exclude.c(1179) [client=3.1.1]

Regards

Clive



--
Clive Menzies
http://freecriticalthinking.org



Re: anyone having problems with python on debian testing

2016-09-19 Thread Ric Moore

On 09/19/2016 03:08 PM, emetib wrote:


i would like to know if others are having any problems with their systems.

thanks


If this weren't a Debian List I'd be cursing like a drunken sailor. :) 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



Re: Testing/Unstable Synaptic broken again.

2016-09-19 Thread Joe
On Mon, 19 Sep 2016 12:55:32 -0700
Jimmy Johnson  wrote:


> 
> Do you have package 'upgrade-system' installed? And or do you use 
> deborphan?  Do you use both testing and sid repos? I do not have your 
> problem on "6" testing/sid installs. Good luck.

Thanks. No I didn't know about upgrade-system. It's an old
installation, it's quite a while since I had a problem bad enough to
need reinstallation. Even so, the amount of cruft found was impressive,
more than 900 packages.

Unfortunately, it didn't fix any of my problems. But I don't use
Synaptic much, I know to boot into 4.6.0.1 not 4.7.0.1, and if I don't
look at the logs I don't see all the gtk3 error messages this *is*
sid, after all.

-- 
Joe



Re: cant get to desktop anymore

2016-09-19 Thread Ric Moore

On 09/18/2016 09:42 PM, Frank McCormick wrote:

On 18/09/16 07:57 PM, Ric Moore wrote:

On 09/18/2016 06:00 PM, Kent West wrote:

On Sun, Sep 18, 2016 at 3:28 PM, bell canada > wrote:

hello i installed debian 8 and i cant get into my desktop..why plz
help

roberto
438 881 9269 
all i get is ablack scren
even recory mode doesnt help


Do you get to a login prompt at all (graphical or text-based)?

What happens if you press Ctrl-Alt-F2?

If the OP would do that, login as his user and enter "startx", I bet a
donut that he gets to his desktop. Mine is STILL boroken that way
...POS. synaptic isn't fixed yet.  Someone just shoot me. Ric





  I'll shoot you if you promise to return the favor :) The whole Mate
desktop is broken because of GTK 3.2whatever :)


I promise. The only upside is that all those Ubuntu users will be soon 
crying like grandmothers. That is a sad way to think.  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



Re: cant get to desktop anymore

2016-09-19 Thread Ric Moore

On 09/18/2016 08:33 PM, Neal P. Murphy wrote:

On Sun, 18 Sep 2016 19:57:58 -0400
Ric Moore  wrote:


On 09/18/2016 06:00 PM, Kent West wrote:

On Sun, Sep 18, 2016 at 3:28 PM, bell canada > wrote:

hello i installed debian 8 and i cant get into my desktop..why plz help

roberto
438 881 9269 
all i get is ablack scren
even recory mode doesnt help


Do you get to a login prompt at all (graphical or text-based)?

What happens if you press Ctrl-Alt-F2?

If the OP would do that, login as his user and enter "startx", I bet a
donut that he gets to his desktop. Mine is STILL boroken that way
...POS. synaptic isn't fixed yet.  Someone just shoot me. Ric




 will reach the X11 session.


Thank you for the heads up. But, we were advising ctrl-alt-f2 and I 
advised he login as his user and type startx. >IF< he gets to his 
desktop, then he has the same problem I have. I'm expecting others pop 
up with the very same problem. 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



Re: page RELOAD by Firefox

2016-09-19 Thread Seeker



On 9/18/2016 9:11 PM, rlhar...@oplink.net wrote:

On Sun, September 18, 2016 7:10 pm, Seeker wrote:

Is this web page on the PWS or out on the internet?
Is the PWS using the same data connection you are using to access the
web page? Is there advertising on this page?
If you do not leave the page open in a tab, does your data allocation
still get rapidly depleted?

Maybe with more information someone will have an alternative suggestion.


The page is associated with the weather underground:

https://www.wunderground.com/personal-weather-station/dashboard?ID=KTXSMITH14




Looks like some kind of widget/script things to me that keep things up
to date, without requiring a refresh of the page.

Thought I saw something about 10 minutes when I loaded the page earlier
in the morning, but going back later, current status is updated multiple
times per minute, the radar map less often, but not too many minutes in
between.

The advertising cycles as well, so the amount of weather data versus ad
data is a question.

Privacy badger is not an ad blocker, but for this site, blocking the
potential trackers blocks the ads.

With noscript installed/enabled looks like the only thing that loads is
the current conditions and reload/refresh is required to see updated
information.

Later, Seeker



Re: WordPress on Debian

2016-09-19 Thread Miles Fidelman

On 9/19/16 3:36 PM, David Wright wrote:


On Mon 19 Sep 2016 at 13:43:04 (-0500), Kent West wrote:

On Mon, Sep 19, 2016 at 1:29 PM, Kent West  wrote:


On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin 
wrote:


On 09/19/2016 12:26 PM, Miles Fidelman wrote:


On 9/19/16 12:20 PM, Tony Baldwin wrote:

I make a new user on the server for each new WP site, and then install

their WP in /home/$user/www . much simpler than having bits of it all
over the machine.



So what I'm hearing is that I should forego using apt/aptitude to install
WordPress, and just install in manually?

Neither of those people appear to reveal their update policy or how
they deal with security fixes.



I just use the built in WordPress updater - which takes care of 
everything.  No need to worry about whether some packager has updated 
both the core and every theme and module that I use (guaranteed, they 
haven't).


Now, when it comes to perl based systems, such as the sympa mailing list 
manager (mailman, too for that matter), - better to use cpan to install 
and update all of one's perl system and modules.


As to security fixes - those are far more likely to come from upstream, 
in a timely manner.


Apt is a fantastic package management system, for widely used things, 
that don't change very often.  For anything else, relying on human 
packagers is a recipe for disaster - particularly when dealing with, 
potentially, 3 layers of packaging (the upstream package, an 
intermediate packaging system like cpan, and the Debian repository.)


Miles Fidelman



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



bug libreoffice quando instalo python-pip

2016-09-19 Thread Thiago Cotulio
ola gostaria de reportar um bug não sei se ja foi solucionado ou ainda não
sou usuario iniciante e não entendo muito seguinte até antes de instalar o
python o libreoffice estava em portugues tudo funcionando normalmente
depois de instalar o python os caracteres mudou para russo qual o problema
e como proceder grato desde ja aguardo respostas


Re: Testing/Unstable Synaptic broken again.

2016-09-19 Thread Ric Moore

On 09/17/2016 06:37 PM, Jimmy Johnson wrote:

On 09/15/2016 12:50 AM, Ric Moore wrote:

On 09/14/2016 04:10 PM, Jimmy Johnson wrote:



Thank you upstream developing and packaging team for replacing the
effected packages. Yay!

These packages have now been upgraded in Sid, 'gir1.2-gtk-3.0,
libgtk-3-0. libgtk-3-bin. libgtk-3-common' if you have been using
testing and where effected you can temp add Sid repos and upgrade the
effected packages, it will pull in a few more packages, but it is fixed.


Rats, that didn't work for me. I am running sid. Something upgraded and
XFCE no longer starts up after boot. I have to open a terminal and enter
startx. Using synaptic I could just start re-installing XFCE packages.
But, it be broken where the drop down menu's and right click no longer
function. Drats. Ric


I was wondering if XFCE4 was infected.  Sorry to hear you're sill having
a problem.I can't take the pain any longer. Going for a full re-install. 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



Re: WordPress on Debian

2016-09-19 Thread Ric Moore

On 09/19/2016 12:11 PM, Kent West wrote:

There's a lot of conflicting documentation out there for installing
WordPress on Debian, so I thought I'd come to you folks, who generally
have a lot of wisdom and knowledge in all things Debian.

This will wind up being more a theoretical discussion than a specific
question of how-to, I'm afraid

Understand I'm pretty much a novice when it comes to Apache2 and
WordPress and MySQL, etc (and to web stuff in general).

It seems that some docs indicate that the WordPress (WP) should put part
of its installation in /srv, and part in /usr/lib, and part in /var/lib,
and part in /var/www, etc.

On a philosophical/theoretical level, I want all my web-facing stuff on
a single partition, preferably /home (as in /home/web), so that visitors
to the site have no ability to tinker on the other partitions. Why would
the HFS recommend that user-accessible files be on system partitions
instead of on "safer" partitions?

Am I thinking wrongly?

I don't really even know enough to ask the right questions, but I'm
hoping this might stir some conversations that lead me to asking the
right question few years vns.


A few years back, I just installed Proxmox to bare metal on a dedicated 
and used turnkeylinux containers. It's a one click install via html 
interface from your desktop browser..

http://pve.proxmox.com/wiki/Downloads#Proxmox_Virtual_Environment_4.2_.28ISO_Image.29
https://www.turnkeylinux.org/all
Today, Docker gets all the press for doing what Proxmox did years ago. 
Plus, the Proxmox server is built on Debian. Yay! 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



My XFCE4 Desktop

2016-09-19 Thread Jimmy Johnson
May I share my Debian Sid/testing XFCE4 desktop with you, someplace I 
found this nice Fantasy Nature picture to put on my desktop and I like 
it. :) 
https://scontent-sjc2-1.xx.fbcdn.net/t31.0-8/14409518_993783114063978_434103725657510507_o.jpg 
I know I sometimes I behave like a child. :P

--
Jimmy Johnson

Debian Sid/Testing - XFCE4 - AMD64 - EXT4 at sda24
Registered Linux User #380263



Re: How to arrange for booting to console

2016-09-19 Thread Lisi Reisz
On Monday 19 September 2016 21:23:05 Jude DaShiell wrote:
> On Mon, 19 Sep 2016, David Wright wrote:
> > Date: Mon, 19 Sep 2016 15:48:35
> > From: David Wright 
> > Reply-To: debian-user@lists.debian.org
> > To: debian-user@lists.debian.org
> > Subject: Re: How to arrange for booting to console
> > Resent-Date: Mon, 19 Sep 2016 19:48:54 + (UTC)
> > Resent-From: debian-user@lists.debian.org
> >
> > On Sat 17 Sep 2016 at 02:34:11 (-0400), Jude DaShiell wrote:
> >> On Fri, 16 Sep 2016, David Wright wrote:
> >>> Date: Fri, 16 Sep 2016 09:38:31
> >>> From: David Wright 
> >>> Reply-To: debian-user@lists.debian.org
> >>> To: debian-user@lists.debian.org
> >>> Subject: Re: How to arrange for booting to console
> >>> Resent-Date: Fri, 16 Sep 2016 13:43:51 + (UTC)
> >>> Resent-From: debian-user@lists.debian.org
> >>>
> >>> I missed this reply until Lisi bumped the thread.
> >>> These are my opinions, based of the pathetically little I know.
> >>>
> >>> On Sun 11 Sep 2016 at 18:52:59 (-0400), Harry Putnam wrote:
>  The Wanderer  writes:
> > On 2016-09-11 at 17:04, Harry Putnam wrote:
> >> How can I arrange to boot to console mode rather than X.   With the
> >> ability to startx when I feel like it.
> 
>  [...]
> 
> > The way I usually do it is to uninstall gdm, kdm, xdm, et cetera;
> > those are the packages which hook in to provide a graphical login
> > prompt. With none of them present, what you get is the traditional
> > text-mode login prompt, and your configured shell after login.
> 
>  [...]
> 
>  That sounds promissing.
> >>>
> >>> It ought to. It's the display managers that start X. If they're not
> >>> there, you've to start it yourself with startx.
> >>>
>  Used one of the methods below and quickly
>  realized I was expecting a nice big framebuffered text console with a
>  much higher resolution than the standard.
> >>>
> >>> But you got ... what?
> >>>
> >>> If you want to know whether you're looking at a nice big framebuffered
> >>> text console, install fbset and type
> >>> $ fbset
> >>> If you see something like:
> >>>
> >>> mode "1280x800"
> >>>   geometry 1280 800 1280 800 32
> >>>   timings 0 0 0 0 0 0 0
> >>>   accel true
> >>>   rgba 8/16,8/8,8/0,0/0
> >>> endmode
> >>>
> >>> then you are.
> >>>
> >>> BTW What's the "standard" resolution of which you speak?
> >>>
>  (Previously my OS of choice
>  was gentoo), But of course all that has to be setup as I recall it
>  is done with a few extra bits on the kernel line grub.conf
> 
>  Using grub2 I'm thoroughly lost what or where one would edit to allow
> >
> >?
> >
>  a console frame buffer.
> >
> > [snipped my response which was not grub-related]
> >
> >> edit /etc/default/grub then run grub-mkconfig to apply your changes
> >> like this:
> >> grub-mkconfig -o /boot/grub/grub.cfg
> >
> > That's the "where"; what's the "what" ?
> >
> > Cheers,
> > David.
>
> Almost forgot, after doing edit as root run update-grub as root and you
> should be good to go.

That still isn't the "what"!!!

Lisi



Re: WordPress on Debian

2016-09-19 Thread Anthony Baldwin

On 09/19/2016 03:36 PM, David Wright wrote:

On Mon 19 Sep 2016 at 13:43:04 (-0500), Kent West wrote:

On Mon, Sep 19, 2016 at 1:29 PM, Kent West  wrote:


On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin 
wrote:


On 09/19/2016 12:26 PM, Miles Fidelman wrote:


On 9/19/16 12:20 PM, Tony Baldwin wrote:

I make a new user on the server for each new WP site, and then install

their WP in /home/$user/www . much simpler than having bits of it all
over the machine.







So what I'm hearing is that I should forego using apt/aptitude to install
WordPress, and just install in manually?


Neither of those people appear to reveal their update policy or how
they deal with security fixes.


I use WP's built in updater once/month to keep those up to date, and 
generally keep the debian installation updated at about the same 
frequency with aptitude. the dokuwikis don't get updates as often but 
when there's an update available. I generally install it asap.

with some of those other things, I routinely pulled from github or wherever.

tony




Oh, I forgot to emphasize my broader question: am I correct in thinking
that pieces of a web server should not be strewn about on the file system,
simply because it conceptually exposes those parts of the file system to
*users*?


No. The Debian packaging system is designed to take care of tracking
where files are installed, and updating, or even removing, them correctly.

The files are "scattered" to their appropriate locations, but not in a
careless manner. Take a look at the (recently updated) FHS at
http://refspecs.linuxfoundation.org/fhs.shtml
to see why that is so. (Don't download the text version; you need the
formatting to make sense of it.)

Cheers,
David.




--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT



Re: How to arrange for booting to console

2016-09-19 Thread Jude DaShiell

On Mon, 19 Sep 2016, David Wright wrote:


Date: Mon, 19 Sep 2016 15:48:35
From: David Wright 
Reply-To: debian-user@lists.debian.org
To: debian-user@lists.debian.org
Subject: Re: How to arrange for booting to console
Resent-Date: Mon, 19 Sep 2016 19:48:54 + (UTC)
Resent-From: debian-user@lists.debian.org

On Sat 17 Sep 2016 at 02:34:11 (-0400), Jude DaShiell wrote:

On Fri, 16 Sep 2016, David Wright wrote:


Date: Fri, 16 Sep 2016 09:38:31
From: David Wright 
Reply-To: debian-user@lists.debian.org
To: debian-user@lists.debian.org
Subject: Re: How to arrange for booting to console
Resent-Date: Fri, 16 Sep 2016 13:43:51 + (UTC)
Resent-From: debian-user@lists.debian.org

I missed this reply until Lisi bumped the thread.
These are my opinions, based of the pathetically little I know.

On Sun 11 Sep 2016 at 18:52:59 (-0400), Harry Putnam wrote:

The Wanderer  writes:


On 2016-09-11 at 17:04, Harry Putnam wrote:


How can I arrange to boot to console mode rather than X.   With the
ability to startx when I feel like it.



[...]


The way I usually do it is to uninstall gdm, kdm, xdm, et cetera; those
are the packages which hook in to provide a graphical login prompt. With
none of them present, what you get is the traditional text-mode login
prompt, and your configured shell after login.



[...]

That sounds promissing.


It ought to. It's the display managers that start X. If they're not
there, you've to start it yourself with startx.


Used one of the methods below and quickly
realized I was expecting a nice big framebuffered text console with a
much higher resolution than the standard.


But you got ... what?

If you want to know whether you're looking at a nice big framebuffered
text console, install fbset and type
$ fbset
If you see something like:

mode "1280x800"
  geometry 1280 800 1280 800 32
  timings 0 0 0 0 0 0 0
  accel true
  rgba 8/16,8/8,8/0,0/0
endmode

then you are.

BTW What's the "standard" resolution of which you speak?


(Previously my OS of choice
was gentoo), But of course all that has to be setup as I recall it
is done with a few extra bits on the kernel line grub.conf

Using grub2 I'm thoroughly lost what or where one would edit to allow

   ?

a console frame buffer.



[snipped my response which was not grub-related]



edit /etc/default/grub then run grub-mkconfig to apply your changes
like this:
grub-mkconfig -o /boot/grub/grub.cfg


That's the "where"; what's the "what" ?

Cheers,
David.

Almost forgot, after doing edit as root run update-grub as root and you 
should be good to go.






--



Re: WordPress on Debian

2016-09-19 Thread davidson

On Mon, 19 Sep 2016, Kent West wrote:


On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin  wrote:


On 09/19/2016 12:26 PM, Miles Fidelman wrote:


On 9/19/16 12:20 PM, Tony Baldwin wrote:

I have always downloaded the latest from wordpress, created a DB  on

my server and basically manually installed the upstream pkg (which I
know is often discouraged here, but if you do it Our Way (ie. the
Debian Way,
aka the Right Way for most stuff), and then ask any questions on
#wordpress on freenode, they get all nasty (I've been banned from the
channel for life!)
I make a new user on the server for each new WP site, and then install
their WP in /home/$user/www . much simpler than having bits of it all
over the machine.
I do the same with dokuwiki installations and other CMS or site
platforms, too, installing from upstream.



That's what I do as well.  For complex software (e.g., WordPress,
Drupal, mailing list managers), I always end up downloading the latest
tarball, unpacking it, and then ./config; make; make test; make
install.  It all just works so much better than relying on out-of-date
packages.

If I want to get ambitious, and keep track of things via the package
manager, I use checkinstall.

Miles Fidelman




I like stuff in git repos (like hubzilla, gnu/social, etc) or with its own
built-in updating mechanism, like WP has (dokuwiki has a plugin for that)
to facilitate updating stuff.
At home (as opposed to my remote servers) I tend to install only Debian
pkgs, except for OmegaT my most used work application, which always install
from upstream (ours is often 2 years behind the latest),
and I wish they'd put it on github, or gitorious, or similar.



--
http://tonybaldwin.me
all tony, all the time



So what I'm hearing is that I should forego using apt/aptitude to install
WordPress, and just install in manually?

Ag, I hate to go that route; I really like having an apt-maintained system.

Is there perhaps a definitive document that explains how WordPress things
are set up in Debian. The /usr/share/wordpress/readme.html starts off by
unpacking the zip file, which tells me that's not the document that
describes The Debian Way. There's no "man wordpress" or "info wordpress".


I don't know anything about wordpress.

But I do know that when I want documentation about package FOO, one
place worth looking is

 /usr/share/doc/FOO/

(Notice the "doc/" element in the path.)


The online docs I have found haven't convinced me that one is more
definitive than the conflicting another, and even if it did, doesn't seem
to have a good explanation of The Debian Way concerning WordPress.


There is also a debian wiki page, which also has not yet been
mentioned, that AFAICT undertakes to describe two methods of
installation.

 https://wiki.debian.org/WordPress

Good luck with your project.



Re: Testing/Unstable Synaptic broken again.

2016-09-19 Thread Jimmy Johnson

On 09/19/2016 11:36 AM, Joe wrote:

On Mon, 19 Sep 2016 11:10:21 -0700
Jimmy Johnson  wrote:


On 09/14/2016 01:10 PM, Jimmy Johnson wrote:

On 09/01/2016 08:51 AM, Jimmy Johnson wrote:

The latest upgrades have broken Synaptic, unable to use Menus or
right click and Search is affected too.


Thank you upstream developing and packaging team for replacing the
effected packages. Yay!

These packages have now been upgraded in Sid, 'gir1.2-gtk-3.0,
libgtk-3-0. libgtk-3-bin. libgtk-3-common' if you have been using
testing and where effected you can temp add Sid repos and upgrade
the effected packages, it will pull in a few more packages, but it
is fixed.


I have the latest of these, 3.21.6-1 in sid, upgraded today as usual.


If you decide to upgrade those 4 packages to Sid, select all 4
packages first and it will NOT pull in any extra packages and
Synaptic will be fixed in KDE Plasma.

In XFCE4 for sure "and possibly Gnome too" do above plus if you have
'gtk3-engines-xfce' installed remove it it's not needed in XFCE and
Synaptic will be fixed. There's no reason for you to have a broken
Synaptic.


I have no gtk3-engines- installed.

I still have a quickly dying Synaptic. I've just noticed that
gnome-terminal is filling the kernel log with masses of:

'  is drawn without a current allocation. This
should not happen.'

This seems to have been ongoing for a couple of months, and GTK3 is
strongly incriminated, RedHat being also affected, various reports
involving emacs and other GTK3 users. The death of my Synaptic produces
no log entries.


Do you have package 'upgrade-system' installed? And or do you use 
deborphan?  Do you use both testing and sid repos? I do not have your 
problem on "6" testing/sid installs. Good luck.

--
Jimmy Johnson

Debian Sid/Testing - XFCE4 - AMD64 - EXT4 at sda24
Registered Linux User #380263



Re: debian

2016-09-19 Thread Andre Nascimento
Agradecido , irei tentar. Prezado obrigado pelo apoio. Caso exista
novamente uma falha irei fazer um print e anexar em e-mail​

Em 19 de setembro de 2016 16:34, Rodolfo  escreveu:

> São pacotes, tanto no DVD quanto no CD você somente precisa do primeiro
> para a instalação, o resto são adicionais de pacotes.
>
> Em 19 de setembro de 2016 15:33, Andre Nascimento <
> andreknascime...@gmail.com> escreveu:
>
>> Ok irei tentar.
>>
>> Essas outras imagens são pacotes ou fazem parte da instalação?
>>
>> ​
>>
>> debian-8.6.0-i386-CD-1.iso 
>> 
>>
>> debian-8.6.0-i386-CD-2.iso 
>> =
>>  fazem parte ou pacotes?
>>
>>
>> Em 19 de setembro de 2016 16:30, Rodolfo  escreveu:
>>
>>> Tente esse link:
>>>
>>> http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debia
>>> n-8.6.0-amd64-CD-1.iso
>>>
>>> Via HTTP.
>>>
>>> Em 19 de setembro de 2016 15:26, Andre Nascimento <
>>> andreknascime...@gmail.com> escreveu:
>>>
 ​http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/
 http://cdimage.debian.org/debian-cd/8.6.0/i386/iso-cd/

 já tentei as duas versões.

 Em 19 de setembro de 2016 16:24, Andre Nascimento <
 andreknascime...@gmail.com> escreveu:

> ​Eu preciso baixar todas as iso's ou somente o primeiro iso será
> suficiente?
>
> Em 19 de setembro de 2016 16:22, Andre Nascimento <
> andreknascime...@gmail.com> escreveu:
>
>> ​estou baixando torrente, porem quando faço a descompactação da iso
>> via ultraiso vem sempre com falhas, existe uma forma mais correta de
>> efetuar esse processo?
>>
>> Em 19 de setembro de 2016 16:20, Rodolfo 
>> escreveu:
>>
>>> De onde você está baixando e como (ftp, http, torrent, etc) ?
>>>
>>> Em 19 de setembro de 2016 15:00, Andre Nascimento <
>>> andreknascime...@gmail.com> escreveu:
>>>
 ​Saudações...

 Boa tarde.

 Poderia me informar a forma mais correta de se instalar o debian?
 Pois toda vez que estou baixando esta dando erro na imagem ou ausência 
 de
 pacotes.

 Desde já agradeço as orientações...



>>>
>>
>

>>>
>>
>


Re: How to arrange for booting to console

2016-09-19 Thread David Wright
On Sat 17 Sep 2016 at 02:34:11 (-0400), Jude DaShiell wrote:
> On Fri, 16 Sep 2016, David Wright wrote:
> 
> >Date: Fri, 16 Sep 2016 09:38:31
> >From: David Wright 
> >Reply-To: debian-user@lists.debian.org
> >To: debian-user@lists.debian.org
> >Subject: Re: How to arrange for booting to console
> >Resent-Date: Fri, 16 Sep 2016 13:43:51 + (UTC)
> >Resent-From: debian-user@lists.debian.org
> >
> >I missed this reply until Lisi bumped the thread.
> >These are my opinions, based of the pathetically little I know.
> >
> >On Sun 11 Sep 2016 at 18:52:59 (-0400), Harry Putnam wrote:
> >>The Wanderer  writes:
> >>
> >>>On 2016-09-11 at 17:04, Harry Putnam wrote:
> >>>
> How can I arrange to boot to console mode rather than X.   With the
> ability to startx when I feel like it.
> 
> >>
> >>[...]
> >>
> >>>The way I usually do it is to uninstall gdm, kdm, xdm, et cetera; those
> >>>are the packages which hook in to provide a graphical login prompt. With
> >>>none of them present, what you get is the traditional text-mode login
> >>>prompt, and your configured shell after login.
> >>>
> >>
> >>[...]
> >>
> >>That sounds promissing.
> >
> >It ought to. It's the display managers that start X. If they're not
> >there, you've to start it yourself with startx.
> >
> >>Used one of the methods below and quickly
> >>realized I was expecting a nice big framebuffered text console with a
> >>much higher resolution than the standard.
> >
> >But you got ... what?
> >
> >If you want to know whether you're looking at a nice big framebuffered
> >text console, install fbset and type
> >$ fbset
> >If you see something like:
> >
> >mode "1280x800"
> >   geometry 1280 800 1280 800 32
> >   timings 0 0 0 0 0 0 0
> >   accel true
> >   rgba 8/16,8/8,8/0,0/0
> >endmode
> >
> >then you are.
> >
> >BTW What's the "standard" resolution of which you speak?
> >
> >>(Previously my OS of choice
> >>was gentoo), But of course all that has to be setup as I recall it
> >>is done with a few extra bits on the kernel line grub.conf
> >>
> >>Using grub2 I'm thoroughly lost what or where one would edit to allow
↑
> >>a console frame buffer.
> >
[snipped my response which was not grub-related]
> >
> edit /etc/default/grub then run grub-mkconfig to apply your changes
> like this:
> grub-mkconfig -o /boot/grub/grub.cfg

That's the "where"; what's the "what" ?

Cheers,
David.



Re: WordPress on Debian

2016-09-19 Thread David Wright
On Mon 19 Sep 2016 at 13:43:04 (-0500), Kent West wrote:
> On Mon, Sep 19, 2016 at 1:29 PM, Kent West  wrote:
> 
> > On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin 
> > wrote:
> >
> >> On 09/19/2016 12:26 PM, Miles Fidelman wrote:
> >>
> >>> On 9/19/16 12:20 PM, Tony Baldwin wrote:
> >>>
> >>> I make a new user on the server for each new WP site, and then install
>  their WP in /home/$user/www . much simpler than having bits of it all
>  over the machine.
> >>>
> >>>
> 
> >
> > So what I'm hearing is that I should forego using apt/aptitude to install
> > WordPress, and just install in manually?

Neither of those people appear to reveal their update policy or how
they deal with security fixes.

> Oh, I forgot to emphasize my broader question: am I correct in thinking
> that pieces of a web server should not be strewn about on the file system,
> simply because it conceptually exposes those parts of the file system to
> *users*?

No. The Debian packaging system is designed to take care of tracking
where files are installed, and updating, or even removing, them correctly.

The files are "scattered" to their appropriate locations, but not in a
careless manner. Take a look at the (recently updated) FHS at
http://refspecs.linuxfoundation.org/fhs.shtml
to see why that is so. (Don't download the text version; you need the
formatting to make sense of it.)

Cheers,
David.



Re: debian

2016-09-19 Thread Rodolfo
Ok, estamos a disposição.

Em 19 de setembro de 2016 15:35, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> Agradecido , irei tentar. Prezado obrigado pelo apoio. Caso exista
> novamente uma falha irei fazer um print e anexar em e-mail​
>
> Em 19 de setembro de 2016 16:34, Rodolfo  escreveu:
>
>> São pacotes, tanto no DVD quanto no CD você somente precisa do primeiro
>> para a instalação, o resto são adicionais de pacotes.
>>
>> Em 19 de setembro de 2016 15:33, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> Ok irei tentar.
>>>
>>> Essas outras imagens são pacotes ou fazem parte da instalação?
>>>
>>> ​
>>>
>>> debian-8.6.0-i386-CD-1.iso 
>>> 
>>>
>>> debian-8.6.0-i386-CD-2.iso 
>>> =
>>>  fazem parte ou pacotes?
>>>
>>>
>>> Em 19 de setembro de 2016 16:30, Rodolfo  escreveu:
>>>
 Tente esse link:

 http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debia
 n-8.6.0-amd64-CD-1.iso

 Via HTTP.

 Em 19 de setembro de 2016 15:26, Andre Nascimento <
 andreknascime...@gmail.com> escreveu:

> ​http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/
> http://cdimage.debian.org/debian-cd/8.6.0/i386/iso-cd/
>
> já tentei as duas versões.
>
> Em 19 de setembro de 2016 16:24, Andre Nascimento <
> andreknascime...@gmail.com> escreveu:
>
>> ​Eu preciso baixar todas as iso's ou somente o primeiro iso será
>> suficiente?
>>
>> Em 19 de setembro de 2016 16:22, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> ​estou baixando torrente, porem quando faço a descompactação da iso
>>> via ultraiso vem sempre com falhas, existe uma forma mais correta de
>>> efetuar esse processo?
>>>
>>> Em 19 de setembro de 2016 16:20, Rodolfo 
>>> escreveu:
>>>
 De onde você está baixando e como (ftp, http, torrent, etc) ?

 Em 19 de setembro de 2016 15:00, Andre Nascimento <
 andreknascime...@gmail.com> escreveu:

> ​Saudações...
>
> Boa tarde.
>
> Poderia me informar a forma mais correta de se instalar o debian?
> Pois toda vez que estou baixando esta dando erro na imagem ou 
> ausência de
> pacotes.
>
> Desde já agradeço as orientações...
>
>
>

>>>
>>
>

>>>
>>
>


Re: debian

2016-09-19 Thread Rodolfo
São pacotes, tanto no DVD quanto no CD você somente precisa do primeiro
para a instalação, o resto são adicionais de pacotes.

Em 19 de setembro de 2016 15:33, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> Ok irei tentar.
>
> Essas outras imagens são pacotes ou fazem parte da instalação?
>
> ​
>
> debian-8.6.0-i386-CD-1.iso 
> 
>
> debian-8.6.0-i386-CD-2.iso 
> =
>  fazem parte ou pacotes?
>
>
> Em 19 de setembro de 2016 16:30, Rodolfo  escreveu:
>
>> Tente esse link:
>>
>> http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debia
>> n-8.6.0-amd64-CD-1.iso
>>
>> Via HTTP.
>>
>> Em 19 de setembro de 2016 15:26, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> ​http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/
>>> http://cdimage.debian.org/debian-cd/8.6.0/i386/iso-cd/
>>>
>>> já tentei as duas versões.
>>>
>>> Em 19 de setembro de 2016 16:24, Andre Nascimento <
>>> andreknascime...@gmail.com> escreveu:
>>>
 ​Eu preciso baixar todas as iso's ou somente o primeiro iso será
 suficiente?

 Em 19 de setembro de 2016 16:22, Andre Nascimento <
 andreknascime...@gmail.com> escreveu:

> ​estou baixando torrente, porem quando faço a descompactação da iso
> via ultraiso vem sempre com falhas, existe uma forma mais correta de
> efetuar esse processo?
>
> Em 19 de setembro de 2016 16:20, Rodolfo 
> escreveu:
>
>> De onde você está baixando e como (ftp, http, torrent, etc) ?
>>
>> Em 19 de setembro de 2016 15:00, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> ​Saudações...
>>>
>>> Boa tarde.
>>>
>>> Poderia me informar a forma mais correta de se instalar o debian?
>>> Pois toda vez que estou baixando esta dando erro na imagem ou ausência 
>>> de
>>> pacotes.
>>>
>>> Desde já agradeço as orientações...
>>>
>>>
>>>
>>
>

>>>
>>
>


Re: debian

2016-09-19 Thread Rodolfo
Tente esse link:

http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-CD-1.iso

Via HTTP.

Em 19 de setembro de 2016 15:26, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> ​http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/
> http://cdimage.debian.org/debian-cd/8.6.0/i386/iso-cd/
>
> já tentei as duas versões.
>
> Em 19 de setembro de 2016 16:24, Andre Nascimento <
> andreknascime...@gmail.com> escreveu:
>
>> ​Eu preciso baixar todas as iso's ou somente o primeiro iso será
>> suficiente?
>>
>> Em 19 de setembro de 2016 16:22, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> ​estou baixando torrente, porem quando faço a descompactação da iso via
>>> ultraiso vem sempre com falhas, existe uma forma mais correta de efetuar
>>> esse processo?
>>>
>>> Em 19 de setembro de 2016 16:20, Rodolfo  escreveu:
>>>
 De onde você está baixando e como (ftp, http, torrent, etc) ?

 Em 19 de setembro de 2016 15:00, Andre Nascimento <
 andreknascime...@gmail.com> escreveu:

> ​Saudações...
>
> Boa tarde.
>
> Poderia me informar a forma mais correta de se instalar o debian? Pois
> toda vez que estou baixando esta dando erro na imagem ou ausência de
> pacotes.
>
> Desde já agradeço as orientações...
>
>
>

>>>
>>
>


anyone having problems with python on debian testing

2016-09-19 Thread emetib
is anyone having problems with their deb testing systems?

i have a python3 script that isn't giving any output where the other linux 
systems that i have tested it on are.

other systems have differing versions of python and what looks like gcc also.

i'm thinking that it's something to do with gcc since if i run it with python 
or python3 it's not working.

works on debian stable though.

don't know how much info people want about what is happening.

i would like to know if others are having any problems with their systems.

thanks



Re: debian

2016-09-19 Thread Rodolfo
Somente o primeiro é suficiente.

Em 19 de setembro de 2016 15:24, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> ​Eu preciso baixar todas as iso's ou somente o primeiro iso será
> suficiente?
>
> Em 19 de setembro de 2016 16:22, Andre Nascimento <
> andreknascime...@gmail.com> escreveu:
>
>> ​estou baixando torrente, porem quando faço a descompactação da iso via
>> ultraiso vem sempre com falhas, existe uma forma mais correta de efetuar
>> esse processo?
>>
>> Em 19 de setembro de 2016 16:20, Rodolfo  escreveu:
>>
>>> De onde você está baixando e como (ftp, http, torrent, etc) ?
>>>
>>> Em 19 de setembro de 2016 15:00, Andre Nascimento <
>>> andreknascime...@gmail.com> escreveu:
>>>
 ​Saudações...

 Boa tarde.

 Poderia me informar a forma mais correta de se instalar o debian? Pois
 toda vez que estou baixando esta dando erro na imagem ou ausência de
 pacotes.

 Desde já agradeço as orientações...



>>>
>>
>


Re: debian

2016-09-19 Thread Rodolfo
Eu nunca baixei por torrent, sempre baixei por http, então não tenho como
garantir que funciona e/ou é a melhor forma de baixar, mas faltou você
responder de onde você está baixando, se puder colar o link aqui já ajuda.

Em 19 de setembro de 2016 15:22, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> ​estou baixando torrente, porem quando faço a descompactação da iso via
> ultraiso vem sempre com falhas, existe uma forma mais correta de efetuar
> esse processo?
>
> Em 19 de setembro de 2016 16:20, Rodolfo  escreveu:
>
>> De onde você está baixando e como (ftp, http, torrent, etc) ?
>>
>> Em 19 de setembro de 2016 15:00, Andre Nascimento <
>> andreknascime...@gmail.com> escreveu:
>>
>>> ​Saudações...
>>>
>>> Boa tarde.
>>>
>>> Poderia me informar a forma mais correta de se instalar o debian? Pois
>>> toda vez que estou baixando esta dando erro na imagem ou ausência de
>>> pacotes.
>>>
>>> Desde já agradeço as orientações...
>>>
>>>
>>>
>>
>


Re: debian

2016-09-19 Thread Rodolfo
De onde você está baixando e como (ftp, http, torrent, etc) ?

Em 19 de setembro de 2016 15:00, Andre Nascimento <
andreknascime...@gmail.com> escreveu:

> ​Saudações...
>
> Boa tarde.
>
> Poderia me informar a forma mais correta de se instalar o debian? Pois
> toda vez que estou baixando esta dando erro na imagem ou ausência de
> pacotes.
>
> Desde já agradeço as orientações...
>
>
>


Besoin d'aide <- lists.debian.org has received bounces from you

2016-09-19 Thread Fabrice Delvallée

Bonsoir la liste,


Je suis assez assidu à cette liste de diffusion. J'y apprend plein de 
chose, même si je ne comprend pas tout.


J'ai reçu il y a peu un courriel ayant pour sujet " lists.debian.org has 
received bounces from you"


me renvoyant sur : https://wiki.debian.org/Teams/ListMaster/FAQ

Mais je suis pas très bon en anglais, bon en français aussi mais bon...


Ce qui m'intrigue c'est le "1 bounce out of 58 mails in 7 days (1%, 
kick-score is 80%)"



J'avais déjà reçu un courriel similaire il y a quelques mois, puis je ne 
recevez plus de courriel de la liste. J'ai eu beau essayer de me 
réinscrire mais rien à faire. J'ai alors créer une nouvelle adresse de 
courriel pour me réinscrire.


Si quelqu'un pourrais m'éclaircir.

Par avance merci







Re: /etc/fstab and systemd

2016-09-19 Thread Jimmy Johnson

On 09/19/2016 06:15 AM, Pol Hallen wrote:

hi all :-)

I migrated my pc to systemd (!), in /etc/fstab I've

/dev/sdb1/testext4x-systemd.automount00
(I use UUID but to semplify I wrote /dev/sdb1)

this line works but only on some pc

what is the correct way to mount a disk automatically at start up of
system?

thanks!

Pol


"/dev/sdb1 /test ext4 auto,users,exec,relatime 0 0"

You do realize that will mount the folder named 'test' you have created 
on root.  If you do not have a folder named 'test' on root/ in will not 
work.
You may want to put the mount folder named 'test' in your home folder, 
ie /home/username/test. I mount to a folder named '1-Linux' so that it 
will be at the top of my home directory. I hope that helps.

--
Jimmy Johnson

Debian Sid/Testing - XFCE4 - AMD64 - EXT4 at sda24
Registered Linux User #380263



Re: WordPress on Debian

2016-09-19 Thread Kent West
On Mon, Sep 19, 2016 at 1:29 PM, Kent West  wrote:

> On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin 
> wrote:
>
>> On 09/19/2016 12:26 PM, Miles Fidelman wrote:
>>
>>> On 9/19/16 12:20 PM, Tony Baldwin wrote:
>>>
>>> I make a new user on the server for each new WP site, and then install
 their WP in /home/$user/www . much simpler than having bits of it all
 over the machine.
>>>
>>>

>
> So what I'm hearing is that I should forego using apt/aptitude to install
> WordPress, and just install in manually?
>


Oh, I forgot to emphasize my broader question: am I correct in thinking
that pieces of a web server should not be strewn about on the file system,
simply because it conceptually exposes those parts of the file system to
*users*?

Tony, by "$user" ("/home/$user/www"), do you mean something like
"/home/mywidgetfactory/www" for your web site named "My Widget Factory" and
"/home/nutsandbolts/www" for your web site named "Nuts, Bolts, Screws, and
Banana Peels", both sites being served from the same physical (or virtual)
Debian box?

Does each web site need its own complete WordPress installation? (I would
expect some of the WordPress installation to be on various partitions, such
as "/usr/share" and "/usr/lib", but only those portions that are common to
all the WordPress sites, which are configured by the admin once and then
pretty much left alone, but I would expect site-specific info to be away
from those system partitions, and instead be stored some place like
"/home/$user/www", or in my first-attempted case, in
"/home/web/$site_name".)

Thanks!

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Testing/Unstable Synaptic broken again.

2016-09-19 Thread Joe
On Mon, 19 Sep 2016 11:10:21 -0700
Jimmy Johnson  wrote:

> On 09/14/2016 01:10 PM, Jimmy Johnson wrote:
> > On 09/01/2016 08:51 AM, Jimmy Johnson wrote:  
> >> The latest upgrades have broken Synaptic, unable to use Menus or
> >> right click and Search is affected too.  
> >
> > Thank you upstream developing and packaging team for replacing the
> > effected packages. Yay!
> >
> > These packages have now been upgraded in Sid, 'gir1.2-gtk-3.0,
> > libgtk-3-0. libgtk-3-bin. libgtk-3-common' if you have been using
> > testing and where effected you can temp add Sid repos and upgrade
> > the effected packages, it will pull in a few more packages, but it
> > is fixed.  

I have the latest of these, 3.21.6-1 in sid, upgraded today as usual.
> 
> If you decide to upgrade those 4 packages to Sid, select all 4
> packages first and it will NOT pull in any extra packages and
> Synaptic will be fixed in KDE Plasma.
> 
> In XFCE4 for sure "and possibly Gnome too" do above plus if you have 
> 'gtk3-engines-xfce' installed remove it it's not needed in XFCE and 
> Synaptic will be fixed. There's no reason for you to have a broken
> Synaptic.

I have no gtk3-engines- installed.

I still have a quickly dying Synaptic. I've just noticed that
gnome-terminal is filling the kernel log with masses of:

'  is drawn without a current allocation. This
should not happen.'

This seems to have been ongoing for a couple of months, and GTK3 is
strongly incriminated, RedHat being also affected, various reports
involving emacs and other GTK3 users. The death of my Synaptic produces
no log entries.

-- 
Joe



Re: WordPress on Debian

2016-09-19 Thread Kent West
On Mon, Sep 19, 2016 at 11:53 AM, Tony Baldwin  wrote:

> On 09/19/2016 12:26 PM, Miles Fidelman wrote:
>
>> On 9/19/16 12:20 PM, Tony Baldwin wrote:
>>
>> I have always downloaded the latest from wordpress, created a DB  on
>>> my server and basically manually installed the upstream pkg (which I
>>> know is often discouraged here, but if you do it Our Way (ie. the
>>> Debian Way,
>>> aka the Right Way for most stuff), and then ask any questions on
>>> #wordpress on freenode, they get all nasty (I've been banned from the
>>> channel for life!)
>>> I make a new user on the server for each new WP site, and then install
>>> their WP in /home/$user/www . much simpler than having bits of it all
>>> over the machine.
>>> I do the same with dokuwiki installations and other CMS or site
>>> platforms, too, installing from upstream.
>>>
>>>
>> That's what I do as well.  For complex software (e.g., WordPress,
>> Drupal, mailing list managers), I always end up downloading the latest
>> tarball, unpacking it, and then ./config; make; make test; make
>> install.  It all just works so much better than relying on out-of-date
>> packages.
>>
>> If I want to get ambitious, and keep track of things via the package
>> manager, I use checkinstall.
>>
>> Miles Fidelman
>>
>>
>>
> I like stuff in git repos (like hubzilla, gnu/social, etc) or with its own
> built-in updating mechanism, like WP has (dokuwiki has a plugin for that)
> to facilitate updating stuff.
> At home (as opposed to my remote servers) I tend to install only Debian
> pkgs, except for OmegaT my most used work application, which always install
> from upstream (ours is often 2 years behind the latest),
> and I wish they'd put it on github, or gitorious, or similar.
>
>
>
> --
> http://tonybaldwin.me
> all tony, all the time
>
>
So what I'm hearing is that I should forego using apt/aptitude to install
WordPress, and just install in manually?

Ag, I hate to go that route; I really like having an apt-maintained system.

Is there perhaps a definitive document that explains how WordPress things
are set up in Debian. The /usr/share/wordpress/readme.html starts off by
unpacking the zip file, which tells me that's not the document that
describes The Debian Way. There's no "man wordpress" or "info wordpress".
The online docs I have found haven't convinced me that one is more
definitive than the conflicting another, and even if it did, doesn't seem
to have a good explanation of The Debian Way concerning WordPress.

Thanks!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Laserjet p1109w - anyone got it working?

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 20:22:06 +0200, deloptes wrote:

> Brian wrote:
> 
> > I didn't understand the final sentence first time round. After mulling
> > on it I still don't understand it. Any enlightenment in the offing?
> 
> I understand he means that you do not need additional software for scanning,
> although such software is offered by the vendor (Brother).

He could mean that but the thread is about printing. The connection
between the two concepts is tenuous and they should not be confused.

> IMO the new multifunction devices confuse a lot of people.

Could happen. That's their problem.



Re: Laserjet p1109w - anyone got it working?

2016-09-19 Thread deloptes
Brian wrote:

> I didn't understand the final sentence first time round. After mulling
> on it I still don't understand it. Any enlightenment in the offing?

I understand he means that you do not need additional software for scanning,
although such software is offered by the vendor (Brother).

IMO the new multifunction devices confuse a lot of people.

regards



Re: Sound on jessie

2016-09-19 Thread Brian
On Sun 18 Sep 2016 at 12:05:15 +, Curt wrote:

> On 2016-09-17, deloptes  wrote:
> > Lisi Reisz wrote:
> >
> >> He keeps saying that he is using Jessie.  Why do you think he is using
> >> Ubuntu?
> > Sorry I seem to have misread something.
> >
> 
> Easy to do in these protracted, tangential, niggling threads that
> devolve into acrimony and invidiousness before expiring in a liminal
> whimper.

Stick to the day job; your prophecy skills leave much to be desired. No
acrimony; no invidiousness; no whimpers. Just complete silence from the
OP in response to requested information.

-- 
Brian.



Re: Testing/Unstable Synaptic broken again.

2016-09-19 Thread Jimmy Johnson

On 09/14/2016 01:10 PM, Jimmy Johnson wrote:

On 09/01/2016 08:51 AM, Jimmy Johnson wrote:

The latest upgrades have broken Synaptic, unable to use Menus or right
click and Search is affected too.


Thank you upstream developing and packaging team for replacing the
effected packages. Yay!

These packages have now been upgraded in Sid, 'gir1.2-gtk-3.0,
libgtk-3-0. libgtk-3-bin. libgtk-3-common' if you have been using
testing and where effected you can temp add Sid repos and upgrade the
effected packages, it will pull in a few more packages, but it is fixed.


If you decide to upgrade those 4 packages to Sid, select all 4 packages 
first and it will NOT pull in any extra packages and Synaptic will be 
fixed in KDE Plasma.


In XFCE4 for sure "and possibly Gnome too" do above plus if you have 
'gtk3-engines-xfce' installed remove it it's not needed in XFCE and 
Synaptic will be fixed. There's no reason for you to have a broken Synaptic.

--
Jimmy Johnson

Debian Sid/Testing - XFCE4 - AMD64 - EXT4 at sda24
Registered Linux User #380263



Re: Rebuilding Debian package from source

2016-09-19 Thread Joshua Schaeffer
>
>
> I doubt it's possible to make build paths containing spaces work correctly
> in the general case, even if the original poster does manage to hack
> it up this one time.  My advice would be to stop attempting to use a
> directory with a space in its name as part of a build setup.  It's doomed.
>
>
Go to know. I will not use spaces in the future. I was able to get the
package rebuilt by following this guide:
https://wiki.debian.org/BuildingAPackage

Which, incidentally, does not use spaces in its base directory.

Thanks,
Joshua Schaeffer


Re: [OT] Flash Player para linux "strikes back"

2016-09-19 Thread Ignacio Martirén
Ok, perfecto, gracias

El 19 de septiembre de 2016, 12:34, Gonzalo Rivero 
escribió:

> El lun, 19-09-2016 a las 09:35 -0300, Ignacio Martirén escribió:
> > pd: si podés NO hacer top posting ni enviar correo html, mejor
> >
> > No entiendo esta recomendación, favor ampliar un poco. Gracias
> >
> top posting es contestar arriba. Mejor abajo
> https://es.wikipedia.org/wiki/Top-posting
>
> y el correo que salga en texto plano. Sin formato
>
> mas por aquí: https://wiki.debian.org/es/NormasLista
>
> > El 16 de septiembre de 2016, 11:30, Gonzalo Rivero
> >  escribió:
> > > El vie, 16-09-2016 a las 10:54 -0300, Ignacio Martirén escribió:
> > > > Bueno, no soy muy entendedor de estas cosas, pregunto en este
> > > hilo
> > > > porque la temática es de adobe flash player que no "funcionaría"
> > > en
> > > > mi stretch 32bits. Haré comprobaciones sobre falshplugin-nonfree
> > > >
> > > en el caso específico de youtube, entrá en http://www.youtube.com/h
> > > tml5
> > >  y activá lo que veas ahí, así no necesitás flash
> > > los otros sitios no se.
> > >
> > > pd: si podés NO hacer top posting ni enviar correo html, mejor
> > >
> > > > El 16 de septiembre de 2016, 10:31, Jorge A. Secreto
> > > >  escribió:
> > > > > hola
> > > > > ¿me parece a mi o estás secuestrando un hilo?
> > > > >
> > > > > El día 16 de septiembre de 2016, 10:22, Ignacio Martirén
> > > > >  escribió:
> > > > > > Tengo instalado Debian stretch 32bits en la notebook. Cómo
> > > puedo
> > > > > hacer para
> > > > > > que me funcione  las multimedia en Mozilla? No me queda claro
> > > lo
> > > > > que dicen
> > > > > > respecto de adobe flash player, tampoco funciona Gnash (?).
> > > En
> > > > > otra pc tengo
> > > > > > el mismo SO en 64bits y todo funciona bien. Cómo hago?
> > > > > >
> > > > >
> > > > > ¿Tenés instalado flashplugin-nonfree?
> > > > >
> > > > >
> > > > >
> > > > > > El 16 de septiembre de 2016, 10:06, Ignacio Martirén
> > >  > > > > gmail.com>
> > > > > > escribió:
> > > > > >>
> > > > > >> Hola. Tengo instalado Debian stretch 32bits y no puedo usar
> > > > > yutube
> > > > > >>
> > > > > >>
> > > > > >> El 11 de septiembre de 2016, 13:01, Camaleón  > > .com
> > > > > >
> > > > > >> escribió:
> > > > > >>>
> > > > > >>> El Mon, 05 Sep 2016 14:06:40 +, Camaleón escribió:
> > > > > >>>
> > > > > >>> > Aviso a navegantes: la beta 23 no la detecta Firefox.
> > > Parece
> > > > > que además
> > > > > >>> > de Fedora (como dice la nota) tampoco funciona en Debian.
> > > > > >>>
> > > > > >>> Corrijo: la beta 23 funciona en testing (32 bits) pero no
> > > > > funciona en
> > > > > >>> wheezy (64 bits). Misterios "bibliotecarios", seguro.
> > > > > >>>
> > > > > >>> Saludos,
> > > > > >>>
> > > > > >>> --
> > > > > >>> Camaleón
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >>   Ignacio
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >   Ignacio
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Jorge A Secreto
> > > > > Analista de Sistemas
> > > > > MP 361
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>


-- 
*  Ignacio*


Re: Recherche développeur C/C++ pour améliorer l’accessibilité de GNU/Linux

2016-09-19 Thread Klaus Becker
On lundi 19 septembre 2016 18:28:19 CEST Alex ARNAUD wrote:
> Bonjour à tous,
> 
> 
> je me permets de vous communiquer cette offre d'emploi que mon
> entreprise propose et qui a pour vocation l'amélioration de
> l’accessibilité du logiciel libre en contribuant à Debian, Mate, Compiz
> et d'autres projets libres.
> 
> 
> Librement.
> 
> 
> 
> 
>   INGÉNIEUR DÉVELOPPEMENT C/C++
> 
> 
> ENVIRONNEMENT
> 
> Hypra est une jeune start-up qui vise à mettre l'informatique à la
> portée de tous. Nous développons des solutions pour que les
> environnements Linux soient accessibles au plus grand nombre (grand
> public, handicapés, personnes agées).
> 
> 
> NATURE DU POSTE
> 
> Vous participerez à l’amélioration de logiciels libres tels que Compiz,
> Pulseaudio ou encore Mate. Vos contributions seront reversées à la
> communauté.
> 
> Vos missions seront d’améliorer ces logiciels pour qu'ils soient simples
> et utilisables par le plus grand nombre.
> 
> Vous serez en charge de la conception, du débogage et du développement :
> - de modules Compiz (C++)
> - des logiciels variés écrits en C++ ou C tels que Pulseaudio, Mozilla,
> ceux liés au toolkit GTK, Orca (en Python)
> 
> 
> PROFIL DU CANDIDAT
> 
> Une bonne expérience en programmation et dans les environnements Linux
> est nécessaire. Des évaluations techniques seront effectuées.
> 
> Ce poste requiert de l’autonomie, de la rigueur et surtout beaucoup de
> motivation !
> Une bonne connaissance de l'anglais est souhaitée.
> Le poste est basé à Paris et une possibilité de faire du télé-travail
> est envisageable si l'autonomie et la responsabilité sont au rendez-vous.
> _Poste à pourvoir immédiatement. _


Bonsoir,

j'ai publié ce texte à http://linueve.org/offres-demploi, il me manque juste 
une image pour faire + joli.

ciao

Klaus Becker



Re: Laserjet p1109w - anyone got it working?

2016-09-19 Thread Brian
On Sun 18 Sep 2016 at 19:29:54 -0400, Dan Ritter wrote:

> 
> Pick a Brother with BRScript3 (their version of PostScript), an
> ethernet port, and a duplexing feature (model name will have a D
> near the end). Should be in the $100-150 range.
> 
> You can run it under CUPS with no bizarre driver downloads,
> though Brother will offer you one.

I didn't understand the final sentence first time round. After mulling
on it I still don't understand it. Any enlightenment in the offing?

-- 
Brian.



Re: Sane issue

2016-09-19 Thread Lisi Reisz
On Monday 19 September 2016 18:06:59 Brian wrote:
> On Mon 19 Sep 2016 at 18:24:00 +0200, David Rotger wrote:
> > In the same machine, xsane don't find any devices...
>
> This is where we came in. :)
>
> If scanimage works for scanning I cannot see why xsane or simple-scan
> should not work too; both are simply frontends to the same system. The
> only thing I can suggest is to undo any changes made to configuration
> files when you were trying to set up network scanning or purge libsane
> and reinstall it and any packages which are removed.

Whatever the logic or lack of it, have you tried scanning using XSane as root?

Lisi



Re: Propera trobada?

2016-09-19 Thread Eloi
El 19/09/16 a les 18:35, tictacbum ha escrit:
> Hola, si l'havíem planificat pel maig anem molt tard!
> com ho fem per buscar nova data, dudle? i per la ubicació?
> si decidim Vilafranca puc buscar lloc per dinar, reservar el casal, etc..
>
> salut!!
>
>
> El dia 14 de setembre de 2016, 14:35, Adrià  > ha escrit:
>
> Hola,
>
> On Wed, Sep 14, 2016 at 09:10:03AM +0200, Alex Muntada wrote:
> >Hola Adrià,
> >quin format tindria la trobada, com la de Lloret, que era de
> treball amb
> >alguna presentació improvisada? Purament social?
>
> El que ens vingui de gust. Realmeant no tinc res pensat; el missatge
> bàsicament era per refrescar-nos la memòria ja que havíem dit de
> fer-les dos cops l'any.
>
> --
> Adrià García-Alzórriz
> 0x09494C14
>
>

Entenc que precisament pel maig no es va fer trobada perquè hi havia la
DSC de Lloret. En tot cas jo sóc més del parer que, en petit comitè,
sigui una cosa com la de Girona. Ara, que si algú vol proposar alguna
mena de mini-taller, endavant... jo podria aportar experiències recents
amb LUKS (xifratge de disc).


Ara mateix fa de molt mal dir la meva disponibilitat de dates, sí que
confirmo que l'últim cap de setmana d'octubre per mi serà impossible,
necessito la meva dosi patriòtica anual de cantar el "Girona m'enamora"
a les escales de la Catedral :-)



Re: Sane issue

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 18:24:00 +0200, David Rotger wrote:

> In the same machine, xsane don't find any devices...

This is where we came in. :)

If scanimage works for scanning I cannot see why xsane or simple-scan
should not work too; both are simply frontends to the same system. The
only thing I can suggest is to undo any changes made to configuration
files when you were trying to set up network scanning or purge libsane
and reinstall it and any packages which are removed.

-- 
Brian.



Re: WordPress on Debian

2016-09-19 Thread Tony Baldwin

On 09/19/2016 12:26 PM, Miles Fidelman wrote:

On 9/19/16 12:20 PM, Tony Baldwin wrote:


I have always downloaded the latest from wordpress, created a DB  on
my server and basically manually installed the upstream pkg (which I
know is often discouraged here, but if you do it Our Way (ie. the
Debian Way,
aka the Right Way for most stuff), and then ask any questions on
#wordpress on freenode, they get all nasty (I've been banned from the
channel for life!)
I make a new user on the server for each new WP site, and then install
their WP in /home/$user/www . much simpler than having bits of it all
over the machine.
I do the same with dokuwiki installations and other CMS or site
platforms, too, installing from upstream.



That's what I do as well.  For complex software (e.g., WordPress,
Drupal, mailing list managers), I always end up downloading the latest
tarball, unpacking it, and then ./config; make; make test; make
install.  It all just works so much better than relying on out-of-date
packages.

If I want to get ambitious, and keep track of things via the package
manager, I use checkinstall.

Miles Fidelman




I like stuff in git repos (like hubzilla, gnu/social, etc) or with its 
own built-in updating mechanism, like WP has (dokuwiki has a plugin for 
that) to facilitate updating stuff.
At home (as opposed to my remote servers) I tend to install only Debian 
pkgs, except for OmegaT my most used work application, which always 
install from upstream (ours is often 2 years behind the latest),

and I wish they'd put it on github, or gitorious, or similar.


--
http://tonybaldwin.me
all tony, all the time



Re: Sane issue

2016-09-19 Thread David Rotger
2016-09-19 18:19 GMT+02:00 Brian :
> On Mon 19 Sep 2016 at 17:50:16 +0200, David Rotger wrote:
>
>> El 19 sept. 2016 17:41, "Brian"  escribió:
>> >
>> > You should now be able to scan from the machine the scanner is plugged
>> > into. Try
>> >
>> >   scanimage > file.pnm
>> >
>> > Does the scanner operate and do you get file.pnm?
>> >
>> > > when I do: service saned restart they out:
>> > >
>> > > Failed to restart saned.service: Unit saned.service is masked.
>> >
>> > That's also Ok.
>> >
>> > > and systemctl satatus saned.socket
>> > >
>> > > http://pastebin.com/xaajGXDf
>> > >
>> > > What I'm doing wrong!?!?
>> >
>> > Is your intention to only scan from the machine the scanner is plugged
>> > into or are you also wanting to scan over the network?
>>
>> I've get the image.pnm
>
> That means that if you use xsane on the same machine it should work,
>
>> My first intention was share the scanner over the net with Win machines,
>> but didn't work. And later I think another solution. Install xming on
>> windows and launch the xsane app. But xsane and simple scan can't find any
>> device. The same with swingsane over network. It's very frustrating...
>
> Personally, I am totally unfamiliar with sharing a scanner with non-Linux
> machines. Best of luck.
>
> --
> Brian.

In the same machine, xsane don't find any devices...

-- 
David Rotger



Re: Propera trobada?

2016-09-19 Thread tictacbum
Hola, si l'havíem planificat pel maig anem molt tard!
com ho fem per buscar nova data, dudle? i per la ubicació?
si decidim Vilafranca puc buscar lloc per dinar, reservar el casal, etc..

salut!!


El dia 14 de setembre de 2016, 14:35, Adrià  ha escrit:

> Hola,
>
> On Wed, Sep 14, 2016 at 09:10:03AM +0200, Alex Muntada wrote:
> >Hola Adrià,
> >quin format tindria la trobada, com la de Lloret, que era de treball
> amb
> >alguna presentació improvisada? Purament social?
>
> El que ens vingui de gust. Realmeant no tinc res pensat; el missatge
> bàsicament era per refrescar-nos la memòria ja que havíem dit de
> fer-les dos cops l'any.
>
> --
> Adrià García-Alzórriz
> 0x09494C14
>


Recherche développeur C/C++ pour améliorer l’accessibilité de GNU/Linux

2016-09-19 Thread Alex ARNAUD

Bonjour à tous,


je me permets de vous communiquer cette offre d'emploi que mon 
entreprise propose et qui a pour vocation l'amélioration de 
l’accessibilité du logiciel libre en contribuant à Debian, Mate, Compiz 
et d'autres projets libres.



Librement.




 INGÉNIEUR DÉVELOPPEMENT C/C++


   ENVIRONNEMENT

Hypra est une jeune start-up qui vise à mettre l'informatique à la 
portée de tous. Nous développons des solutions pour que les 
environnements Linux soient accessibles au plus grand nombre (grand 
public, handicapés, personnes agées).



   NATURE DU POSTE

Vous participerez à l’amélioration de logiciels libres tels que Compiz, 
Pulseaudio ou encore Mate. Vos contributions seront reversées à la 
communauté.


Vos missions seront d’améliorer ces logiciels pour qu'ils soient simples 
et utilisables par le plus grand nombre.


Vous serez en charge de la conception, du débogage et du développement :
- de modules Compiz (C++)
- des logiciels variés écrits en C++ ou C tels que Pulseaudio, Mozilla, 
ceux liés au toolkit GTK, Orca (en Python)



   PROFIL DU CANDIDAT

Une bonne expérience en programmation et dans les environnements Linux 
est nécessaire. Des évaluations techniques seront effectuées.


Ce poste requiert de l’autonomie, de la rigueur et surtout beaucoup de 
motivation !

Une bonne connaissance de l'anglais est souhaitée.
Le poste est basé à Paris et une possibilité de faire du télé-travail
est envisageable si l'autonomie et la responsabilité sont au rendez-vous.
_Poste à pourvoir immédiatement. _
--
Alex ARNAUD


Re: (deb-cat) sudo as lp

2016-09-19 Thread tictacbum
crec que has de canviar la línia del sudoers per:

lp ALL = (UnUsuari) NOPASSWD: /usr/sbin/lpmove

salut!

El dia 19 de setembre de 2016, 10:16, Narcis Garcia 
ha escrit:

> Ja hi tornem a ser! I ara reafirmant el títol d'aquest fil de correu.
>
> Sota certes circumstàncies necessito que el programet:
> /etc/cups/interfaces/Epson2
> canvii el treball de cua amb:
> lpmove $JobID Brother1
> i diu:
> lpmove: Forbidden
> Aleshores és quan habilito la línia de sudoers (amb visudo):
> lp ALL = (%lpadmin) NOPASSWD: /etc/cups/interfaces/*
> i provo que el programet «Epson2» faci*:
> sudo -n -u UnUsuari lpmove $JobID Brother1
> PERÒ EM DIU:
> sudo: a password is required
>
> Tindrà a veure també amb el tipus de confinament que fa SystemD?
>
> (*) Evidentment UnUsuari és membre del grup «lpadmin».
>
>
> __
> I'm using this express-made address because personal addresses aren't
> masked enough at lists.debian.org archives.
> El 19/09/16 a les 09:34, Narcis Garcia ha escrit:
> > Vaig avançant. Sí que s'executa amb Debian 8 (stable). El què passa és
> > que el SystemD canvia algunes rutes als processos que executa un servei;
> > Per exemple /tmp/ passa a ser:
> > /tmp/systemd-private-...-cups.service-.../tmp/
> > i aleshores hom perd de vista la bitàcola de prova.
> >
> >
> >
> > __
> > I'm using this express-made address because personal addresses aren't
> > masked enough at lists.debian.org archives.
> > El 16/09/16 a les 21:50, Narcis Garcia ha escrit:
> >> És que, en aquell ordinador en concret, havent resolt el tema d'AppArmor
> >> s'ha resolt tota la resta; ni tan sols cal fer servir «sudo» perquè no
> >> hi ha problema de «too many files...».
> >>
> >> La següent batalla serà veure perquè am Debian 8 (stable) sense la
> >> presència d'Apparmor les interfícies-script configurades així a CUPS ni
> >> tan sols s'arriben a executar.
> >>
> >>
> >>
> >> __
> >> I'm using this express-made address because personal addresses aren't
> >> masked enough at lists.debian.org archives.
> >> El 16/09/16 a les 18:30, Alex Muntada ha escrit:
> >>> Narcis Garcia:
> >>>
>  Ambdues instruccions al programet (després d'intentar l'execució
>  remota...too many files...):
>  lsof -p $$ > /tmp/lsof.$$
>  strace -f -e open Epson1 > /tmp/strace.$$
>  Produeixen els fitxers:
>  /tmp/lsof.5618
>  /tmp/strace.5618
> >>>
> >>> Només un petit apunt sobre això: l'ordre strace l'has d'executar
> >>> des de fora del programa que vols avaluar i el paràmetre Epson1
> >>> havia de ser el camí sencer a /etc/cups/interfaces/Epson1 perquè
> >>> no està al PATH (no vaig posar-lo sencer perquè no el recordava).
> >>>
> >>> Prova a fer «strace -f -e open /bin/ls» per veure què fa (no cal
> >>> fer-ho com a root).
> >>>
> >>> Salut,
> >>> Alex
> >>>
> >>
> >
>
>


PXE Booting with uEFI BIOS

2016-09-19 Thread Valerio
Hi all,

I am trying to install debian jessie via PXE on a Dell R630 server with
uEFI BIOS.
I emulated a test bed with virtual machines that were using standard BIOS.
Now I am not able to replicate the installation on the server because
pxelinux.0 apparently doesn't work with uEFI.

Is there any documentation on how to setup Debian to boot with uEFI bioses?

many thanks in advance,
Valerio



Re: WordPress on Debian

2016-09-19 Thread Miles Fidelman

On 9/19/16 12:20 PM, Tony Baldwin wrote:

I have always downloaded the latest from wordpress, created a DB  on 
my server and basically manually installed the upstream pkg (which I 
know is often discouraged here, but if you do it Our Way (ie. the 
Debian Way,
aka the Right Way for most stuff), and then ask any questions on 
#wordpress on freenode, they get all nasty (I've been banned from the 
channel for life!)
I make a new user on the server for each new WP site, and then install 
their WP in /home/$user/www . much simpler than having bits of it all 
over the machine.
I do the same with dokuwiki installations and other CMS or site 
platforms, too, installing from upstream.




That's what I do as well.  For complex software (e.g., WordPress, 
Drupal, mailing list managers), I always end up downloading the latest 
tarball, unpacking it, and then ./config; make; make test; make 
install.  It all just works so much better than relying on out-of-date 
packages.


If I want to get ambitious, and keep track of things via the package 
manager, I use checkinstall.


Miles Fidelman


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



Re: WordPress on Debian

2016-09-19 Thread Tony Baldwin
I have always downloaded the latest from wordpress, created a DB  on my 
server and basically manually installed the upstream pkg (which I know 
is often discouraged here, but if you do it Our Way (ie. the Debian Way,
aka the Right Way for most stuff), and then ask any questions on 
#wordpress on freenode, they get all nasty (I've been banned from the 
channel for life!)
I make a new user on the server for each new WP site, and then install 
their WP in /home/$user/www . much simpler than having bits of it all 
over the machine.
I do the same with dokuwiki installations and other CMS or site 
platforms, too, installing from upstream.


tony
http://tonybaldwin.me
all tony, all the time

On 09/19/2016 12:11 PM, Kent West wrote:

There's a lot of conflicting documentation out there for installing
WordPress on Debian, so I thought I'd come to you folks, who generally
have a lot of wisdom and knowledge in all things Debian.

This will wind up being more a theoretical discussion than a specific
question of how-to, I'm afraid

Understand I'm pretty much a novice when it comes to Apache2 and
WordPress and MySQL, etc (and to web stuff in general).

It seems that some docs indicate that the WordPress (WP) should put part
of its installation in /srv, and part in /usr/lib, and part in /var/lib,
and part in /var/www, etc.

On a philosophical/theoretical level, I want all my web-facing stuff on
a single partition, preferably /home (as in /home/web), so that visitors
to the site have no ability to tinker on the other partitions. Why would
the HFS recommend that user-accessible files be on system partitions
instead of on "safer" partitions?

Am I thinking wrongly?

I don't really even know enough to ask the right questions, but I'm
hoping this might stir some conversations that lead me to asking the
right questions. When I try to put my WP stuff on /home/web, I get
confused about what goes where (because of the conflicting
documentation, and not knowing what the various parts of
Apaceh2/WP/mysql do),, and I get varying levels of success (but mostly
failure) depending on what I try.

Thanks for any insight!

--
Kent West <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/




--
http://tonybaldwin.me
all tony, all the time



Re: Sane issue

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 17:50:16 +0200, David Rotger wrote:

> El 19 sept. 2016 17:41, "Brian"  escribió:
> >
> > You should now be able to scan from the machine the scanner is plugged
> > into. Try
> >
> >   scanimage > file.pnm
> >
> > Does the scanner operate and do you get file.pnm?
> >
> > > when I do: service saned restart they out:
> > >
> > > Failed to restart saned.service: Unit saned.service is masked.
> >
> > That's also Ok.
> >
> > > and systemctl satatus saned.socket
> > >
> > > http://pastebin.com/xaajGXDf
> > >
> > > What I'm doing wrong!?!?
> >
> > Is your intention to only scan from the machine the scanner is plugged
> > into or are you also wanting to scan over the network?
> 
> I've get the image.pnm

That means that if you use xsane on the same machine it should work,

> My first intention was share the scanner over the net with Win machines,
> but didn't work. And later I think another solution. Install xming on
> windows and launch the xsane app. But xsane and simple scan can't find any
> device. The same with swingsane over network. It's very frustrating...

Personally, I am totally unfamiliar with sharing a scanner with non-Linux
machines. Best of luck.

-- 
Brian.



WordPress on Debian

2016-09-19 Thread Kent West
There's a lot of conflicting documentation out there for installing 
WordPress on Debian, so I thought I'd come to you folks, who generally 
have a lot of wisdom and knowledge in all things Debian.


This will wind up being more a theoretical discussion than a specific 
question of how-to, I'm afraid


Understand I'm pretty much a novice when it comes to Apache2 and 
WordPress and MySQL, etc (and to web stuff in general).


It seems that some docs indicate that the WordPress (WP) should put part 
of its installation in /srv, and part in /usr/lib, and part in /var/lib, 
and part in /var/www, etc.


On a philosophical/theoretical level, I want all my web-facing stuff on 
a single partition, preferably /home (as in /home/web), so that visitors 
to the site have no ability to tinker on the other partitions. Why would 
the HFS recommend that user-accessible files be on system partitions 
instead of on "safer" partitions?


Am I thinking wrongly?

I don't really even know enough to ask the right questions, but I'm 
hoping this might stir some conversations that lead me to asking the 
right questions. When I try to put my WP stuff on /home/web, I get 
confused about what goes where (because of the conflicting 
documentation, and not knowing what the various parts of 
Apaceh2/WP/mysql do),, and I get varying levels of success (but mostly 
failure) depending on what I try.


Thanks for any insight!

--
Kent West <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/



Re: Sane issue

2016-09-19 Thread David Rotger
El 19 sept. 2016 17:41, "Brian"  escribió:
>
> On Mon 19 Sep 2016 at 13:04:32 +0200, David Rotger wrote:
>
> Relatively small outputs from commands do not need a pastebin. They are
> easier to deal with when posted here.
>
> Also, you didn't say whether you are subscribed to the list or how you
> are reading list mails.
>
> > The output of sane-find-scanner
> >
> > http://pastebin.com/ksghQg26
>
> sane has found a USB scanner. Ok.
>
> > The output of scanimage -L
> >
> > http://pastebin.com/bcxt0Cqi
>
> sane has found a driver for the scanner. Ok.
>
> You should now be able to scan from the machine the scanner is plugged
> into. Try
>
>   scanimage > file.pnm
>
> Does the scanner operate and do you get file.pnm?
>
> > when I do: service saned restart they out:
> >
> > Failed to restart saned.service: Unit saned.service is masked.
>
> That's also Ok.
>
> > and systemctl satatus saned.socket
> >
> > http://pastebin.com/xaajGXDf
> >
> > What I'm doing wrong!?!?
>
> Is your intention to only scan from the machine the scanner is plugged
> into or are you also wanting to scan over the network?
>
> --
> Brian.

I've get the image.pnm

My first intention was share the scanner over the net with Win machines,
but didn't work. And later I think another solution. Install xming on
windows and launch the xsane app. But xsane and simple scan can't find any
device. The same with swingsane over network. It's very frustrating...


Re: Rebuilding Debian package from source

2016-09-19 Thread Greg Wooledge
On Mon, Sep 19, 2016 at 11:57:13AM -0400, The Wanderer wrote:
> Based on the error, it looks as if the build process is attempting to
> run a command that uses the full path of the build directory, but does
> not quote that path; as a result, the space gets treated as a token
> separator.

Makefiles in general have no real way to handle filenames and directory
names with spaces in them.  The notion of a Makefile variable holding
a space-delimited list of filenames is embedded in the design at the
most fundamental levels.  Passing these "lists" from Makefile to /bin/sh
script fragments doesn't make things any simpler, either.

> The net result is that it attempts to cp the absolute path
> '/home/jschaeffer/Build' into the relative path
> 'Test/nginx-1.6.2-5+deb8u2/auto', which does not exist. (The former path
> may well not exist either, but I'd double-check that if I were you.)
> 
> To fix this, either modify the build process to quote things
> appropriately, or build from under a path which does not contain a
> space. (The latter can be accomplished using symlinks, if preferred.)

I doubt it's possible to make build paths containing spaces work correctly
in the general case, even if the original poster does manage to hack
it up this one time.  My advice would be to stop attempting to use a
directory with a space in its name as part of a build setup.  It's doomed.



Re: Rebuilding Debian package from source

2016-09-19 Thread The Wanderer
On 2016-09-19 at 11:22, Joshua Schaeffer wrote:

> Test...
> 
> "Build Test" is the directory I downloaded everything into (a.k.a. it
> was the directory I was in when I ran apt-get source nginx-extras)

Based on the error, it looks as if the build process is attempting to
run a command that uses the full path of the build directory, but does
not quote that path; as a result, the space gets treated as a token
separator.

The net result is that it attempts to cp the absolute path
'/home/jschaeffer/Build' into the relative path
'Test/nginx-1.6.2-5+deb8u2/auto', which does not exist. (The former path
may well not exist either, but I'd double-check that if I were you.)

To fix this, either modify the build process to quote things
appropriately, or build from under a path which does not contain a
space. (The latter can be accomplished using symlinks, if preferred.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Sane issue

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 13:04:32 +0200, David Rotger wrote:

Relatively small outputs from commands do not need a pastebin. They are
easier to deal with when posted here.

Also, you didn't say whether you are subscribed to the list or how you
are reading list mails.

> The output of sane-find-scanner
> 
> http://pastebin.com/ksghQg26

sane has found a USB scanner. Ok.
 
> The output of scanimage -L
> 
> http://pastebin.com/bcxt0Cqi

sane has found a driver for the scanner. Ok.

You should now be able to scan from the machine the scanner is plugged
into. Try

  scanimage > file.pnm

Does the scanner operate and do you get file.pnm?

> when I do: service saned restart they out:
> 
> Failed to restart saned.service: Unit saned.service is masked.

That's also Ok.

> and systemctl satatus saned.socket
> 
> http://pastebin.com/xaajGXDf
> 
> What I'm doing wrong!?!?

Is your intention to only scan from the machine the scanner is plugged
into or are you also wanting to scan over the network?

-- 
Brian.



Re: change password prompt

2016-09-19 Thread Tony Baldwin

On 09/19/2016 11:21 AM, Reco wrote:

Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"


Thanks, this was exactly what I needed!
and I'll use visudo, of course.

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: [OT] Flash Player para linux "strikes back"

2016-09-19 Thread Gonzalo Rivero
El lun, 19-09-2016 a las 09:35 -0300, Ignacio Martirén escribió:
> pd: si podés NO hacer top posting ni enviar correo html, mejor
> 
> No entiendo esta recomendación, favor ampliar un poco. Gracias
> 
top posting es contestar arriba. Mejor abajo 
https://es.wikipedia.org/wiki/Top-posting

y el correo que salga en texto plano. Sin formato

mas por aquí: https://wiki.debian.org/es/NormasLista

> El 16 de septiembre de 2016, 11:30, Gonzalo Rivero
>  escribió:
> > El vie, 16-09-2016 a las 10:54 -0300, Ignacio Martirén escribió:
> > > Bueno, no soy muy entendedor de estas cosas, pregunto en este
> > hilo
> > > porque la temática es de adobe flash player que no "funcionaría"
> > en
> > > mi stretch 32bits. Haré comprobaciones sobre falshplugin-nonfree
> > >
> > en el caso específico de youtube, entrá en http://www.youtube.com/h
> > tml5
> >  y activá lo que veas ahí, así no necesitás flash
> > los otros sitios no se.
> > 
> > pd: si podés NO hacer top posting ni enviar correo html, mejor
> > 
> > > El 16 de septiembre de 2016, 10:31, Jorge A. Secreto
> > >  escribió:
> > > > hola
> > > > ¿me parece a mi o estás secuestrando un hilo?
> > > >
> > > > El día 16 de septiembre de 2016, 10:22, Ignacio Martirén
> > > >  escribió:
> > > > > Tengo instalado Debian stretch 32bits en la notebook. Cómo
> > puedo
> > > > hacer para
> > > > > que me funcione  las multimedia en Mozilla? No me queda claro
> > lo
> > > > que dicen
> > > > > respecto de adobe flash player, tampoco funciona Gnash (?).
> > En
> > > > otra pc tengo
> > > > > el mismo SO en 64bits y todo funciona bien. Cómo hago?
> > > > >
> > > >
> > > > ¿Tenés instalado flashplugin-nonfree?
> > > >
> > > >
> > > >
> > > > > El 16 de septiembre de 2016, 10:06, Ignacio Martirén
> >  > > > gmail.com>
> > > > > escribió:
> > > > >>
> > > > >> Hola. Tengo instalado Debian stretch 32bits y no puedo usar
> > > > yutube
> > > > >>
> > > > >>
> > > > >> El 11 de septiembre de 2016, 13:01, Camaleón  > .com
> > > > >
> > > > >> escribió:
> > > > >>>
> > > > >>> El Mon, 05 Sep 2016 14:06:40 +, Camaleón escribió:
> > > > >>>
> > > > >>> > Aviso a navegantes: la beta 23 no la detecta Firefox.
> > Parece
> > > > que además
> > > > >>> > de Fedora (como dice la nota) tampoco funciona en Debian.
> > > > >>>
> > > > >>> Corrijo: la beta 23 funciona en testing (32 bits) pero no
> > > > funciona en
> > > > >>> wheezy (64 bits). Misterios "bibliotecarios", seguro.
> > > > >>>
> > > > >>> Saludos,
> > > > >>>
> > > > >>> --
> > > > >>> Camaleón
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >>           Ignacio
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >           Ignacio
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jorge A Secreto
> > > > Analista de Sistemas
> > > > MP 361
> > > >
> > > >
> > >
> > >
> > >
> > 
> > 
> 
> 
> 



Re: Rebuilding Debian package from source

2016-09-19 Thread Joshua Schaeffer
Test...

"Build Test" is the directory I downloaded everything into (a.k.a. it was
the directory I was in when I ran apt-get source nginx-extras)

jschaeffer@mutalisk:~/Build Test$ pwd
/home/jschaeffer/Build Test

jschaeffer@mutalisk:~/Build Test$ ls -l
total 2004
drwxr-xr-x 1 jschaeffer jschaeffer154 Sep 18 19:02 nginx-1.6.2-5+deb8u2
-rw-r--r-- 1 jschaeffer jschaeffer 609344 Jun  1 12:36
nginx_1.6.2-5+deb8u2.debian.tar.xz
-rw-r--r-- 1 jschaeffer jschaeffer   2873 Jun  1 12:36
nginx_1.6.2-5+deb8u2.dsc
-rw-r--r-- 1 jschaeffer jschaeffer   3692 Sep 18 19:14
nginx_1.6.2-5+deb8u2-harm_amd64.build
-rw-r--r-- 1 jschaeffer jschaeffer 621532 Sep 18 19:14
nginx_1.6.2-5+deb8u2-harm.debian.tar.xz
-rw-r--r-- 1 jschaeffer jschaeffer   2051 Sep 18 19:14
nginx_1.6.2-5+deb8u2-harm.dsc
-rw-r--r-- 1 jschaeffer jschaeffer 804164 Sep 17  2014
nginx_1.6.2-5+deb8u2.orig.tar.gz

jschaeffer@mutalisk:~/Build Test$ ls -l nginx-1.6.2-5+deb8u2/
total 596
drwxr-xr-x 1 jschaeffer jschaeffer246 Sep 18 19:11 auto
-rw-r--r-- 1 jschaeffer jschaeffer 236013 Sep 16  2014 CHANGES
-rw-r--r-- 1 jschaeffer jschaeffer 359556 Sep 16  2014 CHANGES.ru
drwxr-xr-x 1 jschaeffer jschaeffer180 Sep 18 18:50 conf
-rwxr-xr-x 1 jschaeffer jschaeffer   2369 Sep 16  2014 configure
drwxr-xr-x 1 jschaeffer jschaeffer 68 Sep 18 18:50 contrib
drwxr-xr-x 1 jschaeffer jschaeffer   1476 Sep 18 18:59 debian
drwxr-xr-x 1 jschaeffer jschaeffer 36 Sep 18 18:50 html
-rw-r--r-- 1 jschaeffer jschaeffer   1397 Sep 16  2014 LICENSE
drwxr-xr-x 1 jschaeffer jschaeffer 14 Sep 18 18:50 man
-rw-r--r-- 1 jschaeffer jschaeffer 49 Sep 16  2014 README
drwxr-xr-x 1 jschaeffer jschaeffer 46 Sep 18 18:50 src
drwxr-xr-x 1 jschaeffer jschaeffer 40 Sep 18 19:02 Test

jschaeffer@mutalisk:~/Build Test$ ls -l nginx-1.6.2-5+deb8u2/Test/
total 0
drwxr-xr-x 1 jschaeffer jschaeffer 12 Sep 18 19:13 nginx-1.6.2-5+deb8u2

jschaeffer@mutalisk:~/Build Test$ ls -l
nginx-1.6.2-5+deb8u2/Test/nginx-1.6.2-5+deb8u2/
total 0
drwxr-xr-x 1 jschaeffer jschaeffer 20 Sep 18 19:14 debian


On Mon, Sep 19, 2016 at 4:59 AM, Zoltán Hermann  wrote:

> Hello,
>
> "cp: cannot stat ‘Test/nginx-1.6.2-5+deb8u2/auto’: No such file or
> directory"
>
> Test or Build Test ?
>
> Greetings
> Zoltán
>
>
>
>
> Joshua Schaeffer  ezt írta (2016. szeptember
> 19., hétfő):
> > I'm trying to rebuild the nginx-extras package from Jessie and I'm
> running into an error when I run debuild. I want to add a module to Nginx.
> I've just been following this to rebuild the package:
> https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/
> >
> > Here is what I've done:
> >
> > Downloaded the source using apt.
> >
> > apt-get source nginx-extras
> >
> > Built the dependencies for the package
> >
> > apt-get build-dep nginx-extras
> >
> > Updated the debian/rules file to include my module
> > Added my module to the debian/modules directory
> > Ran debuild to compile the package.
> >
> > debuild -us -uc
> >
> > When I run the debuild command I get an error about no
> Test/nginx-1.6.2-5_deb8u2/auto directory existing. As the error suggests it
> doesn't exist, but I'm not sure how to fix it. Creating the directory just
> leads to another error. Would anybody be able to tell me why I'm getting
> this error and how to fix it. I do have devscripts installed on the machine.
> >
> > jschaeffer@mutalisk:~/Build Test/nginx-1.6.2-5+deb8u2$ debuild -us -uc
> > ...
> > make[1]: Entering directory '/home/jschaeffer/Build
> Test/nginx-1.6.2-5+deb8u2'
> > dh_testdir
> > mkdir -p /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/
> debian/build-full
> > cp -Pa /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/auto
> /home/jschaeffer/Build Test/nginx-1.6.2-5+deb8u2/debian/build-full/
> > cp: cannot stat ‘Test/nginx-1.6.2-5+deb8u2/auto’: No such file or
> directory
> > cp: will not create hard link 
> > ‘Test/nginx-1.6.2-5+deb8u2/debian/build-full/Build’
> to directory ‘Test/nginx-1.6.2-5+deb8u2/debian/build-full/Build’
> > debian/rules:141: recipe for target 'config.arch.full' failed
> > make[1]: *** [config.arch.full] Error 1
> > make[1]: Leaving directory '/home/jschaeffer/Build
> Test/nginx-1.6.2-5+deb8u2'
> > debian/rules:117: recipe for target 'build' failed
> > make: *** [build] Error 2
> > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> > debuild: fatal error at line 1376:
> > dpkg-buildpackage -rfakeroot -D -us -uc failed
>


Re: change password prompt

2016-09-19 Thread Reco
Hi.

On Mon, Sep 19, 2016 at 11:01:33AM -0400, Tony Baldwin wrote:
> On 09/19/2016 10:25 AM, Reco wrote:
> > Hi.
> >
> >On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:
> >>I had, on a prior machine, changed the password prompt for sudo by adding
> >>something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
> >>but at the moment I can not recall what/how I did it, but I'd like to do it
> >>again.
> >>Anyone?
> >
> >sudoers(5) says that you should change 'passprompt_override' setting.
> >
> >Reco
> >
> I'm trying, but failing to find an example of how to use that, like the
> precise syntax to use.
> The man page doesn't give any example, so it's not clear how to use it.

This line in /etc/sudoers works for me:

Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"

Of course you should use visudo, not edit /etc/sudoers directly.

Reco



Re: change password prompt

2016-09-19 Thread Tony Baldwin

On 09/19/2016 10:25 AM, Reco wrote:

Hi.

On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:

I had, on a prior machine, changed the password prompt for sudo by adding
something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
but at the moment I can not recall what/how I did it, but I'd like to do it
again.
Anyone?


sudoers(5) says that you should change 'passprompt_override' setting.

Reco

I'm trying, but failing to find an example of how to use that, like the 
precise syntax to use.

The man page doesn't give any example, so it's not clear how to use it.

Thanks,
Tony


--
http://tonybaldwin.me
all tony, all the time



Re: PXE Booting with uEFI BIOS

2016-09-19 Thread Thomas Schmitt
Hi,

Valerio wrote:
> pxelinux.0 apparently doesn't work with uEFI.

That's supposed to be normal.
  http://www.syslinux.org/wiki/index.php?title=PXELINUX#UEFI
says:

  The "(l)pxelinux.0" bootloaders are capable of netbooting
  BIOS-based clients. Hardware using UEFI has to use the adequate
  "syslinux.efi" (for EFI IA32 or for EFI X64, respectively)
  instead of using "(l)pxelinux.0". 

Note that UEFI is normally not called "BIOS", but rather is considered
to be the successor firmware of old x86 BIOS.


Have a nice day :)

Thomas



Re: change password prompt

2016-09-19 Thread Reco
Hi.

On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:
> I had, on a prior machine, changed the password prompt for sudo by adding
> something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
> but at the moment I can not recall what/how I did it, but I'd like to do it
> again.
> Anyone?

sudoers(5) says that you should change 'passprompt_override' setting.

Reco



Re: random I/O errors

2016-09-19 Thread Tony Baldwin

On 09/19/2016 09:57 AM, Dan Ritter wrote:

On Mon, Sep 19, 2016 at 09:27:43AM -0400, Tony Baldwin wrote:

On 09/19/2016 09:07 AM, Dan Ritter wrote:

Go make a backup of everything you care about, today. Copy to a
new disk, check it, then disconnect and label your backup.

After that, go look at /var/log/dmesg for error messages; copy them
and show them to us.

-dsr-

I don't have a new disk on hand at the moment; I have ordered a new hdd, but
it won't be here until Friday, it's a seagate 2TB SCSI drive, I will likely
install Jessie on it when it arrives, and rsync my /home to it from this
drive I'm using now.

Last night I reinstalled on one of the existing drives, and rsynced over my
/home/ from the other.

This one seems to be working okay at the moment, but I'm afraid to reboot
until the other drive arrives.

right now dmesg | grep error gives me:

[   15.709107] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[   16.793678] r8169 :04:00.0: Direct firmware load failed with error -2

Dunno if that helps, the r8169 has something to do with the network card,
unless I'm mistaken.

You are correct, but you grepped for errors instead of actually
looking.

1. make a backup before you do other things. Don't do anything
with this system until you have made the backup.

2. go look in dmesg yourself.

3. when someone offers you advice on a mailing list, continue
the conversation on the mailing list so that other people can
(a) assist
and
(b) learn


-dsr-
Sorry about the prior, off-list reply, DSR, I just keep forgetting to 
list reply (old age, and a brain tumor).
I don't have anywhere to put a backup at the moment except by copying 
stuff to both of these old, failing drives and praying they don't buy 
the farm until the new one arrives on Friday, so I'm using this system, 
I have no other machine, and I have work that must be done, today 
(freelancer with deadlines to meet).
Looking through dmesg, piped to less, and searching for  "error", 
"fail", or even "mount" I don't find anything seemingly any more 
relevant, as far as I can tell, than the errors I already posted above, 
unless any of this is useful (does all seem to have something to do with 
the hdds in the case, but doesn't seem to mention any errors or failures):

 ata5: SATA link down (SStatus 0 SControl 300)
[2.175831] ata3: SATA link down (SStatus 0 SControl 300)
[2.347800] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[2.347838] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[2.348619] ata4.00: ATA-8: ST1500DL003-9VT16L, CC3C, max UDMA/133
[2.348625] ata4.00: 2930277168 sectors, multi 16: LBA48 NCQ (depth 
31/32)

[2.349495] ata4.00: configured for UDMA/133
[2.349554] ata6.00: ATAPI: HL-DT-ST DVD+/-RW GSA-H73N, B103, max 
UDMA/100
[2.349743] scsi 3:0:0:0: Direct-Access ATA ST1500DL003-9VT1 CC3C 
PQ: 0 ANSI: 5

[2.351653] ata6.00: configured for UDMA/100
[2.353753] scsi 5:0:0:0: CD-ROMHL-DT-ST DVD+-RW GSA-H73N 
B103 PQ: 0 ANSI: 5
[2.358569] sd 1:0:0:0: [sda] 2930277168 512-byte logical blocks: 
(1.50 TB/1.36 TiB)

[2.358664] sd 1:0:0:0: [sda] Write Protect is off
[2.358667] sd 3:0:0:0: [sdb] 2930277168 512-byte logical blocks: 
(1.50 TB/1.36 TiB)

[2.358671] sd 3:0:0:0: [sdb] 4096-byte physical blocks
[2.358675] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[2.358711] sd 1:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA

[2.358780] sd 3:0:0:0: [sdb] Write Protect is off
[2.358785] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[2.358804] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA

[2.366117] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[2.366123] cdrom: Uniform CD-ROM driver Revision: 3.20
[2.366384] sr 5:0:0:0: Attached scsi CD-ROM sr0
[2.367053] sd 1:0:0:0: Attached scsi generic sg0 type 0
[2.367218] sd 3:0:0:0: Attached scsi generic sg1 type 0
[2.367281] sr 5:0:0:0: Attached scsi generic sg2 type 5
[2.392615]  sdb: sdb1 sdb2 < sdb5 sdb6 >
[2.393650] sd 3:0:0:0: [sdb] Attached SCSI disk
[2.412696]  sda: sda1 sda2 < sda5 sda6 >
[2.413893] sd 1:0:0:0: [sda] Attached SCSI disk


--
http://tonybaldwin.me
all tony, all the time



Re: cant get to desktop anymore

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 09:31:10 -0400, Greg Wooledge wrote:

> On Sun, Sep 18, 2016 at 08:33:23PM -0400, Neal P. Murphy wrote:
> >  will reach the X11 session. If it started. If not, it could 
> > be that a default xdm session (KDE, Gnome, XFCE, etc.) wasn't selected or a 
> > desktop 'task' wasn't installed.
> > 
> > Console #7 is the standard console used for X11. Console #1 is the default 
> > console when there is no default X11 session.
> 
> That was true in wheezy.  It's not true in jessie.
> 
> In jessie, running with systemd by default, the display manager takes
> over the *first* virtual console (Ctrl-Alt-F1).  The first console with
> a getty is therefore Ctrl-Alt-F2.

We must be using different Jessies. gdm3 with GNOME comes up on vt7.

> Of course, if there is no display manager installed at all, then Ctrl-Alt-F1
> should have a getty running on it once the system boots.  But as soon as
> you run startx, X takes over the *first* console (not the seventh)
> and you're right back to the same situation as if you had used a display
> manager.

Not my experience.
 
> (I use startx on jessie, so I speak from direct personal experience,
> tested right now.)

>From the xinit changelog:

  * 10-startx-Under-Linux-start-X-on-the-current-VT.patch,
11-startx-Pass-vtX-as-long-as-the-user-did-not-specify-.patch: By default
start the server on the current VT, this is necessary to avoid logind to
see the startx session as inactive (Closes: #743015 LP: #1247484)

-- 
Brian.




Re: Installing a MINIMAL Mate Desktop How?

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 08:17:57 -0500, Richard Owlett wrote:

> On 9/11/2016 12:52 PM, Brian wrote:
> >
> >The meaning of "minimal" is very difficult to define as it very much
> >depends on the purpose of the install, what functionality is required,
> >how it is to be used now and in the future and who it is to be used by.
> >
> >If I were doing what you are doing I wouldn't install xorg because it
> >would take some 213 MB of space on this machine without the recommended
> >packages. Instead (without recommended packages) I'd have xserver-org,
> >xserver-org-input-evdev and xserver-xorg-video-nouveau for 15 MB of disk
> >space. I doubt much (if anything) is lost by taking that route to X.
> >
> >Adding xterm to my basic X install is 3 MB of space extra. mate-terminal
> >is 105 MB, so it is no contest if space taken is a major criterion. You
> >could see less ugliness in mate-terminal so there is little point in
> >arguing about what is minimal.
> >
> >lightdm looks nice and only adds an extra 2 MB. nodm adds hardly
> >anything. Is a fancy DM necessary?
> >
> >I'd use mc instead of marco but wouldn't give it to a user who expects
> >clickety-click things and automounting.
> >
> >Do you see what I am getting at? It could be said that minimal (like
> >beauty) is in the eye of the beholder.
> 
> I haven't tried your suggestions yet - even retired there are only so many
> hours.
> My definition of "minimal" focuses more on what is seen by user rather than
> optimizing for minimum footprint [RAM or disk]. I've some sketchy ideas for
> the later but other projects have priority.

Indeed, that is also another way of looking at "minimal" and no less
valid than another way.

> My current preseed.cfg contains:
> 
> ### Package selection
> tasksel tasksel/first multiselect standard
> # was tasksel tasksel/first multiselect standard, laptop
>
> # Individual additional packages to install
> d-i pkgsel/include string mate-desktop-environment-core xorg xterm lightdm
> pluma synaptic gparted

Looks good. Thinking on: my suggestion for a minimal X is probably one
you could ignore. xorg is a better option if this preseed.cfg is to be
used on a variety of machines.

> This gives me a framework to install just the programs I'll actually use
> rather than what some committee thinks "everybody" wants ;/

Getting your desired programs via a late_command is something to look
at.

-- 
Brian.



Re: Roundcube avec les paquets Debian

2016-09-19 Thread Ph. Gras
Hello Christophe !

>  Moi je ne vois pas de lien  depuis /var/lib/roundcube/installer  sur
> /usr/share/roundcube/installer…

ah, oui en effet… Il y a ceci néanmoins :
lrwxrwxrwx  1 root www-data   30 mai9 10:59 index.php -> 
/usr/share/roundcube/index.php

> Mais je ne me rappelle pas avoir utilisé un accès depuis un navigateur
> pour installer / configurer l'engin…

On peut toujours le faire en ligne de commande, mais on a une béquille
comme ça aussi :
http://www.rudraraj.net/2015/01/26/how-to-install-roundcube-with-nginx/

> As-tu essayé depuis ton butineur l'accès à index.php de la racine de
> ton serveur configuré dans /etc/nginx/sites-enabled ?

Ça me donne un code 200 et une page vide sur le navigateur :
# cd /var/log/nginx && tail roundcube.access.log
82.124.106.90 - - [19/Sep/2016:15:11:33 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:11:35 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:15:44 +0200] "GET /robots.txt HTTP/1.1" 200 
26 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:18:04 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:18:10 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:18:10 +0200] "GET /installer HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:16:10:21 +0200] "GET / HTTP/1.1" 200 31 "-" 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 (KHTML, 
like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:16:10:56 +0200] "GET / HTTP/1.1" 200 31 "-" 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 (KHTML, 
like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:16:10:56 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:16:10:57 +0200] "GET /index.php HTTP/1.1" 200 31 
"-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 (KHTML, 
like Gecko) Version/6.2.8 Safari/537.85.17"

>> 
>> Ph. Gras



Re: /etc/fstab and systemd

2016-09-19 Thread Teemu Likonen
Pol Hallen [2016-09-19 15:15:26+02] wrote:

> I migrated my pc to systemd (!), in /etc/fstab I've

> what is the correct way to mount a disk automatically at start up of
> system?

Just like before. There's no need to change anything.

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: Roundcube avec les paquets Debian

2016-09-19 Thread Christophe Maquaire
Le lundi 19 septembre 2016 à 15:31 +0200, Ph. Gras a écrit :
> Désolé,
> 
> mais j'en suis toujours au même point. Les fichiers PHP en lien
> symbolique ne sont pas suivis :
> 
> # tail /var/log/nginx/roundcube.error.log
> 2016/09/19 14:59:52 [error] 25923#0: *86238
> "/var/lib/roundcube/installer/index.php" is not found (2: No such
> file or directory), client: 82.124.106.90, server: example.com,
> request: "GET /installer/ HTTP/1.1", host: "example.com"
> 
> # ls -al /var/lib/roundcube
> total 20
> drwxr-xr-x  5 root www-data 4096 sept.  4 00:56 .
> drwxr-xr-x 41 root root 4096 sept.  4 00:56 ..
> lrwxrwxrwx  1 root www-data   14 mai9 10:59 config ->
> /etc/roundcube
> lrwxrwxrwx  1 root www-data   23 mai9 10:59 .htaccess ->
> /etc/roundcube/htaccess
> lrwxrwxrwx  1 root www-data   30 mai9 10:59 index.php ->
> /usr/share/roundcube/index.php
> lrwxrwxrwx  1 root www-data   19 mai9 10:59 logs ->
> ../../log/roundcube
> drwxr-xr-x  2 root www-data 4096 sept.  4 00:56 plugins
> lrwxrwxrwx  1 root www-data   28 mai9 10:59 program ->
> /usr/share/roundcube/program
> lrwxrwxrwx  1 root www-data   31 mai9 10:59 robots.txt ->
> /usr/share/roundcube/robots.txt
> drwxr-xr-x  2 root www-data 4096 sept.  4 00:56 skins
> drwxr-x---  2 root www-data 4096 mai9 10:58 temp
> 
> # tail /var/log/nginx/roundcube.access.log
> 82.124.106.90 - - [19/Sep/2016:15:11:35 +0200] "GET /installer/
> HTTP/1.1" 404 142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5)
> AppleWebKit/600.8.9 (KHTML, like Gecko) Version/6.2.8
> Safari/537.85.17"
> 82.124.106.90 - - [19/Sep/2016:15:15:44 +0200] "GET /robots.txt
> HTTP/1.1" 200 26 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5)
> AppleWebKit/600.8.9 (KHTML, like Gecko) Version/6.2.8
> Safari/537.85.17"
> 
> # cd /usr/share/roundcube && ls -al
> total 64
> drwxr-xr-x   8 root www-data  4096 sept. 18 23:43 .
> drwxr-xr-x 112 root root  4096 sept.  4 00:56 ..
> drwxr-xr-x   2 root www-data  4096 sept.  4 00:56 bin
> -rw-r--r--   1 root www-data  1148 mai9 10:58 composer.json
> -rw-r--r--   1 root www-data  3595 mai9 10:58
> config.inc.php.sample
> -rw-r--r--   1 root www-data  1743 avril 17 18:37 .htaccess
> -rw-r--r--   1 root www-data 12345 avril 17 18:37 index.php
> drwxr-xr-x   3 root www-data  4096 sept.  4 00:56 installer
> drwxr-xr-x  29 root www-data  4096 sept.  4 00:56 plugins
> drwxr-xr-x   8 root www-data  4096 sept.  4 00:56 program
> -rw-r--r--   1 root www-data26 avril 17 18:37 robots.txt
> drwxr-xr-x   4 root www-data  4096 sept.  4 00:56 skins
> drwxr-xr-x   7 root www-data  4096 sept.  4 00:56 SQL
> 
> # ls -al /usr/share/roundcube/installer
> total 80
> drwxr-xr-x 3 root www-data  4096 sept.  4 00:56 .
> drwxr-xr-x 8 root www-data  4096 sept. 19 15:02 ..
> -rw-r--r-- 1 root www-data  8183 avril 17 18:37 check.php
> -rw-r--r-- 1 root www-data  1736 avril 17 18:37 client.js
> -rw-r--r-- 1 root www-data   561 mai9 10:58 client.min.js
> -rw-r--r-- 1 root www-data 23137 avril 17 18:37 config.php
> drwxr-xr-x 2 root www-data  4096 sept.  4 00:56 images
> -rw-r--r-- 1 root www-data  7006 avril 17 18:37 index.php
> -rw-r--r-- 1 root www-data  3285 avril 17 18:37 styles.css
> -rw-r--r-- 1 root www-data 14176 avril 17 18:37 test.php
> 
> 
> # tail /var/log/roundcube/errors
> [19-Sep-2016 14:59:11 +0200]: DB Error: Configuration error.
> Unsupported database driver:  in
> /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82
> (GET /)
> [19-Sep-2016 14:59:18 +0200]: DB Error: Configuration error.
> Unsupported database driver:  in
> /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82
> (GET /)
> 
> Normal, puisque je n'ai toujours pas réussi à atteindre le fichier de
> configuration à partir de /var/lib/roundcube.
> 
> J'ai désactivé les disable_functions dans mon php.ini, j'ai ajouté
> disable_symlinks off; à nginx.conf, mais ça ne
> change rien à l'affaire…
> 
> Hlp !

Hoplà!
 Moi je ne vois pas de lien  depuis /var/lib/roundcube/installer  sur
/usr/share/roundcube/installer...
Mais je ne me rappelle pas avoir utilisé un accès depuis un navigateur
pour installer / configurer l'engin...
As-tu essayé depuis ton butineur l'accès à index.php de la racine de
ton serveur configuré dans /etc/nginx/sites-enabled ?
> 
> Ph. Gras



Re: /etc/fstab and systemd

2016-09-19 Thread Mart van de Wege
Pol Hallen  writes:

> hi all :-)
>
> I migrated my pc to systemd (!), in /etc/fstab I've
>
> /dev/sdb1 /test   ext4x-systemd.automount 0   0
> (I use UUID but to semplify I wrote /dev/sdb1)
>
> this line works but only on some pc
>
> what is the correct way to mount a disk automatically at start up of system?
>
> thanks!
>
Just remove the x-systemd.automount. Replace it with 'defaults' or
whatever other options you like.

Unless a volume is marked with specific systemd options to *not* mount
it automatically, systemd will mount everything in fstab at boot.

Mart

-- 
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.



Re: /etc/fstab and systemd

2016-09-19 Thread Greg Wooledge
On Mon, Sep 19, 2016 at 03:15:26PM +0200, Pol Hallen wrote:
> I migrated my pc to systemd (!), in /etc/fstab I've
> 
> /dev/sdb1 /test   ext4x-systemd.automount 0   0
> (I use UUID but to semplify I wrote /dev/sdb1)

Changing the content of your files is not "simplifying".  It's mangling.

> what is the correct way to mount a disk automatically at start up of system?

This is what jessie does by default:

UUID=1a20ffb7-897c-4373-84c1-14089a6deab8 /   ext4
errors=remount-ro 0   1
# swap was on /dev/sda3 during installation
UUID=b8d67062-8262-476d-9370-8166f7572fd3 noneswapsw
  0   0
/dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0

Or, on a system with a separate /home:

UUID=404cbcbe-cc34-44e6-b8cf-845c3ceb56e7 /home   ext4defaults  
  0   2

In short, there's no special magic used by fstab on a jessie/systemd
system.  It's just like an fstab from wheezy.  Let systemd handle the
mounting in its regular way.



change password prompt

2016-09-19 Thread Tony Baldwin
I had, on a prior machine, changed the password prompt for sudo by 
adding something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the 
sudoers file, but at the moment I can not recall what/how I did it, but 
I'd like to do it again.

Anyone?

TIA
Tony


--
http://tonybaldwin.me
all tony, all the time



USB mouse and keyboard disconnected

2016-09-19 Thread Martin T
Hi,

I made a fresh minimal(no desktop environment, open-source "radeon"
driver, CEDAR firmware, X and dwm) Debian 8.5 installation few days
ago. Since that I have had two occasions where all of the sudden USB
devices(USB keyboard and mouse) no longer work. I'm able to access my
PC over SSH(or use PS/2 keyboard) and at the time of the issue nothing
is logged(I checked kernel ring buffer, X log files, etc). When I
remove(modprobe -r) USB related modules(ehci_hcd, ehci_pci, usbhid,
usbcore, usb_common, hid) and then again load those modules, the USB
mouse and keyboard start to work. At the time of the issue power to
the USB ports is present, because mouse LED is lit and for example
magic SysRq key-combinations work. Kernel version is 3.16.0-4-amd64. I
also noticed that for example around three days and then again 5 hours
ago, since this issue, USB mouse was disconnected for a second:


[11206.404325] usb 1-1.1: USB disconnect, device number 3
[11206.629417] usb 1-1.1: new low-speed USB device number 5 using ehci-pci
[11206.727526] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c03e
[11206.727539] usb 1-1.1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[11206.727542] usb 1-1.1: Product: USB-PS/2 Optical Mouse
[11206.727544] usb 1-1.1: Manufacturer: Logitech
[11206.731189] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C03E.0004/input/input14
[11206.731608] hid-generic 0003:046D:C03E.0004: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-:00:1a.0-1.1/input0
[18378.452226] ip_tables: (C) 2000-2006 Netfilter Core Team
[110547.411844] perf interrupt took too long (2565 > 2500), lowering
kernel.perf_event_max_sample_rate to 5
[241801.649235] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[243524.775521] usb 1-1.1: USB disconnect, device number 5
[243525.022937] usb 1-1.1: new low-speed USB device number 6 using ehci-pci
[243525.120715] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c03e
[243525.120719] usb 1-1.1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[243525.120722] usb 1-1.1: Product: USB-PS/2 Optical Mouse
[243525.120724] usb 1-1.1: Manufacturer: Logitech
[243525.124970] input: Logitech USB-PS/2 Optical Mouse as
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C03E.0005/input/input15
[243525.125355] hid-generic 0003:046D:C03E.0005: input,hidraw0: USB
HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-:00:1a.0-1.1/input0


I didn't physically unplug the mouse. However, I'm not sure if those
are related to this issue. As I told, at the time of this issue
nothing is logged.

Last but not least, output of "lsusb" can be seen below:

# lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 046d:c03e Logitech, Inc. Premium Optical Wheel
Mouse (M-BT58)
Bus 001 Device 003: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
#


Please let me know if anything was unclear or additional information is needed.


thanks,
Martin



Re: Laserjet p1109w - FIXED

2016-09-19 Thread Brian
On Mon 19 Sep 2016 at 05:56:44 -0400, brian wrote:

> On Mon, 19 Sep 2016 09:34:33 +0100, Brian wrote:
> >
> >1. Go to
> >
> > https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
> >
> >   and download the latest *.run.
> >
> >2. 'mkdir plugin' and move your file into it.
> >
> >3. The file is a shell script containing needed plugins and other files.
> >   Make it executable with 'chmod 755 *.run' and look at its help with
> >   './*.run -h'.
> >
> >4. Check what you are going to install by using './*.run --tar vxf' to
> >   extract the files from the script.
> >
> >5. Install with './*.run'. Only this final step needs root privilege.
> 
> Thank you very much, that all worked, given an extra step of removing
> HPLIP and installing the version I downloaded from the URL which you
> gave (the version I had installed was from the Debian repos, that one
> apparently wasn't correctly detected by the plugin software). Why the
> original installer couldn't refer me to that website, I have no idea. 

hp-plugin is setup to go to the openprinting site for the plugin. :)

It has been some time since I used this technique so I was working
partly from memory. Step 5 was poor advice because that script would
expect a GUI with QT to be available. The situation I devised the
method for was one in which there was no X; step 5 should read

5. Make installPlugin.py executable and do './installPlugin.py'.

Another mistake is in step 1. The advice should be to download the
version of *.run corresponding with the hplip version you have.

But it is good it all worked out. You could purge the version of hplip
you now have, install from the Debian repros and install the plugin
again if you wanted.

-- 
Brian.
wanted.




Re: CD de mise à jour 8.6

2016-09-19 Thread Jean-Marc
Mon, 19 Sep 2016 08:20:05 +
ROUILLARD Davy  écrivait :

> Pour éviter de télécharger de nouveau l’ensemble des paquets (ce qui n’est 
> pas un pb en soit, sauf celui d’occuper la bande passante),
> je me demandais s’il existait des images avec uniquement les paquets modifiés.

Je dis peut-être une bêtise mais pour ne pas plutôt télécharger de quoi faire 
un miroir local à la place de se baser sur des images CD ?

Ce devrait te permettre de ne mettre à jour que les paquets modifiés de manière 
simple, non ?

> 
> Davy


Jean-Marc 


pgpLJ7s0h794d.pgp
Description: PGP signature


Re: cant get to desktop anymore

2016-09-19 Thread Lisi Reisz
On Monday 19 September 2016 14:31:10 Greg Wooledge wrote:
> On Sun, Sep 18, 2016 at 08:33:23PM -0400, Neal P. Murphy wrote:
> >  will reach the X11 session. If it started. If not, it
> > could be that a default xdm session (KDE, Gnome, XFCE, etc.) wasn't
> > selected or a desktop 'task' wasn't installed.
> >
> > Console #7 is the standard console used for X11. Console #1 is the
> > default console when there is no default X11 session.
>
> That was true in wheezy.  It's not true in jessie.
>
> In jessie, running with systemd by default, the display manager takes
> over the *first* virtual console (Ctrl-Alt-F1).  The first console with
> a getty is therefore Ctrl-Alt-F2.
>
> Of course, if there is no display manager installed at all, then
> Ctrl-Alt-F1 should have a getty running on it once the system boots.  But
> as soon as you run startx, X takes over the *first* console (not the
> seventh) and you're right back to the same situation as if you had used a
> display manager.
>
> (I use startx on jessie, so I speak from direct personal experience,
> tested right now.)

In the Jessie I am currently using (recently freshly installed, but with /home 
added from my sickly desktop),  Ctrl-Alt-x restarts X.  And no, that isn't a 
left-over in /home. At least, I have never known it before!!

Lisi



Re: Mate : réglage son sans pulseaudio

2016-09-19 Thread jérémy prego

salut,

il faut installer:
mate-settings-daemon-gstreamer
mate-media-gstreamer

accepter de désinstaller les paquets en conflits et ça devrai rouler.

penser aussi a changer /etc/speech-dispatcher/speechd.conf en mettant 
ouvertement "alsa" dans "audio output" si speechd-dispatcher est utilisé.


jerem

Le 19/09/2016 à 15:11, Raphaël POITEVIN a écrit :

Bonjour,

Debian Jessie.

Désactivé pulseaudio par la manière suivante :
https://wiki.debian.org/fr/accessibility
dpkg-divert --add --rename /usr/share/alsa/pulse-alsa.conf
Édité /etc/
pulse/client.conf
; autospawn = yes
autospawn = no

Quand je vais dans système -> préférences -> son :
« Attente de réponse du système sonore ».

J’ai tenté d’effacer ~/.config/pulse et /run/user/1000/pulse, rien n’y
fait.

Comment commander alsa ?

Alsagui ne semble pas accessible avec Orca malheureusement.

Merci pour l’éclairage.




/etc/fstab and systemd

2016-09-19 Thread Pol Hallen

hi all :-)

I migrated my pc to systemd (!), in /etc/fstab I've

/dev/sdb1   /test   ext4x-systemd.automount 0   0
(I use UUID but to semplify I wrote /dev/sdb1)

this line works but only on some pc

what is the correct way to mount a disk automatically at start up of system?

thanks!

Pol



Re: Roundcube avec les paquets Debian

2016-09-19 Thread Ph. Gras
Désolé,

mais j'en suis toujours au même point. Les fichiers PHP en lien symbolique ne 
sont pas suivis :

# tail /var/log/nginx/roundcube.error.log
2016/09/19 14:59:52 [error] 25923#0: *86238 
"/var/lib/roundcube/installer/index.php" is not found (2: No such file or 
directory), client: 82.124.106.90, server: example.com, request: "GET 
/installer/ HTTP/1.1", host: "example.com"

# ls -al /var/lib/roundcube
total 20
drwxr-xr-x  5 root www-data 4096 sept.  4 00:56 .
drwxr-xr-x 41 root root 4096 sept.  4 00:56 ..
lrwxrwxrwx  1 root www-data   14 mai9 10:59 config -> /etc/roundcube
lrwxrwxrwx  1 root www-data   23 mai9 10:59 .htaccess -> 
/etc/roundcube/htaccess
lrwxrwxrwx  1 root www-data   30 mai9 10:59 index.php -> 
/usr/share/roundcube/index.php
lrwxrwxrwx  1 root www-data   19 mai9 10:59 logs -> ../../log/roundcube
drwxr-xr-x  2 root www-data 4096 sept.  4 00:56 plugins
lrwxrwxrwx  1 root www-data   28 mai9 10:59 program -> 
/usr/share/roundcube/program
lrwxrwxrwx  1 root www-data   31 mai9 10:59 robots.txt -> 
/usr/share/roundcube/robots.txt
drwxr-xr-x  2 root www-data 4096 sept.  4 00:56 skins
drwxr-x---  2 root www-data 4096 mai9 10:58 temp

# tail /var/log/nginx/roundcube.access.log
82.124.106.90 - - [19/Sep/2016:15:11:35 +0200] "GET /installer/ HTTP/1.1" 404 
142 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"
82.124.106.90 - - [19/Sep/2016:15:15:44 +0200] "GET /robots.txt HTTP/1.1" 200 
26 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/600.8.9 
(KHTML, like Gecko) Version/6.2.8 Safari/537.85.17"

# cd /usr/share/roundcube && ls -al
total 64
drwxr-xr-x   8 root www-data  4096 sept. 18 23:43 .
drwxr-xr-x 112 root root  4096 sept.  4 00:56 ..
drwxr-xr-x   2 root www-data  4096 sept.  4 00:56 bin
-rw-r--r--   1 root www-data  1148 mai9 10:58 composer.json
-rw-r--r--   1 root www-data  3595 mai9 10:58 config.inc.php.sample
-rw-r--r--   1 root www-data  1743 avril 17 18:37 .htaccess
-rw-r--r--   1 root www-data 12345 avril 17 18:37 index.php
drwxr-xr-x   3 root www-data  4096 sept.  4 00:56 installer
drwxr-xr-x  29 root www-data  4096 sept.  4 00:56 plugins
drwxr-xr-x   8 root www-data  4096 sept.  4 00:56 program
-rw-r--r--   1 root www-data26 avril 17 18:37 robots.txt
drwxr-xr-x   4 root www-data  4096 sept.  4 00:56 skins
drwxr-xr-x   7 root www-data  4096 sept.  4 00:56 SQL

# ls -al /usr/share/roundcube/installer
total 80
drwxr-xr-x 3 root www-data  4096 sept.  4 00:56 .
drwxr-xr-x 8 root www-data  4096 sept. 19 15:02 ..
-rw-r--r-- 1 root www-data  8183 avril 17 18:37 check.php
-rw-r--r-- 1 root www-data  1736 avril 17 18:37 client.js
-rw-r--r-- 1 root www-data   561 mai9 10:58 client.min.js
-rw-r--r-- 1 root www-data 23137 avril 17 18:37 config.php
drwxr-xr-x 2 root www-data  4096 sept.  4 00:56 images
-rw-r--r-- 1 root www-data  7006 avril 17 18:37 index.php
-rw-r--r-- 1 root www-data  3285 avril 17 18:37 styles.css
-rw-r--r-- 1 root www-data 14176 avril 17 18:37 test.php


# tail /var/log/roundcube/errors
[19-Sep-2016 14:59:11 +0200]: DB Error: Configuration error. Unsupported 
database driver:  in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on 
line 82 (GET /)
[19-Sep-2016 14:59:18 +0200]: DB Error: Configuration error. Unsupported 
database driver:  in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on 
line 82 (GET /)

Normal, puisque je n'ai toujours pas réussi à atteindre le fichier de 
configuration à partir de /var/lib/roundcube.

J'ai désactivé les disable_functions dans mon php.ini, j'ai ajouté 
disable_symlinks off; à nginx.conf, mais ça ne
change rien à l'affaire…

Hlp !

Ph. Gras


Re: cant get to desktop anymore

2016-09-19 Thread Greg Wooledge
On Sun, Sep 18, 2016 at 08:33:23PM -0400, Neal P. Murphy wrote:
>  will reach the X11 session. If it started. If not, it could 
> be that a default xdm session (KDE, Gnome, XFCE, etc.) wasn't selected or a 
> desktop 'task' wasn't installed.
> 
> Console #7 is the standard console used for X11. Console #1 is the default 
> console when there is no default X11 session.

That was true in wheezy.  It's not true in jessie.

In jessie, running with systemd by default, the display manager takes
over the *first* virtual console (Ctrl-Alt-F1).  The first console with
a getty is therefore Ctrl-Alt-F2.

Of course, if there is no display manager installed at all, then Ctrl-Alt-F1
should have a getty running on it once the system boots.  But as soon as
you run startx, X takes over the *first* console (not the seventh)
and you're right back to the same situation as if you had used a display
manager.

(I use startx on jessie, so I speak from direct personal experience,
tested right now.)



Re : Mate : réglage son sans pulseaudio

2016-09-19 Thread MENGUAL Jean-Philippe
Bonjour,

Tu sais si le paquet mate-media est installé? Je me demande s'il ne faut pas 
virer mate-media-pulse sinon.

Cordialement,


Jean-Philippe MENGUAL

HYPRA, progressons ensemble

Tél.: 01 84 73 06 61

Mail: cont...@hypra.fr

Site Web: http://www.hypra.fr

- Raphaël POITEVIN  a écrit :
> Bonjour,
> 
> Debian Jessie.
> 
> Désactivé pulseaudio par la manière suivante :
> https://wiki.debian.org/fr/accessibility
> dpkg-divert --add --rename /usr/share/alsa/pulse-alsa.conf
> Édité /etc/
> pulse/client.conf
> ; autospawn = yes
> autospawn = no
> 
> Quand je vais dans système -> préférences -> son :
> « Attente de réponse du système sonore ».
> 
> J’ai tenté d’effacer ~/.config/pulse et /run/user/1000/pulse, rien n’y
> fait.
> 
> Comment commander alsa ?
> 
> Alsagui ne semble pas accessible avec Orca malheureusement.
> 
> Merci pour l’éclairage.
> -- 
> Raphaël POITEVIN
> Hypra S.A.S.
> 



Re: Installing a MINIMAL Mate Desktop How?

2016-09-19 Thread Richard Owlett

On 9/11/2016 12:52 PM, Brian wrote:

On Sun 11 Sep 2016 at 10:04:06 -0500, Richard Owlett wrote:


While waiting for response(s) to my my post I installed marco, xorg, xterm,
mate-terminal, mate-panel, mate-session-manager and lightdm.

I now have a workable, if ugly *MINIMAL* install.  ;)
Now to find some decorative elements and chose the applications I want.


The meaning of "minimal" is very difficult to define as it very much
depends on the purpose of the install, what functionality is required,
how it is to be used now and in the future and who it is to be used by.

If I were doing what you are doing I wouldn't install xorg because it
would take some 213 MB of space on this machine without the recommended
packages. Instead (without recommended packages) I'd have xserver-org,
xserver-org-input-evdev and xserver-xorg-video-nouveau for 15 MB of disk
space. I doubt much (if anything) is lost by taking that route to X.

Adding xterm to my basic X install is 3 MB of space extra. mate-terminal
is 105 MB, so it is no contest if space taken is a major criterion. You
could see less ugliness in mate-terminal so there is little point in
arguing about what is minimal.

lightdm looks nice and only adds an extra 2 MB. nodm adds hardly
anything. Is a fancy DM necessary?

I'd use mc instead of marco but wouldn't give it to a user who expects
clickety-click things and automounting.

Do you see what I am getting at? It could be said that minimal (like
beauty) is in the eye of the beholder.



I haven't tried your suggestions yet - even retired there are 
only so many hours.
My definition of "minimal" focuses more on what is seen by user 
rather than optimizing for minimum footprint [RAM or disk]. I've 
some sketchy ideas for the later but other projects have priority.


My current preseed.cfg contains:

### Package selection
tasksel tasksel/first multiselect standard
# was tasksel tasksel/first multiselect standard, laptop

# Individual additional packages to install
d-i pkgsel/include string mate-desktop-environment-core xorg 
xterm lightdm pluma synaptic gparted



This gives me a framework to install just the programs I'll 
actually use rather than what some committee thinks "everybody" 
wants ;/





SOLVED: Re: How to permanently change default sound input source?

2016-09-19 Thread Frédéric Mesplède
2016-09-05 21:21 GMT+02:00 didier gaumet :
>
> 1) pacmd modifies only a running instance of pulseaudio: all is lost
> when pulseaudio stops
> 2) to alter permanently the default source input in pulseaudio, you may
> edit your client config' file (cf man pulse-client.conf)
> 3) mate-media depends either on mate-media-gstreamer or
> mate-media-pulse: if the former is installed, install
> gstreamer0.10-pulseaudio and gstreamer1.0-pulseaudio in order for the
> mate sound control to manage pulseaudio
> 4) I do not know the mate sound applet, but judging by the xfce applet I
> use, you probably have to select pulseaudio instead of alsa in its
> config dialog
>
>

mate-media depends on mate-media-pulse, so I installed
gstreamer0.10-pulseaudio and gstreamer1.0-pulseaudio. I edited
/etc/pulse/client.conf and /etc/pulse/default.pa with my usb camera
microphone as default audio source and it worked!

Thank you for your help!



  1   2   >