Debian specific tools/apps

2019-03-01 Thread Josef Bailey
Hello I’m new to Debian and wanted to know what are some good Debian specific 
tools/apps I should know so I don’t write emails like this.

I know of
1. Dpkg
2. Apt-file
3. Apt
4. Aptitude 
5. I know how to use backports for stable

Is there anything else I should know that can help me find answers quick and 
help me maintain my system

Thanks



Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread Cindy-Sue Causey
On 3/2/19, Teemu Likonen  wrote:
> riveravaldez [2019-03-01 23:09:12-03] wrote:
>
>> I've been rebooting with 'systemctl reboot' as a normal user in
>> debian-testing (and even other distros) for a couple of years now, and
>> never had no problem.
>
> "systemctl reboot" as a normal user should work if Policy kit and
> Systemd components are working. I don't know what is the problem but I
> have seen it a couple of times: a normal user can't shut down or reboot
> the machine nor put it in suspend mode. After reboot the problem is
> gone. It seems that the bug has something to do Policy kit.


This topic came up a while back. Can't remember if I participated then
but had intended to do so.

It always seems odd that you can shut down or reboot from either the
Applications menu at the top left or the "Session Menu" (hiding under
the user name) at the top right of the screen (in Xfce4)...

But it doesn't work from a terminal command line. :)

I'm in Buster for good now... and I got blocked in the last couple
weeks. Had to "sudo" to get out. Was just too lazy to reach up to dig
out "Log Out" from either of those menus. :)

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

* runs with birdseed *



Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread Teemu Likonen
riveravaldez [2019-03-01 23:09:12-03] wrote:

> I've been rebooting with 'systemctl reboot' as a normal user in
> debian-testing (and even other distros) for a couple of years now, and
> never had no problem.

"systemctl reboot" as a normal user should work if Policy kit and
Systemd components are working. I don't know what is the problem but I
have seen it a couple of times: a normal user can't shut down or reboot
the machine nor put it in suspend mode. After reboot the problem is
gone. It seems that the bug has something to do Policy kit.


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


signature.asc
Description: PGP signature


Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread Jape Person
On 3/1/19 5:53 PM, Gian Carlo wrote:
> Il 01/03/19 22:40, riveravaldez ha scritto:
>> Hi, I'm on debian-testing (updated), and found this issue:
>>
>> $ systemctl reboot
>> Failed to set wall message, ignoring: The name
>> org.freedesktop.PolicyKit1 was not provided by any .service files
>> Failed to reboot system via logind: The name
>> org.freedesktop.PolicyKit1 was not provided by any .service files
>> Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
>> not provided by any .service files
>> See system logs and 'systemctl status reboot.target' for details.
>>
>> $ systemctl status reboot.target
>> reboot.target - Reboot
>> Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor
>> preset: enabled)
>> Active: inactive (dead)
>> Docs: man:systemd.special(7)
>>
>> $ systemctl restart reboot.target
>> Failed to restart reboot.target: The name org.freedesktop.PolicyKit1
>> was not provided by any .service files
>> See system logs and 'systemctl status reboot.target' for details.
>>
>> But 'sudo reboot' worked.
>>
>> Any idea?
> 
> 
>> $ systemctl reboot
>> $ systemctl status reboot.target
>> $ systemctl restart reboot.target
> You are NOT root
> 
>> But 'sudo reboot' worked.
> After "sudo..." you are root
> 
> Bye,
> 
> gc
> 
> 

I'm curious as to why

$ systemctl restart reboot.target

is being used. On my systems

$ systemctl start reboot.target

results in a request for the root password. (And results for failure to type it 
correctly for a remote system via SSH often gets you punished with a 
non-responsive SSH session on the terminal.)

Am I misunderstanding the problem?



Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread riveravaldez
On 3/1/19, deloptes  wrote:
> riveravaldez wrote:
>
>> Hi, I'm on debian-testing (updated), and found this issue:
>>
>> $ systemctl reboot
>
> At this point it is advisable to read some linux basics ... I think there
> are also videos in youtube - just like taking driving course or any kind of
> course for operating a device. I mean you can not cook without knowing what
> a pan is.

Thanks for the help (?), but I've been rebooting with 'systemctl
reboot' as a normal user in debian-testing (and even other distros)
for a couple of years now, and never had no problem.

I'll try with sudo as soon as I come back to that machine, but I
inform this because, as said, it's a new behavior, and I don't know
what provoked the change.

Maybe someone can give some hint about it.

Thanks again.



misterio con internet/red en usuario normal y root

2019-03-01 Thread Fran Torres
Buenas chicos,

de nuevo mi amigo (el del XFCE) tiene problemas y esta vez, a mi no se
me ocurre como soluconarlo. La situación es la siguiente:

1. Viene a mi casa, y mi dhcp le asigna una dirección ip, cuyos datos
son los siguientes:
ip: 192.168.1.x.
netmask:  255.255.255.240.
gw: 192.168.1.1
ns1: 208.67.222.222.
ns2: 208.67.220.220

OK, son los datos que ha de asignar.
2. Vuelve a su casa y ¡OH sorpresa! su dhcp no asigna dirección
ip, pero solo no la asigna al portátil en cuestión, al móvil si.
3. Se reinicia el router, a ver si es problema de su router y
comprovamos que no es así.
4. como root, usamos el siguiente comando, para verificar la configuración: ip a
vemos que no asigna dirección ip. Pero, sin embargo como usuario root,
le deja conectar a la red wi-fi de su casa y navegar. Sin embargo,
como usuario normal no.
Alguna idea para desentrañar esto?

Fran.



Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread deloptes
riveravaldez wrote:

> Hi, I'm on debian-testing (updated), and found this issue:
> 
> $ systemctl reboot

At this point it is advisable to read some linux basics ... I think there
are also videos in youtube - just like taking driving course or any kind of
course for operating a device. I mean you can not cook without knowing what
a pan is.

regards



Re: systemctl reboot fails (doesn't reboot)

2019-03-01 Thread Gian Carlo
Il 01/03/19 22:40, riveravaldez ha scritto:
> Hi, I'm on debian-testing (updated), and found this issue:
> 
> $ systemctl reboot
> Failed to set wall message, ignoring: The name
> org.freedesktop.PolicyKit1 was not provided by any .service files
> Failed to reboot system via logind: The name
> org.freedesktop.PolicyKit1 was not provided by any .service files
> Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
> not provided by any .service files
> See system logs and 'systemctl status reboot.target' for details.
> 
> $ systemctl status reboot.target
> reboot.target - Reboot
> Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor
> preset: enabled)
> Active: inactive (dead)
> Docs: man:systemd.special(7)
> 
> $ systemctl restart reboot.target
> Failed to restart reboot.target: The name org.freedesktop.PolicyKit1
> was not provided by any .service files
> See system logs and 'systemctl status reboot.target' for details.
> 
> But 'sudo reboot' worked.
> 
> Any idea?


> $ systemctl reboot
> $ systemctl status reboot.target
> $ systemctl restart reboot.target
You are NOT root

> But 'sudo reboot' worked.
After "sudo..." you are root

Bye,

gc



Re: ntp-client does not sync with server

2019-03-01 Thread deloptes
Stefan K wrote:

> Hi John,
> 
> yes there are synced, if I run 'ntpdate timeserv.domain.ag' they syncd
> everything fine, if I start ntp-server after 2-3Days I've an delay of few
> seconds. Maybe I schould ask on the ntp-mailing list?!
> 
> best regards
> Stefan

I have a similar problem. In a closed environment I have to sync time from
ntp server and I get stratum 16. ntpdate reports OK and syncs the time.
other machine that have to sync with our ntp receive also stratum 16. If I
tell our server that it has stratum 9 all other machines can sync with our
ntp server, but this is not what we want. So why would ntp server get
stratum 16?




Re: using swap when there is free ram

2019-03-01 Thread Pascal Hambourg

Le 01/03/2019 à 19:41, Reco a écrit :

On Fri, Mar 01, 2019 at 07:34:50PM +0100, Pascal Hambourg wrote:

Le 01/03/2019 à 18:56, Reco a écrit :


First, there's huge amount of unused (not to be confused with "free")
memory on your host. And no, it's not a filesystem's cache (600M), it's
really "nothing there"-unused memory which amounts 1880M.


This is the amount reported in /proc/meminfo as MemFree - not MemUnused.
Can you please explain your definitions of "free" and "unused" memory ?


Documentation/filesystems/proc.txt.gz

What they call "free memory" usually is called MemAvailable in
/proc/meminfo.


Who are "they", and where do you see their use of "free memory" with 
such meaning ? There is no occurrence of "free memory" in proc.txt.


MemAvailable is not free memory. As soon as memory is used for anything, 
it is not free any more. Whether it may be reclaimed easily is irrelevant.



"MemFree", which was the sum of "LowFree" and "HighFree" back in the day
(and still is for some architectures) - is the amount of memory which
isn't used for anything, hence the "unused".


To me this is just the same as "free".



systemctl reboot fails (doesn't reboot)

2019-03-01 Thread riveravaldez
Hi, I'm on debian-testing (updated), and found this issue:

$ systemctl reboot
Failed to set wall message, ignoring: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to reboot system via logind: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
not provided by any .service files
See system logs and 'systemctl status reboot.target' for details.

$ systemctl status reboot.target
reboot.target - Reboot
Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor
preset: enabled)
Active: inactive (dead)
Docs: man:systemd.special(7)

$ systemctl restart reboot.target
Failed to restart reboot.target: The name org.freedesktop.PolicyKit1
was not provided by any .service files
See system logs and 'systemctl status reboot.target' for details.

But 'sudo reboot' worked.

Any idea?

Thanks a lot!



Re: Can't install lightdm?

2019-03-01 Thread riveravaldez
On 3/1/19, Dan Ritter  wrote:
> riveravaldez wrote:
>> >> Right now I can start Xorg (apparently) but can't start IceWM, so, I
>> >> only have CLI.
>> >
>> > Use 'startx' to start X.
>> >
>> > Write a .xinitrc like this:
>> >
>> > ---
>> > #!/bin/sh
>> > exec icewm
>> > ---
>> >
>> > Later, testing will be fixed and you can install lightdm again.
>> >
>> > -dsr-
>> >
>>
>> Thanks a lot, Dan.
>>
>> After install xinit I use startx, IceWM loaded but without mouse or
>> keyboard control (neither responded). I have ssh access from another
>> machine, so I 'killall -s SIGINT icewm' and get back to CLI. Then
>> tried again, with same result.
>>
>> Then tried to reboot and get this:
>>
>> $ systemctl reboot
>> Failed to set wall message, ignoring: The name
>> org.freedesktop.PolicyKit1 was not provided by any .service files
>> Failed to reboot system via logind: The name
>> org.freedesktop.PolicyKit1 was not provided by any .service files
>> Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
>> not provided by any .service files
>> See system logs and 'systemctl status reboot.target' for details.
>
>
>> Is it the same problem or something else?
>
> I don't really understand polkit, but you probably need it
> installed so that systemd will let you have access to your
> system.
>
> You might try installing
> libpolkit-backend-1-0
> libpolkit-agent-1-0
> libpolkit-gobject-1-0
>
> and seeing if that helps.
>
> Otherwise, hopefully one of the systemd aficionados will chime
> in.
>
> -dsr-

Thanks again!

I'll send another mail to the list with a different title for that.

Any idea with the non-keyboard non-mouse response?



Re: de VM ook echt op het LAN

2019-03-01 Thread Paul van der Vlis
Hoi Geert, en anderen,

Op 01-03-19 om 20:56 schreef Geert Stappers:
> 
> Hoi,
> 
> Welke methode gebruik jij
> zodat een Virtual Machine helemaal op het LAN kan?
> 
> 
> Zelf denk ik dat het met behulp van een bridge moet.
> Die network bridge heeft dan een interface in het LAN
> en de VM wordt vertelt op welke bridge ie moet inhaken.
> 
> Maar dat blijkt toch wat lastig op een laptop die reist,
> die DHCP nodig heeft.
> 
> Graag lees ik wat zoal die ideeen zijn.

Ik heb op deze manier een bridge aangemaakt:
apt install bridge-utils
brctl addbr br0
ip addr show # hier moet br0 bij staan
brctl addif br0 enp5s0f0 # kunnen ook meerdere interfaces zijn

Daarna wijzig ik /etc/network/interfaces in zoiets:
--
auto enp5s0f0
iface enp5s0f0 inet manual

auto br0
iface br0 inet static
address 91.198.178.12
netmask 255.255.255.0
broadcast 91.198.178.255
gateway 91.198.178.1
bridge_ports enp5s0f0
bridge_stp off
iface br0 inet6 static
address 2a01:1b0:7999:424::12
netmask 64
gateway 2a01:1b0:7999:424::1
bridge_ports enp5s0f0
bridge_stp off
--

Dit is dus inderdaad statisch, maar hetzelfde lijkt me ook met dhcp
kunnen. Dus dan zoiets:
--
auto enp5s0f0
iface enp5s0f0 inet manual

auto br0
iface br0 inet dhcp
bridge_ports enp5s0f0
bridge_stp off
iface br0 inet6 dhcp
bridge_ports enp5s0f0
bridge_stp off
---

Maar het onderste is niet getest.

Ik denk dat hier meer staat:
https://wiki.debian.org/BridgeNetworkConnections


Groet,
Paul




-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Can't install lightdm?

2019-03-01 Thread Dan Ritter
riveravaldez wrote: 
> >> Right now I can start Xorg (apparently) but can't start IceWM, so, I
> >> only have CLI.
> >
> > Use 'startx' to start X.
> >
> > Write a .xinitrc like this:
> >
> > ---
> > #!/bin/sh
> > exec icewm
> > ---
> >
> > Later, testing will be fixed and you can install lightdm again.
> >
> > -dsr-
> >
> 
> Thanks a lot, Dan.
> 
> After install xinit I use startx, IceWM loaded but without mouse or
> keyboard control (neither responded). I have ssh access from another
> machine, so I 'killall -s SIGINT icewm' and get back to CLI. Then
> tried again, with same result.
> 
> Then tried to reboot and get this:
> 
> $ systemctl reboot
> Failed to set wall message, ignoring: The name
> org.freedesktop.PolicyKit1 was not provided by any .service files
> Failed to reboot system via logind: The name
> org.freedesktop.PolicyKit1 was not provided by any .service files
> Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
> not provided by any .service files
> See system logs and 'systemctl status reboot.target' for details.


> Is it the same problem or something else?

I don't really understand polkit, but you probably need it
installed so that systemd will let you have access to your
system.

You might try installing 
libpolkit-backend-1-0
libpolkit-agent-1-0
libpolkit-gobject-1-0

and seeing if that helps.

Otherwise, hopefully one of the systemd aficionados will chime
in.

-dsr-



Re: Can't install lightdm?

2019-03-01 Thread riveravaldez
>> Right now I can start Xorg (apparently) but can't start IceWM, so, I
>> only have CLI.
>
> Use 'startx' to start X.
>
> Write a .xinitrc like this:
>
> ---
> #!/bin/sh
> exec icewm
> ---
>
> Later, testing will be fixed and you can install lightdm again.
>
> -dsr-
>

Thanks a lot, Dan.

After install xinit I use startx, IceWM loaded but without mouse or
keyboard control (neither responded). I have ssh access from another
machine, so I 'killall -s SIGINT icewm' and get back to CLI. Then
tried again, with same result.

Then tried to reboot and get this:

$ systemctl reboot
Failed to set wall message, ignoring: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to reboot system via logind: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was
not provided by any .service files
See system logs and 'systemctl status reboot.target' for details.

$ systemctl status reboot.target
reboot.target - Reboot
Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor
preset: enabled)
Active: inactive (dead)
Docs: man:systemd.special(7)

$ systemctl restart reboot.target
Failed to restart reboot.target: The name org.freedesktop.PolicyKit1
was not provided by any .service files
See system logs and 'systemctl status reboot.target' for details.

But 'sudo reboot' worked.

Is it the same problem or something else?

Right now I'm basically in the same situation as at the beginning. Any idea?

Thanks A LOT, again.



Re: de VM ook echt op het LAN

2019-03-01 Thread Bas Neve
mijn ervaring is dat als je ergens wifi hebt je ook een ipnummer
toebedeelt krijgt.

Graag ontvang ik een bevestiging retour.

Met vriendelijke groet,

Bas Neve
bastiaann...@gmail.com
316 14 12 00 71









Op vr 1 mrt. 2019 om 20:56 schreef Geert Stappers :

>
> Hoi,
>
> Welke methode gebruik jij
> zodat een Virtual Machine helemaal op het LAN kan?
>
>
> Zelf denk ik dat het met behulp van een bridge moet.
> Die network bridge heeft dan een interface in het LAN
> en de VM wordt vertelt op welke bridge ie moet inhaken.
>
> Maar dat blijkt toch wat lastig op een laptop die reist,
> die DHCP nodig heeft.
>
> Graag lees ik wat zoal die ideeen zijn.
>
>
> Groeten
> Geert Stappers
> --
> Leven en laten leven
>
>


Recognize Razer BlackWidow 2014 multimedia keys

2019-03-01 Thread Ruslan Kovtun
I'm trying to bind multimedia keys by their names:

$ grep mpc ~/.config/i3/config
bindsym XF86AudioPrev exec --no-startup-id mpc prev
bindsym XF86AudioNext exec --no-startup-id mpc next

Those bindings didn't work. `xev` didn't recognize "keypress" events
when I'm pressing Fn+F5-F7 and Fn+F1-F3 but:
1. `showkey` shows keycodes for each combination
2. keybindings for Fn+F1-F3 works fine

In attachments, you can find "xev.log" file where I'm pressing "q",
Fn+F1, "w", Fn+F5, "e'.

I'm using Debian Stretch with i3wm. Originally, I had a clean install
of Debian Stretch with XFCE, then I have installed Gnome3 and, finally,
started to use i3wm.Outer window is 0x2a1, inner window is 0x2a2

PropertyNotify event, serial 8, synthetic NO, window 0x2a1,
atom 0x27 (WM_NAME), time 175270936, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2a1,
atom 0x22 (WM_COMMAND), time 175270936, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2a1,
atom 0x28 (WM_NORMAL_HINTS), time 175270936, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2a1,
parent 0x2a1, window 0x2a2, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x2a1,
atom 0x159 (WM_PROTOCOLS), time 175270936, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x2a1,
event 0x2a1, window 0x2a2, override NO

ReparentNotify event, serial 27, synthetic NO, window 0x2a1,
event 0x2a1, window 0x2a1, parent 0x200101,
(0,0), override NO

ConfigureNotify event, serial 28, synthetic NO, window 0x2a1,
event 0x2a1, window 0x2a1, (0,0), width 679, height 245,
border_width 2, above 0x0, override NO

PropertyNotify event, serial 28, synthetic NO, window 0x2a1,
atom 0x15b (WM_STATE), time 175270939, state PropertyNewValue

MapNotify event, serial 28, synthetic NO, window 0x2a1,
event 0x2a1, window 0x2a1, override NO

VisibilityNotify event, serial 28, synthetic NO, window 0x2a1,
state VisibilityUnobscured

Expose event, serial 28, synthetic NO, window 0x2a1,
(0,0), width 679, height 10, count 3

Expose event, serial 28, synthetic NO, window 0x2a1,
(0,10), width 10, height 58, count 2

Expose event, serial 28, synthetic NO, window 0x2a1,
(68,10), width 611, height 58, count 1

Expose event, serial 28, synthetic NO, window 0x2a1,
(0,68), width 679, height 177, count 0

ConfigureNotify event, serial 28, synthetic YES, window 0x2a1,
event 0x2a1, window 0x2a1, (683,519), width 679, height 245,
border_width 2, above 0x0, override NO

FocusIn event, serial 28, synthetic NO, window 0x2a1,
mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys:  4294967179 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 28, synthetic NO, window 0x2a1,
atom 0x14d (_NET_WM_DESKTOP), time 175270940, state PropertyNewValue

KeyPress event, serial 30, synthetic NO, window 0x2a1,
root 0x497, subw 0x0, time 175273363, (174,-83), root:(859,438),
state 0x10, keycode 24 (keysym 0x71, q), same_screen YES,
XLookupString gives 1 bytes: (71) "q"
XmbLookupString gives 1 bytes: (71) "q"
XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x2a1,
root 0x497, subw 0x0, time 175273398, (174,-83), root:(859,438),
state 0x10, keycode 24 (keysym 0x71, q), same_screen YES,
XLookupString gives 1 bytes: (71) "q"
XFilterEvent returns: False

MappingNotify event, serial 33, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

FocusOut event, serial 33, synthetic NO, window 0x2a1,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 34, synthetic NO, window 0x2a1,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys:  4294967179 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

MappingNotify event, serial 34, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 34, synthetic NO, window 0x2a1,
root 0x497, subw 0x0, time 175278961, (174,-83), root:(859,438),
state 0x10, keycode 25 (keysym 0x77, w), same_screen YES,
XLookupString gives 1 bytes: (77) "w"
XmbLookupString gives 1 bytes: (77) "w"
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x2a1,
root 0x497, subw 0x0, time 175279021, (174,-83), root:(859,438),
state 0x10, keycode 25 (keysym 0x77, w), same_screen YES,
XLookupString gives 1 bytes: 

We both will be at SCALE 17x

2019-03-01 Thread nate . brady
Hey,

My name is Nate Brady. Im with Purism. We are a social purpose corporation 
offering "security by default" in our hardware products and software services. 
We saw you were an exhibitor at SCALE 17x. We are also going to be an exhibitor 
at SCALE 17x. I would love for us to be able to have a brief conversation while 
we are at the conference. Our booth number is 726. Let me know if you have any 
questions about anything. I look forward to speaking with you further.

Thanks, 

Nathan Brady 

Business Development Specialist 

Purism


Re: prevent apt from downgrading packages

2019-03-01 Thread Felix Rubio Dalmau
On divendres, 1 de març de 2019 10:45:48 CET Alexander V. Makartsev wrote:
> On 01.03.2019 13:27, Felix Rubio wrote:
> > Hi all,
> >
> > I have mix stable+testing (~1200 packages from stable, ~20
> > packages from testing). I have the following contents in
> > /etc/apt/preferences.d/pinning:
> >
> This is something you should not do in first place. [1]
> The right and safe way to run stable branch and install packages from
> other branches (eg testing) is to make backports of them. [2] This is
> why debian-backports branch exists.
> When doing it right way you won't need any pinning and if package you
> backported will hit stretch-backports branch and will be newer version
> it will be upgraded just as regular package.
> 
> [1] https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
> [2] https://wiki.debian.org/SimpleBackportCreation
> 
> 

Thank you for your advice. I have moved to stretch-backports as many packages 
as I could (I have to see what I do with the few, ~5, remaining).

Regards!
Felix





de VM ook echt op het LAN

2019-03-01 Thread Geert Stappers


Hoi,

Welke methode gebruik jij
zodat een Virtual Machine helemaal op het LAN kan?


Zelf denk ik dat het met behulp van een bridge moet.
Die network bridge heeft dan een interface in het LAN
en de VM wordt vertelt op welke bridge ie moet inhaken.

Maar dat blijkt toch wat lastig op een laptop die reist,
die DHCP nodig heeft.

Graag lees ik wat zoal die ideeen zijn.


Groeten
Geert Stappers
-- 
Leven en laten leven



Re: Screen resolution during Stretch installation

2019-03-01 Thread Étienne Mollier
On 3/1/19 4:20 PM, Fabiano Ferronato wrote:
> I'm installing Debian in my Asus ROG GL552VW laptop (Intel and
> Nvidia video cards) and the resolution (probably 3840x2160)is
> set in a way  that the font size is so small that I have to
> almost  put my face on the monitor so I can read. And the
> windows size is also larger than the monitor area, so I can't
> see the buttons. I can complete the installation either way,
> but I want to know why this is happening and how to solve
> this.
[...]
> Where I can change the screen resolution during (or before)
> install?

Good Day,

In the Grub menu, where you are prompted to choose between
Graphical install, Install, and so on, you can hit 'e' to edit
the Grub entry and prepend the line:

set gfxpayload=keep

Then hit 'F10' to proceed to the installation.

This will conserve the resolution used by this menu, which
should be readable, contrary to the following steps.  Other
values should be possible if you want a better, still readable,
resolution:

set gfxpayload=1280x1024x32

This may answer at least the first question, hopefully.

Kind Regards,
-- 
Étienne Mollier 

All opinions are my own.



Re: Can't install lightdm?

2019-03-01 Thread Dan Ritter
riveravaldez wrote: 
> Hi, I'm on debian-testing (updated).
> 
> As far as I understand I can't install lightdm unless I update systemd
> which presents 2 errors. So, what should I do?

That's what happens with testing.


> So, what should I do?
> 
> Right now I can start Xorg (apparently) but can't start IceWM, so, I
> only have CLI.

Use 'startx' to start X.

Write a .xinitrc like this:

---
#!/bin/sh
exec icewm
---

Later, testing will be fixed and you can install lightdm again.

-dsr-



Re: prevent apt from downgrading packages

2019-03-01 Thread Andrea Borgia

Il 01/03/19 11:18, Alexander V. Makartsev ha scritto:


This is something you have to decide for yourself and deal with 
unforeseen consequences. If you actually *build* packages from

"stable" on "testing" system, using dependencies for building also
from "testing" then it should be ok compatibility wise. If you simply
*install* packages from various sources and branches then you asking
for trouble.


I'm installing from testing, except when the package was only available
in stable. I haven't seen any particular issues so far, only problems I
had were _before_ the upgrade when I had to purge a few packages and
libraries from the old "debian-multimedia" repo... after that, the
upgrade to testing went well and not a problem since.



Il 01/03/19 11:18, john doe ha scritto:> On 3/1/2019 11:07 AM, Andrea
Borgia wrote:


There are no good answers here. It is up to you, all depends on your
needs and environment.


Noted.


Thanks,
Andrea.



Can't install lightdm?

2019-03-01 Thread riveravaldez
Hi, I'm on debian-testing (updated).

As far as I understand I can't install lightdm unless I update systemd
which presents 2 errors. So, what should I do?

Here are the terminal outputs (system is in Spanish, these are
machine-translations):

$ sudo apt-get install lightdm
Reading list of packages ...
Creating dependency tree ...
Reading the status information ...
Can't install some packages. This may mean that you asked for an
impossible situation or, if you are using the unstable distribution,
that some necessary packages have not yet been created or have been
removed from "Incoming".
The following information can help resolve the situation:

The following packages have unfulfilled dependencies:
  lightdm: It depends: libpam-systemd but it will not be installed or
 consolekit but it is not installable
  systemd: It depends: libsystemd0 (= 240-4) but 240-6 is going to be installed
Recommend: libpam-systemd but it will not be installed
E: Error, pkgProblemResolver :: Resolve generated cuts, this may be
due to retained packets.

$ apt-listbugs list systemd
Serious failures of the systemd (→) package 
  b1 - # 919231 - CacheDirectory / StateDirectory does not change owner / group
Serious failures of the systemd package (→) 
  b2 - # 920018 - Memory Leak in journald? Failed to write entry (23
items, 500 bytes), ignoring: Can not allocate memory (Corrected:
systemd / 240-5)
Summary:
  systemd (2 failures)

$ icewm-session
icewmbg: Can't open display: . X must be running and  set.
icewm-session: icewm exited with status 1.
---

So, what should I do?

Right now I can start Xorg (apparently) but can't start IceWM, so, I
only have CLI.

Thanks a lot!



Re: using swap when there is free ram

2019-03-01 Thread Reco
On Fri, Mar 01, 2019 at 07:34:50PM +0100, Pascal Hambourg wrote:
> Le 01/03/2019 à 18:56, Reco a écrit :
> > 
> > First, there's huge amount of unused (not to be confused with "free")
> > memory on your host. And no, it's not a filesystem's cache (600M), it's
> > really "nothing there"-unused memory which amounts 1880M.
> 
> This is the amount reported in /proc/meminfo as MemFree - not MemUnused.
> Can you please explain your definitions of "free" and "unused" memory ?

Documentation/filesystems/proc.txt.gz

What they call "free memory" usually is called MemAvailable in
/proc/meminfo.

"MemFree", which was the sum of "LowFree" and "HighFree" back in the day
(and still is for some architectures) - is the amount of memory which
isn't used for anything, hence the "unused".


> > Taking it all into the account, I propose the following scenario - not a
> > long time ago there was a process (or a couple of those). Was it the
> > browser, or something written in Java (or Python), or some kind of
> > Virtual Machine - is not relevant, but it did consume RAM. But it got
> > terminated, and what we're seeing here is the aftermath.
> 
> Another scenario : at some point the pagecache (file cache) grew much
> bigger due to massive file read/write operation, then the files were
> deleted or the filesystem was unmounted and the file cache pages were
> freed.

I agree that's another possibility.

Reco



Re: using swap when there is free ram

2019-03-01 Thread Pascal Hambourg

Le 01/03/2019 à 18:56, Reco a écrit :


First, there's huge amount of unused (not to be confused with "free")
memory on your host. And no, it's not a filesystem's cache (600M), it's
really "nothing there"-unused memory which amounts 1880M.


This is the amount reported in /proc/meminfo as MemFree - not MemUnused.
Can you please explain your definitions of "free" and "unused" memory ?


Taking it all into the account, I propose the following scenario - not a
long time ago there was a process (or a couple of those). Was it the
browser, or something written in Java (or Python), or some kind of
Virtual Machine - is not relevant, but it did consume RAM. But it got
terminated, and what we're seeing here is the aftermath.


Another scenario : at some point the pagecache (file cache) grew much 
bigger due to massive file read/write operation, then the files were 
deleted or the filesystem was unmounted and the file cache pages were freed.




Re: string "defaults" in fstab options columns

2019-03-01 Thread Felix Miata
David Wright composed on 2019-03-01 10:56 (UTC-0600):

> (and you so much work).

Was wondering for years. I think I'm over it now. :)
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Screen resolution during Stretch installation

2019-03-01 Thread Pascal Hambourg

Le 01/03/2019 à 18:30, Felix Miata a écrit :


Including either nomodeset or nouveau.modeset=0 for installation


is pointless, since the installer does not use KMS.


Another key is the i7-6700HQ provides HD 530 Intel video. Intel + NVidia 
usually equates to
"Optimus"


which makes nouveau.modeset=0 even more pointless, since only the Intel 
GPU drives the video outputs and may use KMS.




Re: User rw Permissions on New Hard Drive

2019-03-01 Thread Reco
Hi.

On Fri, Mar 01, 2019 at 12:49:11PM -0500, Stefan Monnier wrote:
> >>nofail is intended for removable drives that could be missing on boot,
> >>such as Thinkpad ultrabay drives/CF or SD cards.
> > It is also, as he said, useful if you don't want a failure of
> > a non-essential disk to make the system drop to single user on boot. 
> 
> Yup.  `nofail` corresponds to the behavior that was standard
> before systemd.

... in Debian. That part of systemd was inherited from Red Hat's
interpretation of "proper OS booting".

Reco



Re: using swap when there is free ram

2019-03-01 Thread Reco
Hi.

On Fri, Mar 01, 2019 at 02:39:22PM -0300, Bruno Schneider wrote:
> On Fri, Mar 1, 2019 at 2:18 PM Reco wrote:
> >
> > Please post the contents of /proc/meminfo. And "sar -r ALL 1 10", for
> > the sake of the completeness.
> 
> $ cat /proc/meminfo
> MemTotal:3975380 kB
> MemFree: 1886004 kB
> MemAvailable:2307332 kB

Now that, ladies and gentlemen, is interesting.

> Buffers:   49840 kB
> Cached:   638404 kB

Especially combined with this.

> SwapCached:28688 kB

And this.

> SwapTotal:979928 kB
> SwapFree: 764888 kB

And this.


First, there's huge amount of unused (not to be confused with "free")
memory on your host. And no, it's not a filesystem's cache (600M), it's
really "nothing there"-unused memory which amounts 1880M.

Second, you do have *something* in the swap (220M give or take), yet
it's 28M of that which got swapped back.


Taking it all into the account, I propose the following scenario - not a
long time ago there was a process (or a couple of those). Was it the
browser, or something written in Java (or Python), or some kind of
Virtual Machine - is not relevant, but it did consume RAM. But it got
terminated, and what we're seeing here is the aftermath.


> There is no sar command on my system.

Consider installing it, the package's called sysstat.
Comes with useful diagnostic utilities of all shapes and colors, and
they *do* have a minimal resource consumption.


> > To prevent it:
> >
> > sysctl -w vm.swappiness=0
> >
> 
> I just read some people arguing that 1 is better than 0 because the
> later means "never swap" while the former means "swap if out of RAM".
> I'll try 1 to see if it reduces swapping, thanks.

Whatever floats your boat. I use "10" personally, but YMMV.

Reco



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread Stefan Monnier
>>nofail is intended for removable drives that could be missing on boot,
>>such as Thinkpad ultrabay drives/CF or SD cards.
> It is also, as he said, useful if you don't want a failure of
> a non-essential disk to make the system drop to single user on boot. 

Yup.  `nofail` corresponds to the behavior that was standard
before systemd.

The only partitions where I don't use `nofail` are those where I forgot
to put it ;-)


Stefan



Re: using swap when there is free ram

2019-03-01 Thread Bruno Schneider
On Fri, Mar 1, 2019 at 2:18 PM Reco wrote:
>
> Please post the contents of /proc/meminfo. And "sar -r ALL 1 10", for
> the sake of the completeness.

$ cat /proc/meminfo
MemTotal:3975380 kB
MemFree: 1886004 kB
MemAvailable:2307332 kB
Buffers:   49840 kB
Cached:   638404 kB
SwapCached:28688 kB
Active:  1450652 kB
Inactive: 489336 kB
Active(anon):1188048 kB
Inactive(anon):   142728 kB
Active(file): 262604 kB
Inactive(file):   346608 kB
Unevictable:  96 kB
Mlocked:  96 kB
SwapTotal:979928 kB
SwapFree: 764888 kB
Dirty:56 kB
Writeback: 0 kB
AnonPages:   1166924 kB
Mapped:   336476 kB
Shmem: 79036 kB
Slab:  75224 kB
SReclaimable:  33540 kB
SUnreclaim:41684 kB
KernelStack:6864 kB
PageTables:19652 kB
NFS_Unstable:  0 kB
Bounce:0 kB
WritebackTmp:  0 kB
CommitLimit: 2967616 kB
Committed_AS:4608344 kB
VmallocTotal:   34359738367 kB
VmallocUsed:   0 kB
VmallocChunk:  0 kB
Percpu:  736 kB
HardwareCorrupted: 0 kB
AnonHugePages:245760 kB
ShmemHugePages:0 kB
ShmemPmdMapped:0 kB
HugePages_Total:   0
HugePages_Free:0
HugePages_Rsvd:0
HugePages_Surp:0
Hugepagesize:   2048 kB
Hugetlb:   0 kB
DirectMap4k:  123712 kB
DirectMap2M: 4003840 kB

There is no sar command on my system.

> To prevent it:
>
> sysctl -w vm.swappiness=0
>

I just read some people arguing that 1 is better than 0 because the
later means "never swap" while the former means "swap if out of RAM".
I'll try 1 to see if it reduces swapping, thanks.

Dan Ritter: I agree that swapping activity (and not swap space used)
is what matters. It was swapping activity that started annoying me.



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread David Wright
On Fri 01 Mar 2019 at 12:00:06 (-0500), Greg Wooledge wrote:
> On Fri, Mar 01, 2019 at 10:52:00AM -0600, David Wright wrote:
> > On Fri 01 Mar 2019 at 01:30:47 (-0500), Cindy-Sue Causey wrote:
> > > That's what I'd been thinking, too. Because of your question, I just
> > > tried a search for...
> > > 
> > > "defaults,rw" /etc/fstab
> > 
> > You've really limited what can be found with that string.
> > For example, you won't find rw,defaults. But the shell
> > makes a more productive search string look like toothpick-hell:
> > 
> > $ grep '\(rw\)\|\(defaults\)' /etc/fstab
> > 
> > will match lines with either word.
> 
> *shudder*  You don't need ANY of those parentheses, let alone escaped
> parentheses.  And you're relying on a GNUism to make the | work instead
> of just calling grep -E or egrep like you're supposed to.
> 
> grep -E 'rw|defaults' /etc/fstab

Sorry. I think I've been writing too much sed recently, making my
audio and video configurations switch between monitor and HDMI.

> If you wanted to match lines that have BOTH strings, then try
>  instead.

Your FAQs are well worth reading, as always. So much reading,
so little time. (Opposite of another well known poster.)

Cheers,
David.



Re: Screen resolution during Stretch installation

2019-03-01 Thread Felix Miata
Fabiano Ferronato composed on 2019-03-01 16:20 (UTC+0100):

> I don't know if this is the wright place to ask, but I'm searching a lot
> trying to find a way to this problem.
> I'm installing Debian in my Asus ROG GL552VW laptop (Intel and Nvidia video
> cards) and the resolution (probably 3840x2160)is set in a way  that the
> font size is so small that I have to almost  put my face on the monitor so
> I can read. And the windows size is also larger than the monitor area, so I
> can't see the buttons. I can complete the installation either way, but I
> want to know why this is happening and how to solve this.
> After OS install, I try to follow Debian instructions to install Nvidia
> drivers. But I'm following every tutorial and ending up with a broken
> installation.

> So, my questions:
> Where I can change the screen resolution during (or before) install?
> After install, resolution is still wrong. How can I set OS resolution
> during install?

An alternative suggestion to Curt's is to utilize the kernel's KMS. Curt's 
suggestion included
disabling KMS with either the nomodeset or nouveau.modeset=0 string on the 
installer's cmdline.
Including video=2560x1440 or video=1920x1080 should increase the font sizes 
without disabling KMS.

Including either nomodeset or nouveau.modeset=0 for installation generally 
means its included in
/etc/default/grub and /boot/grub/grub.cfg on the installed system, continuing 
KMS blockage, and
making video performance suffer greatly. Both are intended as troubleshooting 
workarounds, though
traditionally, non-FOSS drivers have required disabling KMS full time.

Another key is the i7-6700HQ provides HD 530 Intel video. Intel + NVidia 
usually equates to
"Optimus", which generally means a requirement to follow special instructions 
for installing either
OS or NVidia drivers. These you can find by using Optimus, Prime and Bumblebee 
as search keywords.
Optimus instructions on https://wiki.archlinux.org/index.php/Optimus are 
reputedly very good, in
case any you find for Debian seem inadequate to task.

Note too that there are three potentially competent DDX drivers for NVidia, the 
non-FOSS from
NVidia, plus the two from Xorg, nouveau and modesetting. The newer technology 
modesetting is the
upstream default, included in the server package since 4 years ago, but most 
installations manage
to override it by installing all optional DDX drivers via virtual (meta) 
package, including
xserver-xorg-video-nouveau. BTW, upstream's name for DDX drivers takes the form
xf86-video-, helpful to know in evaluating search results.

Having the nouveau DDX installed blocks the modesetting DDX unless explicitly 
configured not to via
/etc/X11/xorg.conf*. IOW, if you purge xserver-xorg-video-nouveau, or 
explicitly configure its use,
before installing NVidia drivers, you get an opportunity to test whether you 
even need to add the
non-FOSS DDX.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: using swap when there is free ram

2019-03-01 Thread Reco
Hi.

On Fri, Mar 01, 2019 at 02:12:06PM -0300, Bruno Schneider wrote:
> My system started using swap space even when there is available RAM:
> 
> $ free -m
>   totalusedfree  shared  buff/cache   
> available
> Mem:   388210042303  63 573
> 2598
> Swap:   956 239 717
> 
> Can anyone help find the reason / prevent it?

Please post the contents of /proc/meminfo. And "sar -r ALL 1 10", for
the sake of the completeness.

To prevent it:

sysctl -w vm.swappiness=0

Reco



Re: using swap when there is free ram

2019-03-01 Thread Dan Ritter
Bruno Schneider wrote: 
> My system started using swap space even when there is available RAM:
> 
> $ free -m
>   totalusedfree  shared  buff/cache   
> available
> Mem:   388210042303  63 573
> 2598
> Swap:   956 239 717
> 
> Can anyone help find the reason / prevent it?

This is normal and expected.

The kernel has decided that it has about 239MB of libraries or
other pages that it will not be using anytime soon, and since
you have swap available, it swapped it out.

This will improve your overall performance.

The absolute quantity of swap space used is not particularly 
important; what's important for performance is how much swapping
activity is going on.

The vmstat command will show you pages swapped in (si) and out
(so). You should expect that to be 0 or very low at any given
time.

If you give it two numbers:

vmstat 1 5

It will run 5 times, pausing 1 second in between each run.

-dsr-



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread David Wright
On Fri 01 Mar 2019 at 07:30:15 (+), Dekks Herton wrote:
> David Wright  writes:
> > On Thu 28 Feb 2019 at 15:45:47 (-0500), Stephen P. Molnar wrote:

> >> # /etc/fstab: static file system information.
> >> #
> >> # Use 'blkid' to print the universally unique identifier for a
> >> # device; this may be used with UUID= as a more robust way to name devices
> >> # that works even if disks are added and removed. See fstab(5).
> >> #
> >> #   
> >> # / was on /dev/sda1 during installation
> >> UUID=ce25f0e1-610d-4030-ab47-129cd47d974e /   ext4
> >> errors=remount-ro 0   1
> >> # swap was on /dev/sda5 during installation
> >> UUID=a8f6dc7e-13f1-4495-b68a-27886d386db0 noneswap sw
> >> 0   0
> >> /dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0 0
> >> 
> >> UUID=900b5f0b-4f3d-4a64-8c91-29aee4c6fd07 /sdb1 ext4 errors=remount-ro
> >> 0   1
> >> 
> >> UUID=1f363165-2c59-4236-850d-36d1e807099e /sdc1 ext4 errors=remount-ro
> >> 0   1
> >
> > Well, you did ask for a sanity check, but those mount points are still
> > completely insane. And you still have 1 for the last field of your
> > non-root filesystems when it should be 2.
> 
> Agree with non-root being 2 but that fstab looks like how debian does
> defaults, it likes errrors=remount-ro.

Or even errors=remount-ro. I do remember running sed's
s/defaults/errors=remount-ro,defaults/ many years ago when I
discovered its availability.

People here might object to seeing ro,errors=remount-ro in anyone's
fstab, but so what?

> > I always add an explicit rw or ro under options, along with defaults.
> > With systemd, I add nofail to any filesystems that aren't vital for
> > the system to run, which means the system will still boot fully
> > without them.
> 
> nofail is intended for removable drives that could be missing on boot,
> such as Thinkpad ultrabay drives/CF or SD cards.

Maybe. I use user,noauto throughout fstab for my removables, and then
mount them when I connect them. I was under the impression that nofail
was aimed more at mounts that are made via 'iffy' technologies, like
those across a network.

But my use is entirely aimed at avoiding tears and work. Thus all my
Windows/manufacturer partitions on this dual-boot machine are mounted
nofail. After all, I have no idea whether some Windows operation or
update is going to tweak something that causes a mount to fail the
next time I boot linux.

On machines that I boot using WoL, I don't want to have to go and
turn on the monitor just to find out why it stalled booting.

Cheers,
David.



Re: using swap when there is free ram

2019-03-01 Thread Michael Stone

On Fri, Mar 01, 2019 at 02:12:06PM -0300, Bruno Schneider wrote:

My system started using swap space even when there is available RAM:

$ free -m
 totalusedfree  shared  buff/cache   available
Mem:   388210042303  63 5732598
Swap:   956 239 717

Can anyone help find the reason 


To free up underutilized memory for disk cache.


prevent it?


Why? What problem are you trying to solve?



Re: grisbi ne se lance plus

2019-03-01 Thread Bernardo
Bonjour,

la liste de Grisbi :

user-fre...@listes.grisbi.org

Le dev est très présent.

Le 01/03/2019 à 18:10, Norbert Ponce a écrit :
> Bonjour,
> 
> Suite à une réinstallation de Grisbi sur Debian 9.8, le programme ne se
> lance plus.
> Message d'erreur:
> 
> norbert@serveur:~$ grisbi
> Fri Mar  1 17:17:34 2019 : 9 elements in stack.
>     grisbi(+0x28cbe) [0x55e731c64cbe]
>     /lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f7446ca6060]
>     grisbi(+0xab537) [0x55e731ce7537]
>     grisbi(+0x4ff81) [0x55e731c8bf81]
>     grisbi(+0x3d111) [0x55e731c79111]
>     grisbi(+0x3d43d) [0x55e731c7943d]
>     grisbi(+0x22d6c) [0x55e731c5ed6c]
>     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)
> [0x7f7446c932e1]
>     grisbi(+0x22dfa) [0x55e731c5edfa]
> 
> Après recherche, la libc.so.6 est absente ainsi que la libc-2.24.so qui
> est sa cible.
> 
> J'ai essayé comme préconisé dans le message d'erreur de faire un rapport
> de bug à www.grisbi.org/bugtracking, mais Firefox refuse l'accès pour un
> problème de certificat non valide.
> 
> Que puis-je faire ?
> Merci
> 
> 

-- 
Cordialement,
Bernardo.

Demain des 14h l'internet et la messagerie seront inaccessibles et ce
pour toute la journée .
Merci de prendre vos dispositions.
-+- CD sur debian-french : "Oups j'ai plante l'Internet" -+-



using swap when there is free ram

2019-03-01 Thread Bruno Schneider
My system started using swap space even when there is available RAM:

$ free -m
  totalusedfree  shared  buff/cache   available
Mem:   388210042303  63 5732598
Swap:   956 239 717

Can anyone help find the reason / prevent it?



grisbi ne se lance plus

2019-03-01 Thread Norbert Ponce

Bonjour,

Suite à une réinstallation de Grisbi sur Debian 9.8, le programme ne se 
lance plus.

Message d'erreur:

norbert@serveur:~$ grisbi
Fri Mar  1 17:17:34 2019 : 9 elements in stack.
    grisbi(+0x28cbe) [0x55e731c64cbe]
    /lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f7446ca6060]
    grisbi(+0xab537) [0x55e731ce7537]
    grisbi(+0x4ff81) [0x55e731c8bf81]
    grisbi(+0x3d111) [0x55e731c79111]
    grisbi(+0x3d43d) [0x55e731c7943d]
    grisbi(+0x22d6c) [0x55e731c5ed6c]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) 
[0x7f7446c932e1]

    grisbi(+0x22dfa) [0x55e731c5edfa]

Après recherche, la libc.so.6 est absente ainsi que la libc-2.24.so qui 
est sa cible.


J'ai essayé comme préconisé dans le message d'erreur de faire un rapport 
de bug à www.grisbi.org/bugtracking, mais Firefox refuse l'accès pour un 
problème de certificat non valide.


Que puis-je faire ?
Merci



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread Greg Wooledge
On Fri, Mar 01, 2019 at 10:52:00AM -0600, David Wright wrote:
> On Fri 01 Mar 2019 at 01:30:47 (-0500), Cindy-Sue Causey wrote:
> > That's what I'd been thinking, too. Because of your question, I just
> > tried a search for...
> > 
> > "defaults,rw" /etc/fstab
> 
> You've really limited what can be found with that string.
> For example, you won't find rw,defaults. But the shell
> makes a more productive search string look like toothpick-hell:
> 
> $ grep '\(rw\)\|\(defaults\)' /etc/fstab
> 
> will match lines with either word.

*shudder*  You don't need ANY of those parentheses, let alone escaped
parentheses.  And you're relying on a GNUism to make the | work instead
of just calling grep -E or egrep like you're supposed to.

grep -E 'rw|defaults' /etc/fstab

If you wanted to match lines that have BOTH strings, then try
 instead.



Re: string "defaults" in fstab options columns (was: User rw Permissions on New Hard Drive)

2019-03-01 Thread David Wright
On Fri 01 Mar 2019 at 02:51:33 (-0500), Felix Miata wrote:
> Cindy-Sue Causey composed on 2019-03-01 01:30 (UTC-0500):
> > Felix Miata wrote:
> >> David Wright composed on 2019-02-28 20:26 (UTC-0600):
> >>> I always add an explicit rw or ro under options, along with defaults.
> 
> >> English can be tricky. Please clarify. AIUI, the string "defaults" is a
> >> placeholder, unnecessary if
> >> any other option is specified. Man mount doesn't make it clear to me. I
> >> can't recall ever including
> >> it along with any other option. I've always assumed all defaults not
> >> explicitly overridden will be
> >> used.
> 
> > That's what I'd been thinking, too. Because of your question, I just
> > tried a search for...
> 
> > "defaults,rw" /etc/fstab
> 
> > Some things pulled up from varying resources out there. Without
> > actually visiting any of the results, sometimes they just said the
> > above. Other times, they would have "defaults,rw" with a few of the
> > various remaining options tacked on the end of that, as well.
> 
> To be clear, "including it" above meant an fstab line I created from scratch 
> or any options entry I
> edited, not any created by any Linux installer. I just checked original 
> fstabs created by
> 
> Etch (in 2006)
> Fedora 7 (in 2006)
> openSUSE 10.3 (in 2007)
> Squeeze (in 2011)
> openSUSE 42.1 (in 2015)
> Bionic (in 2018)
> Buster (in 2018)
> 
> on PCs here. Not one contains the string "defaults" adjacent to a comma. I 
> have seen defaults
> adjacent to a comma in fstab option lines in web searches, mailing lists and 
> forums, but don't know
> why it ever happens.

I don't see harm in making explicit what's implicit. My use may have
arisen from habit back in the early days, way before etch. But I'd
better remove defaults forthwith in any posts, as they're obviously
causing such concern (and you so much work).

Cheers,
David.



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread David Wright
On Fri 01 Mar 2019 at 01:30:47 (-0500), Cindy-Sue Causey wrote:
> On 2/28/19, Felix Miata  wrote:
> > David Wright composed on 2019-02-28 20:26 (UTC-0600):
> >
> >> I always add an explicit rw or ro under options, along with defaults.
> >
> > English can be tricky. Please clarify. AIUI, the string "defaults" is a
> > placeholder, unnecessary if
> > any other option is specified. Man mount doesn't make it clear to me. I
> > can't recall ever including
> > it along with any other option. I've always assumed all defaults not
> > explicitly overridden will be
> > used.
> 
> That's what I'd been thinking, too. Because of your question, I just
> tried a search for...
> 
> "defaults,rw" /etc/fstab

You've really limited what can be found with that string.
For example, you won't find rw,defaults. But the shell
makes a more productive search string look like toothpick-hell:

$ grep '\(rw\)\|\(defaults\)' /etc/fstab

will match lines with either word.

Cheers,
David.



Re: Screen resolution during Stretch installation

2019-03-01 Thread Curt
On 2019-03-01, Fabiano Ferronato  wrote:
>
> Hi all!
>
> I don't know if this is the wright place to ask, but I'm searching a lot
> trying to find a way to this problem.
> I'm installing Debian in my Asus ROG GL552VW laptop (Intel and Nvidia video
> cards) and the resolution (probably 3840x2160)is set in a way  that the
> font size is so small that I have to almost  put my face on the monitor so
> I can read. And the windows size is also larger than the monitor area, so I
> can't see the buttons. I can complete the installation either way, but I
> want to know why this is happening and how to solve this.
> After OS install, I try to follow Debian instructions to install Nvidia
> drivers. But I'm following every tutorial and ending up with a broken
> installation.
>

This reddit thread I stumbled on seems pertinent to your case:

https://www.reddit.com/r/linuxquestions/comments/8f9slp/cant_install_any_linux_distro_on_my_asus_rog/

Apparently the key is to set the "nomodeset" boot parameter at the boot
prompt. 


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Hoping To Help You With Bentley System Contact List

2019-03-01 Thread Samantha Hicks
Hi,

 
Hope this email finds you well.

 
I just wanted to know if you’re looking to acquire BentleySystems Contact info  
across  the globe for your marketing efforts.

 
We also have technology Users Like: Adobe ,ANSYS  ,autocad , SAP SE  , IBM  
,Aveva , Autodesk , blender, Blue beamSoftware  ,CISCO  ,Corel ,Dassault 
Systemes  ,Esri  ,GrabCAD  ,Graphisoft  , Hewlett-Packard  ,Microsoft  
,Nemetschek  ,NVIDIA  ,PlanGrid  ,procreate  ,PTC  ,sketchup ,  solidworks, 
Tekla  ,YAHOO , Trimble GRAITEC  and many more.

 
I just wanted to check if you would be interested in the above mentioned Users 
as they could be your target market.

 
If you have any other unique requirement and if it is not mentioned above, 
please feel free to share your requirement with us as we can help you with 
on-demand list customized as per your requirement.

 
Kindly review and let me know if I can share more information on this.

 
Warm regards,

Samantha Hicks 

Demand Generation

 
 
If you wouldn’t like, you can answer back with "overlook" in the title.

 
 
 
 
 
 

Virus-free. www.avast.com 


Re: ecran qui s'eteint toutes les 10 mn

2019-03-01 Thread hamster
Le 01/03/2019 à 15:36, Rom1 a écrit :
> Je ne me souviens plus vraiment à quoi servent ces paramètres. J'avais
> trouvé la réponse ici:
> http://forum.lemaker.org/thread-11027-1-1.html
>
> J'avais juste fouillé mes notes pour retrouver les 3 commandes. Je suis
> désolé, je t'ai juste balancé comme ça les commandes. Je viens d'ouvrir
> mon ancien projet où j'ai utilisé ces commandes et la première est bien:
> `xset s off`

Et ben tu vois, merci beaucoup quand meme parce que c'est ton message
qui m'a permis de trouver la solution.

> Si j'y pense je ferais un test sur un BPi ce soir pour voir la
> véracité de mettre "noblank".

Selon les conseils de damien, j'ai fait un fichier
/etc/X11/xorg.conf.d/power-managment.conf rédigé comme suit :

Section "ServerFlags"
   Option "StandbyTime" "0"
   Option "OffTime" "0"
   Option "SuspendTime" "0"
   Option " BlankTime" "0"
EndSection

Et ca marche. Dans man xorg.conf y'a marqué que l'option blanktime est
équivalente a l'option -s du serveur Xorg.



Screen resolution during Stretch installation

2019-03-01 Thread Fabiano Ferronato
Hi all!

I don't know if this is the wright place to ask, but I'm searching a lot
trying to find a way to this problem.
I'm installing Debian in my Asus ROG GL552VW laptop (Intel and Nvidia video
cards) and the resolution (probably 3840x2160)is set in a way  that the
font size is so small that I have to almost  put my face on the monitor so
I can read. And the windows size is also larger than the monitor area, so I
can't see the buttons. I can complete the installation either way, but I
want to know why this is happening and how to solve this.
After OS install, I try to follow Debian instructions to install Nvidia
drivers. But I'm following every tutorial and ending up with a broken
installation.

So, my questions:
Where I can change the screen resolution during (or before) install?
After install, resolution is still wrong. How can I set OS resolution
during install?

I hope somebody could give some advice on where to go.

Thanks!!


Re: MYSQL

2019-03-01 Thread Alexandre Goethals
Bonjour,

il est possible que le répertoire de stockage mysql ait changé.

Vérifiez le datadir dans le fichier de configuration (usuellement
/etc/mysql/my.cnf).

Vérifiez à l'endroit indiqué par datadir si vous avez un répertoire
portant le nom de vos bases manquantes.

Si elles n'y sont pas, essayez de les retrouver dans l'arborescence de
votre système. Les noms de fichiers portent des extensions .frm et .ibd,
en tout cas pour des bases utilisant le moteur de stockage InnoDB (celui
par défaut avec les mariadb/mysql embarquées dans les paquets debian
officiels)

Le 01/03/2019 à 15:05, Zuthos a écrit :
> G2PC a écrit :
>> Le 27/02/2019 à 18:30, Zuthos a écrit :
>>> Bonjour,
>>>
>>> J'ai un gros soucis avec MYSQL.
>>>
>>> Impossible de me connecter à cette dernière.
>>> Tous les services utilisant cette derniére ne fonctionne plus. ;-(
>>>
>>> Tous les utilisateurs, y compris administrateur sont éjectés.
>>>
>>> D'ou mes questions:
>>> Puis-je récupérer et sauvegarder les tables de ma base de données?
>>> Puis-je remetre ma base en ordre de marche
>> Sans avis, je te partage mes notes :
>> https://www.visionduweb.eu/wiki/index.php?title=Installer_MySQL_sur_Debian#Perte_de_l.27acc.C3.A8s_root_.C3.A0_une_base_de_donn.C3.A9es_MySQL
>>
>> Si tu trouves la réponse, pense à compléter ce message.
>> Bonne chance.
>>
>>
> Ce qui me fais peur c'est cela:
>> SHOW DATABASES;
> ++
> | Database   |
> ++
> | information_schema |
> | mysql  |
> | performance_schema |
> ++
>
> J'ai l'impression que toutes mes bases ont disparu.
>



Re: ecran qui s'eteint toutes les 10 mn

2019-03-01 Thread Rom1
Je ne me souviens plus vraiment à quoi servent ces paramètres. J'avais
trouvé la réponse ici:
http://forum.lemaker.org/thread-11027-1-1.html

J'avais juste fouillé mes notes pour retrouver les 3 commandes. Je suis
désolé, je t'ai juste balancé comme ça les commandes. Je viens d'ouvrir
mon ancien projet où j'ai utilisé ces commandes et la première est bien:
`xset s off`

Je me demande si je n'ai pas fait une erreur dans mes notes.
Malheureusement, je ne peux pas te dire si il me fallait exactement ces
3 commandes pour que le RPi ne part pas en veille. J'ai tendance à dire
que je n'ai pas pris de risque et j'ai tous désactivé, l'économie
d'énergie et l'écran de veille.

En lisant vite fait le man, on dirait que "noblank", n'a pas de raison
d'être utilisé si il est à off. Pourtant sur internet, sur les forums
de RPi ou autres cartes, ils utilisent les 3 commandes.

Si j'y pense je ferais un test sur un BPi ce soir pour voir la
véracité de mettre "noblank".

Salutation
Rom1


Le Fri, 1 Mar 2019 15:06:19 +0100,
hamster  a écrit :

> Le 26/02/2019 à 11:00, romain a écrit :
> > Bonjour Hamster et la liste,
> >
> > Pour un projet avec un RPi, je me suis retrouvé face au même
> > problème. J'ai utilisé ce jeux de commande:
> >
> > `xset s`  
> > `xset -dpms`
> > `xset s noblank`
> >
> > Je te laisserai consulter la documentation pour voir en détail ce
> > que ça fait  
> 
> J'ai consulté la doc, mais j'ai pas réussi a comprendre ce que fait la
> première commande :
> `xset s`
> 
> Par contre, après lecture de la doc et essais (ce qui est très long,
> il faut attendre 10 mn a chaque fois), il s'avère que
> `xset s noblank`
> ne suffit pas, il faut mettre
> `xset s off`
>  et ca résoud le problème. Il est même inutile de mettre
> `xset -dpms`
> 
> Il me reste a fouiller encore pour comprendre comment faire pour que
> ce soit automatique au démarrage de l'ordi. Si j'ai bien compris, il
> faut que je cherche du coté de xorg.conf
> 



Re: prevent apt from downgrading packages

2019-03-01 Thread Dan Ritter
Felix Rubio wrote: 
> Hi all,
> 
> I have mix stable+testing (~1200 packages from stable, ~20 packages from
> testing). I have the following contents in /etc/apt/preferences.d/pinning:
> 
> Package: *
> Pin: release a=stable
> Pin-Priority: 1001
> 
> Package: *
> Pin: release a=testing
> Pin-Priority: 200
> 
> Package: *
> Pin: release a=experimental
> Pin-Priority: -10
> 
> Package: *
> Pin: release a=unstable
> Pin-Priority: -10
> 
> What happens is: after an apt update, I list the packages to be upgraded
> with apt list --upgradable, and I get only those that will be upgraded.
> However, when I run apt upgrade, I get a number of packages that will be
> downgraded. How can I prevent this downgrading from happening?

here are magic levels for the numbers in the priority field.
They are explained, at length, in man apt_preferences. The
highlights:

P >= 1000
   causes a version to be installed even if this constitutes a
   downgrade of the package

990 <= P < 1000
   causes a version to be installed even if it does not come from the
   target release, unless the installed version is more recent

500 <= P < 990
   causes a version to be installed unless there is a version
   available belonging to the target release or the installed version
   is more recent

100 <= P < 500
   causes a version to be installed unless there is a version
   available belonging to some other distribution or the installed
   version is more recent

0 < P < 100
   causes a version to be installed only if there is no installed
   version of the package

P < 0
   prevents the version from being installed


Your downgrades are probably caused by the 1001 priority for
stable; changing that to 999 might be what you want.

-dsr-




Re: I need to help

2019-03-01 Thread Dan Ritter
Curt wrote: 
> On 2019-03-01, Dan Ritter  wrote:
> > Ultra Foundation wrote: 
> >> Hello، I am Aymen from Algeria and I would like to create a my new
> >> operating system and I want to build it using Debian How to get a version
> >> of debian adjustable and thanks.
> >
> >
> > https://www.debian.org/releases/stable/installmanual
> >
> > Instructions are available in French, if you prefer. There is
> > also a French language mailing list:
> >
> > https://lists.debian.org/debian-user-french/
> 
> I understood his post to mean he wanted to create his own OS based on
> Debian.
> 
> As I have no idea how to do that I refrained.

Oh, that's easy too. But if he can't install, he can't branch,
so it's a necessary step.

-dsr-



Re: I need to help

2019-03-01 Thread Curt
On 2019-03-01, Dan Ritter  wrote:
> Ultra Foundation wrote: 
>> Hello، I am Aymen from Algeria and I would like to create a my new
>> operating system and I want to build it using Debian How to get a version
>> of debian adjustable and thanks.
>
>
> https://www.debian.org/releases/stable/installmanual
>
> Instructions are available in French, if you prefer. There is
> also a French language mailing list:
>
> https://lists.debian.org/debian-user-french/

I understood his post to mean he wanted to create his own OS based on
Debian.

As I have no idea how to do that I refrained.

> -dsr-
>
>


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Re: User rw Permissions on New Hard Drive

2019-03-01 Thread Michael Stone

On Fri, Mar 01, 2019 at 07:30:15AM +, Dekks Herton wrote:

David Wright  writes:

I always add an explicit rw or ro under options, along with defaults.
With systemd, I add nofail to any filesystems that aren't vital for
the system to run, which means the system will still boot fully
without them.


nofail is intended for removable drives that could be missing on boot,
such as Thinkpad ultrabay drives/CF or SD cards.


It is also, as he said, useful if you don't want a failure of a 
non-essential disk to make the system drop to single user on boot. 



Re: I need to help

2019-03-01 Thread Dan Ritter
Ultra Foundation wrote: 
> Hello، I am Aymen from Algeria and I would like to create a my new
> operating system and I want to build it using Debian How to get a version
> of debian adjustable and thanks.


https://www.debian.org/releases/stable/installmanual

Instructions are available in French, if you prefer. There is
also a French language mailing list:

https://lists.debian.org/debian-user-french/

-dsr-



Re: I need to help

2019-03-01 Thread Paul Sutton


On 01/03/2019 13:29, Ultra Foundation wrote:
> Hello، I am Aymen from Algeria and I would like to create a my new
> operating system and I want to build it using Debian How to get a version
> of debian adjustable and thanks.

As far as I under stand things, if you install the net-install version,
this is very minimal and allows you to install the features and packages
you would like or need.

I am sure others here can, however be more useful.

Regards

Paul

-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
gnupg : 7D6D B682 F351 8D08 1893  1E16 F086 5537 D066 302D



Re: Mon renouvellement de mon certificat multidomaine continue de me faire des blagues.

2019-03-01 Thread G2PC


> Non, il se cré lorsqu'il n'existe pas et est vide une fois la
> manipulation terminée
>
> Tu affiches bien les fichiers cachés lorsue tu vérifie ;) Sinon, c'est
> bien www-data:www-data (ou l'UID & GID sous lesquels tournent apache)
> à qui appartient les répertoires ?


Il se crée quand ? A la création du certificat ? Je n'ai rien, réellement.
.well-know est en vacance.


> # Après avoir lancé la commande pour créer le certificat ces deux
> lignes sont affichées :
>
> Saving debug log to /var/log/letsencrypt/letsencrypt.log
> Plugins selected: Authenticator webroot, Installer None
>> *Je note que le plugin Authenticator webroot ne semble pas être
>> installé, si je comprend bien ce message.
>> Je n'ai pas cherché. *



Re: ecran qui s'eteint toutes les 10 mn

2019-03-01 Thread hamster
Le 26/02/2019 à 11:00, romain a écrit :
> Bonjour Hamster et la liste,
>
> Pour un projet avec un RPi, je me suis retrouvé face au même problème.
> J'ai utilisé ce jeux de commande:
>
> `xset s`  
> `xset -dpms`
> `xset s noblank`
>
> Je te laisserai consulter la documentation pour voir en détail ce que
> ça fait

J'ai consulté la doc, mais j'ai pas réussi a comprendre ce que fait la
première commande :
`xset s`

Par contre, après lecture de la doc et essais (ce qui est très long, il
faut attendre 10 mn a chaque fois), il s'avère que
`xset s noblank`
ne suffit pas, il faut mettre
`xset s off`
 et ca résoud le problème. Il est même inutile de mettre
`xset -dpms`

Il me reste a fouiller encore pour comprendre comment faire pour que ce
soit automatique au démarrage de l'ordi. Si j'ai bien compris, il faut
que je cherche du coté de xorg.conf



Re: MYSQL

2019-03-01 Thread Zuthos
G2PC a écrit :
> Le 27/02/2019 à 18:30, Zuthos a écrit :
> > Bonjour,
> >
> > J'ai un gros soucis avec MYSQL.
> >
> > Impossible de me connecter à cette dernière.
> > Tous les services utilisant cette derniére ne fonctionne plus. ;-(
> >
> > Tous les utilisateurs, y compris administrateur sont éjectés.
> >
> > D'ou mes questions:
> > Puis-je récupérer et sauvegarder les tables de ma base de données?
> > Puis-je remetre ma base en ordre de marche
> Sans avis, je te partage mes notes :
> https://www.visionduweb.eu/wiki/index.php?title=Installer_MySQL_sur_Debian#Perte_de_l.27acc.C3.A8s_root_.C3.A0_une_base_de_donn.C3.A9es_MySQL
> 
> Si tu trouves la réponse, pense à compléter ce message.
> Bonne chance.
> 
> 

Ce qui me fais peur c'est cela:
> SHOW DATABASES;
++
| Database   |
++
| information_schema |
| mysql  |
| performance_schema |
++

J'ai l'impression que toutes mes bases ont disparu.



Re: MYSQL

2019-03-01 Thread Zuthos
> On pourrait avoir les messages d'erreur lorsque tu essayes de redémarrer
> MySQL ou un extrait des logs ?

Voici le message losque j'essaye de me connectyer a roundcube:

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Avec phpmyadmin:
mysqli_real_connect(): (HY000/1698): Access denied for user
'zuthos'@'localhost'

 #1698 - Access denied for user 'zuthos'@'localhost'

Je ne sais pas ou regarder ailleur

le fichier de log:


2019-03-01 14:16:41 140382442050688 [Note] InnoDB: 
innodb_empty_free_list_algorithm has been changed to legacy because of small 
buffer pool size. In order to use backoff, increase buffer pool at least up to 
20MB.

2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Using mutexes to ref count 
buffer pool pages
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: The InnoDB memory heap is 
disabled
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Mutexes and rw_locks use GCC 
atomic builtins
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: GCC builtin 
__atomic_thread_fence() is used for memory barrier
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Compressed tables use zlib 
1.2.8
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Using Linux native AIO
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Using SSE crc32 instructions
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Initializing buffer pool, 
size = 128.0M
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Completed initialization of 
buffer pool
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Highest supported file 
format is Barracuda.
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: The log sequence number 
1616737 in ibdata file do not match the log sequence number 1616777 in the 
ib_logfiles!
2019-03-01 14:16:42 140382442050688 [Note] InnoDB: Restoring possible 
half-written data pages from the doublewrite buffer...
2019-03-01 14:16:43 140382442050688 [Note] InnoDB: 128 rollback segment(s) are 
active.
2019-03-01 14:16:43 140382442050688 [Note] InnoDB: Waiting for purge to start
2019-03-01 14:16:43 140382442050688 [Note] InnoDB:  Percona XtraDB 
(http://www.percona.com) 5.6.41-84.1 started; log sequence number 1616777
2019-03-01 14:16:43 140382442050688 [Note] Plugin 'FEEDBACK' is disabled.
2019-03-01 14:16:43 140381807179520 [Note] InnoDB: Dumping buffer pool(s) not 
yet started
2019-03-01 14:16:43 140382442050688 [Note] Recovering after a crash using tc.log
2019-03-01 14:16:43 140382442050688 [Note] Starting crash recovery...
2019-03-01 14:16:43 140382442050688 [Note] Crash recovery finished.
2019-03-01 14:16:43 140382442050688 [Note] Server socket created on IP: 
'127.0.0.1'.
2019-03-01 14:16:44 140382442050688 [Note] /usr/sbin/mysqld: ready for 
connections.
Version: '10.1.37-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  
port: 3306  Debian 9.6
2019-03-01 14:32:26 140382441264896 [Note] /usr/sbin/mysqld: Normal shutdown
2019-03-01 14:32:26 140382441264896 [Note] Event Scheduler: Purging the queue. 
0 events
2019-03-01 14:32:26 140381874267904 [Note] InnoDB: FTS optimize thread exiting.
2019-03-01 14:32:26 140382441264896 [Note] InnoDB: Starting shutdown...
2019-03-01 14:32:27 140382441264896 [Note] InnoDB: Waiting for page_cleaner to 
finish flushing of buffer pool
2019-03-01 14:32:28 140382441264896 [Note] InnoDB: Shutdown completed; log 
sequence number 1616787
2019-03-01 14:32:28 140382441264896 [Note] /usr/sbin/mysqld: Shutdown complete

2019-03-01 14:32:29 140231966717056 [Note] InnoDB: 
innodb_empty_free_list_algorithm has been changed to legacy because of small 
buffer pool size. In order to use backoff, increase buffer pool at least up to 
20MB.

2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Using mutexes to ref count 
buffer pool pages
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: The InnoDB memory heap is 
disabled
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Mutexes and rw_locks use GCC 
atomic builtins
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: GCC builtin 
__atomic_thread_fence() is used for memory barrier
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Compressed tables use zlib 
1.2.8
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Using Linux native AIO
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Using SSE crc32 instructions
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Initializing buffer pool, 
size = 128.0M
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Completed initialization of 
buffer pool
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Highest supported file 
format is Barracuda.
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: 128 rollback segment(s) are 
active.
2019-03-01 14:32:29 140231966717056 [Note] InnoDB: Waiting for purge to start
2019-03-01 14:32:29 140231966717056 [Note] InnoDB:  Percona XtraDB 
(http://www.percona.com) 5.6.41-84.1 started; log sequence number 1616787
2019-03-01 14:32:29 140231966717056 [Note] Plugin 'FEEDBACK' is 

I need to help

2019-03-01 Thread Ultra Foundation
Hello، I am Aymen from Algeria and I would like to create a my new
operating system and I want to build it using Debian How to get a version
of debian adjustable and thanks.


Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:34:45 +, mick crane wrote:

> On 2019-03-01 12:24, Brian wrote:
> > On Fri 01 Mar 2019 at 12:21:05 +, Brian wrote:
> > 
> > > On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:
> > > 
> > > > On 2019-03-01 11:49, Brian wrote:
> > > >
> > > > > > on client PC
> > > > > > $ lpstat -t
> > > > > > scheduler is running
> > > > > > system default destination: HP_LaserJet_4000_Series
> > > > > > device for HP_LaserJet_4000_Series: socket://10.0.0.108
> > > > >
> > > > > This is not a connection to the server. socket://... indicates a 
> > > > > direct
> > > > > connection to the printer.
> > > >
> > > > with CUPS server network cable plugged in
> > > > "enscript file"
> > > > prints
> > > > with CUPS server network cable unplugged
> > > > "enscript file"
> > > > hangs, does not print
> > > 
> > > Communication with a remote CUPS server is with IPP over port 631.
> > > socket://... is over port 9100.
> > 
> > Just to be clear: cupsd doesn't listen on port 9100.
> 
> I'm presuming that the "lpstat -t" result is the CUPS server saying how it
> is connected to the printer

Much more likely. I took "client PC" to mean the machine you were
printing from. Overall, quite an interesting problem. I would never
have considered using the lpr package, so have learned something.
Then again, I've never found a use for the lpr command.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:26:23 +, mick crane wrote:

> On 2019-03-01 12:16, Brian wrote:
> > On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:
> > 
> > > On 2019-03-01 11:49, Brian wrote:
> > > 
> > > > > "systemctl start lpd.service"
> > > >
> > > > Eh? You would have to explain. For a start, the service file does not
> > > > seem to exist in Debian.
> > > 
> > > clutching at straws
> > 
> > Which package is lpd.service in?
> 
> sorry I don't know, presume it came with lpr
> systemctl didn't complain about unknown service

Thanks. I'd forgotten that systemd deals with files in /etc/init.d/.
/etc/init.d/lpd is started via systemd.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-03-01 12:24, Brian wrote:

On Fri 01 Mar 2019 at 12:21:05 +, Brian wrote:


On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:

> On 2019-03-01 11:49, Brian wrote:
>
> > > on client PC
> > > $ lpstat -t
> > > scheduler is running
> > > system default destination: HP_LaserJet_4000_Series
> > > device for HP_LaserJet_4000_Series: socket://10.0.0.108
> >
> > This is not a connection to the server. socket://... indicates a direct
> > connection to the printer.
>
> with CUPS server network cable plugged in
> "enscript file"
> prints
> with CUPS server network cable unplugged
> "enscript file"
> hangs, does not print

Communication with a remote CUPS server is with IPP over port 631.
socket://... is over port 9100.


Just to be clear: cupsd doesn't listen on port 9100.


I'm presuming that the "lpstat -t" result is the CUPS server saying how 
it is connected to the printer

--
Key ID4BFEBB31



Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-03-01 12:16, Brian wrote:

On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:


On 2019-03-01 11:49, Brian wrote:

> > "systemctl start lpd.service"
>
> Eh? You would have to explain. For a start, the service file does not
> seem to exist in Debian.

clutching at straws


Which package is lpd.service in?


sorry I don't know, presume it came with lpr
systemctl didn't complain about unknown service

--
Key ID4BFEBB31



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:21:05 +, Brian wrote:

> On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:
> 
> > On 2019-03-01 11:49, Brian wrote:
> > 
> > > > on client PC
> > > > $ lpstat -t
> > > > scheduler is running
> > > > system default destination: HP_LaserJet_4000_Series
> > > > device for HP_LaserJet_4000_Series: socket://10.0.0.108
> > > 
> > > This is not a connection to the server. socket://... indicates a direct
> > > connection to the printer.
> > 
> > with CUPS server network cable plugged in
> > "enscript file"
> > prints
> > with CUPS server network cable unplugged
> > "enscript file"
> > hangs, does not print
> 
> Communication with a remote CUPS server is with IPP over port 631.
> socket://... is over port 9100.

Just to be clear: cupsd doesn't listen on port 9100.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:

> On 2019-03-01 11:49, Brian wrote:
> 
> > > on client PC
> > > $ lpstat -t
> > > scheduler is running
> > > system default destination: HP_LaserJet_4000_Series
> > > device for HP_LaserJet_4000_Series: socket://10.0.0.108
> > 
> > This is not a connection to the server. socket://... indicates a direct
> > connection to the printer.
> 
> with CUPS server network cable plugged in
> "enscript file"
> prints
> with CUPS server network cable unplugged
> "enscript file"
> hangs, does not print

Communication with a remote CUPS server is with IPP over port 631.
socket://... is over port 9100.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:09:16 +, mick crane wrote:

> On 2019-03-01 11:49, Brian wrote:
> 
> > > "systemctl start lpd.service"
> > 
> > Eh? You would have to explain. For a start, the service file does not
> > seem to exist in Debian.
> 
> clutching at straws

Which package is lpd.service in?

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-03-01 11:49, Brian wrote:


on client PC
$ lpstat -t
scheduler is running
system default destination: HP_LaserJet_4000_Series
device for HP_LaserJet_4000_Series: socket://10.0.0.108


This is not a connection to the server. socket://... indicates a direct
connection to the printer.


with CUPS server network cable plugged in
"enscript file"
prints
with CUPS server network cable unplugged
"enscript file"
hangs, does not print




"lp filename" prints OK


That's what should happen.


"systemctl start lpd.service"


Eh? You would have to explain. For a start, the service file does not
seem to exist in Debian.


clutching at straws

mick

--
Key ID4BFEBB31



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 11:55:20 +, Brian wrote:

> On Fri 01 Mar 2019 at 12:43:58 +0100, Nicolas George wrote:
> 
> > Brian (12019-03-01):
> > > If installing the cups-bsd package was the solution, why didn't the use
> > > of lpr give a file not found error?
> > 
> > Probably because of this, that caused the removal of packages:
> > 
> > Conflicts: lpr, lprng
> 
> I doubt it. This simply says that cups cannot exist on the same system
> if either the lpr or lprng *packages* is installed. lpr disappeared
> from Debian in about 2008.

For get about this. Got it now.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Nicolas George
Brian (12019-03-01):
> I doubt it. This simply says that cups cannot exist on the same system
> if either the lpr or lprng *packages* is installed.

And therefore, if one of these packages was previously installed, as
mick just told us, and provided the lpr command, it was removed to make
way for the different lpr command.

> lpr disappeared
> from Debian in about 2008.

You might want to want to check apt-cache policy.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-03-01 11:42, Brian wrote:

On Fri 01 Mar 2019 at 11:35:18 +, mick crane wrote:


On 2019-03-01 11:15, Curt wrote:

> I believe the lpr that works with cups is the one provided by cups-bsd.
>
success !
ta ever so much


If installing the cups-bsd package was the solution, why didn't the use
of lpr give a file not found error?


I'd previously installed lpr
--
Key ID4BFEBB31



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 12:43:58 +0100, Nicolas George wrote:

> Brian (12019-03-01):
> > If installing the cups-bsd package was the solution, why didn't the use
> > of lpr give a file not found error?
> 
> Probably because of this, that caused the removal of packages:
> 
> Conflicts: lpr, lprng

I doubt it. This simply says that cups cannot exist on the same system
if either the lpr or lprng *packages* is installed. lpr disappeared
from Debian in about 2008.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 09:58:08 +, mick crane wrote:

> On 2019-02-28 18:59, mick crane wrote:
> > hello
> > is buster
> > I can print from command line with
> > "lp filename"
> > but not with "lpr filename"
> > when printing from terminal the font is a bit big and uses too much
> > paper.
> > apparently "enscript -FCourier10 filename" for example is supposed to
> > work but that sends it to lpr which doesn't.
> > Can try to get lpr to work as I have in the past or try to get
> > enscript to use lp
> > Or maybe there is another way to change printed font size from terminal
> > ?
> 
> I'm not really understanding.
> Is "lp" to do with CUPS and "lpr" to do with lpd daemon ?

lp originated via the System V printing system; lpr came from the
Berkeley printing system. Both commands do essentially the same things
and both should work in an identical way. Both are not needed and, if
you wish, lpr can be removed with 'apt purge cups-bsd'.

I doubt very much that you need to have anything to do with cups-lpd.

> I have CUPS server on other PC.

Ok.
 
> on client PC
> $ lpstat -t
> scheduler is running
> system default destination: HP_LaserJet_4000_Series
> device for HP_LaserJet_4000_Series: socket://10.0.0.108

This is not a connection to the server. socket://... indicates a direct
connection to the printer.

> "lp filename" prints OK

That's what should happen.

> "systemctl start lpd.service"

Eh? You would have to explain. For a start, the service file does not
seem to exist in Debian.

> "lpr filename" (nothing happens)

Thinking in progress. (But Curt's thought processes are speedier than
mine).

> "enscript filename"
> [ 1 page * 1 copy ] sent to printer
> (but nothing happens)
> 
> enscript filename | lp
> [ 1 page * 1 copy ] sent to printer
> lp: No file in print request.
> 
> $ enscript -d filename
> lpr: test: unknown printer
> 
> $ enscript -P filename
> lpr: test: unknown printer
> 
> Do I need to put some sensible values in /etc/printcap to have enscript
> working as at the moment /etc/printcap seems to be defining a local printer
> ?

You don't touch printcap.

> Or is there some way to tell any printer requests should go to CUPS server ?

Indeed there is.

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread Nicolas George
Brian (12019-03-01):
> If installing the cups-bsd package was the solution, why didn't the use
> of lpr give a file not found error?

Probably because of this, that caused the removal of packages:

Conflicts: lpr, lprng

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: font size printing from terminal

2019-03-01 Thread Brian
On Fri 01 Mar 2019 at 11:35:18 +, mick crane wrote:

> On 2019-03-01 11:15, Curt wrote:
> 
> > I believe the lpr that works with cups is the one provided by cups-bsd.
> > 
> success !
> ta ever so much

If installing the cups-bsd package was the solution, why didn't the use
of lpr give a file not found error?

-- 
Brian.



Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-03-01 11:15, Curt wrote:


I believe the lpr that works with cups is the one provided by cups-bsd.


success !
ta ever so much

--
Key ID4BFEBB31



Re: font size printing from terminal

2019-03-01 Thread Curt
On 2019-03-01, mick crane  wrote:
> On 2019-02-28 18:59, mick crane wrote:
>> hello
>> is buster
>> I can print from command line with
>> "lp filename"
>> but not with "lpr filename"
>> when printing from terminal the font is a bit big and uses too much 
>> paper.
>> apparently "enscript -FCourier10 filename" for example is supposed to
>> work but that sends it to lpr which doesn't.
>> Can try to get lpr to work as I have in the past or try to get
>> enscript to use lp
>> Or maybe there is another way to change printed font size from terminal 
>> ?

I believe the lpr that works with cups is the one provided by cups-bsd.

the -d and -P flags for enscript should be followed by a printer name, not
by a file name, according to the man page.

 enscript -P  HP_LaserJet_4000_Series foo.txt

> I'm not really understanding.
> Is "lp" to do with CUPS and "lpr" to do with lpd daemon ?
> I have CUPS server on other PC.
>
> on client PC
> $ lpstat -t
> scheduler is running
> system default destination: HP_LaserJet_4000_Series
> device for HP_LaserJet_4000_Series: socket://10.0.0.108
>
> "lp filename" prints OK
>
> "systemctl start lpd.service"
>
> "lpr filename" (nothing happens)
>
> "enscript filename"
> [ 1 page * 1 copy ] sent to printer
> (but nothing happens)
>
> enscript filename | lp
> [ 1 page * 1 copy ] sent to printer
> lp: No file in print request.
>
> $ enscript -d filename
> lpr: test: unknown printer
>
> $ enscript -P filename
> lpr: test: unknown printer
>
> Do I need to put some sensible values in /etc/printcap to have enscript 
> working as at the moment /etc/printcap seems to be defining a local 
> printer ?
> Or is there some way to tell any printer requests should go to CUPS 
> server ?
>


-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves



Nettoyage du spam : janvier 2019

2019-03-01 Thread Jean-Pierre Giraud

Bonjour,
Comme nous sommes en mars, il est désormais possible de
traiter les archives du mois de février 2019 des listes francophones.

N'oubliez bien sûr pas d'ajouter votre nom à la liste des relecteurs
pour que nous sachions où nous en sommes.

Détails du processus de nettoyage du spam sur :

https://wiki.debian.org/I18n/FrenchSpamClean



Re: font size printing from terminal

2019-03-01 Thread Nicolas George
mick crane (12019-02-28):
> Can try to get lpr to work

Leaving something that does not work is rarely a good idea.

You neglected to give some very important information, in particular
which packages provides the various commands you are trying to use and
their respective versions.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: font size printing from terminal

2019-03-01 Thread mick crane

$ enscript -d filename
lpr: test: unknown printer

sorry that is a typing error, the actual file was called "test".
tried the printer name after "-d" but put this here because shows 
enscript is using lpr

--
Key ID4BFEBB31



Re: prevent apt from downgrading packages

2019-03-01 Thread Alexander V. Makartsev
On 01.03.2019 15:07, Andrea Borgia wrote:
>
> Il giorno ven 1 mar 2019 alle ore 10:46 Alexander V. Makartsev
> mailto:avbe...@gmail.com>> ha scritto:
>
> On 01.03.2019 13:27, Felix Rubio wrote:
>>     I have mix stable+testing (~1200 packages from stable, ~20
>> packages from testing). I have the following contents in
>> /etc/apt/preferences.d/pinning:
> This is something you should not do in first place. [1]
>
>
> I have a "testing" installation with "stable" as additional source,
> meaning that in my case the numbers would probably be reversed.
> Is that still a no-no ?
>
> Regards,
> Andrea.
>  
>  
This is something you have to decide for yourself and deal with
unforeseen consequences.
If you actually *build* packages from "stable" on "testing" system,
using dependencies for building also from "testing" then it should be ok
compatibility wise.
If you simply *install* packages from various sources and branches then
you asking for trouble.

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Re: prevent apt from downgrading packages

2019-03-01 Thread john doe
On 3/1/2019 11:07 AM, Andrea Borgia wrote:
> Il giorno ven 1 mar 2019 alle ore 10:46 Alexander V. Makartsev <
> avbe...@gmail.com> ha scritto:
>
>> On 01.03.2019 13:27, Felix Rubio wrote:
>>
>> I have mix stable+testing (~1200 packages from stable, ~20 packages
>> from testing). I have the following contents in
>> /etc/apt/preferences.d/pinning:
>>
>> This is something you should not do in first place. [1]
>>
>
> I have a "testing" installation with "stable" as additional source, meaning
> that in my case the numbers would probably be reversed.
> Is that still a no-no ?
>

There are no good answers here.
It is up to you, all depends on your needs and environment.

--
John Doe



Re: prevent apt from downgrading packages

2019-03-01 Thread Andrea Borgia
Il giorno ven 1 mar 2019 alle ore 10:46 Alexander V. Makartsev <
avbe...@gmail.com> ha scritto:

> On 01.03.2019 13:27, Felix Rubio wrote:
>
> I have mix stable+testing (~1200 packages from stable, ~20 packages
> from testing). I have the following contents in
> /etc/apt/preferences.d/pinning:
>
> This is something you should not do in first place. [1]
>

I have a "testing" installation with "stable" as additional source, meaning
that in my case the numbers would probably be reversed.
Is that still a no-no ?

Regards,
Andrea.


Re: font size printing from terminal

2019-03-01 Thread mick crane

On 2019-02-28 18:59, mick crane wrote:

hello
is buster
I can print from command line with
"lp filename"
but not with "lpr filename"
when printing from terminal the font is a bit big and uses too much 
paper.

apparently "enscript -FCourier10 filename" for example is supposed to
work but that sends it to lpr which doesn't.
Can try to get lpr to work as I have in the past or try to get
enscript to use lp
Or maybe there is another way to change printed font size from terminal 
?


I'm not really understanding.
Is "lp" to do with CUPS and "lpr" to do with lpd daemon ?
I have CUPS server on other PC.

on client PC
$ lpstat -t
scheduler is running
system default destination: HP_LaserJet_4000_Series
device for HP_LaserJet_4000_Series: socket://10.0.0.108

"lp filename" prints OK

"systemctl start lpd.service"

"lpr filename" (nothing happens)

"enscript filename"
[ 1 page * 1 copy ] sent to printer
(but nothing happens)

enscript filename | lp
[ 1 page * 1 copy ] sent to printer
lp: No file in print request.

$ enscript -d filename
lpr: test: unknown printer

$ enscript -P filename
lpr: test: unknown printer

Do I need to put some sensible values in /etc/printcap to have enscript 
working as at the moment /etc/printcap seems to be defining a local 
printer ?
Or is there some way to tell any printer requests should go to CUPS 
server ?


--
Key ID4BFEBB31



Re: prevent apt from downgrading packages

2019-03-01 Thread Alexander V. Makartsev
On 01.03.2019 13:27, Felix Rubio wrote:
> Hi all,
>
>     I have mix stable+testing (~1200 packages from stable, ~20
> packages from testing). I have the following contents in
> /etc/apt/preferences.d/pinning:
>
This is something you should not do in first place. [1]
The right and safe way to run stable branch and install packages from
other branches (eg testing) is to make backports of them. [2] This is
why debian-backports branch exists.
When doing it right way you won't need any pinning and if package you
backported will hit stretch-backports branch and will be newer version
it will be upgraded just as regular package.

[1] https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
[2] https://wiki.debian.org/SimpleBackportCreation

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



prevent apt from downgrading packages

2019-03-01 Thread Felix Rubio

Hi all,

I have mix stable+testing (~1200 packages from stable, ~20 packages 
from testing). I have the following contents in 
/etc/apt/preferences.d/pinning:


Package: *
Pin: release a=stable
Pin-Priority: 1001

Package: *
Pin: release a=testing
Pin-Priority: 200

Package: *
Pin: release a=experimental
Pin-Priority: -10

Package: *
Pin: release a=unstable
Pin-Priority: -10

What happens is: after an apt update, I list the packages to be upgraded 
with apt list --upgradable, and I get only those that will be upgraded. 
However, when I run apt upgrade, I get a number of packages that will be 
downgraded. How can I prevent this downgrading from happening?


Thank you!
Felix