Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread Thomas Schmitt
Hi, if spaces are involved, then quotation marks hould be put around the argument of "echo". Using the leading blank from David Wright's post: $ fname=" long file with spaces.mp4" $ x=`echo $fname | rev | cut -d. -f2 | rev` $ test "$x".mp4 = "$fname" && echo IS EQUAL $ I.e. "$x".mp4

Re: MYSQL

2019-03-02 Thread Zuthos
Frédéric MASSOT a écrit : > On pourrait avoir les messages d'erreur lorsque tu essayes de redémarrer > MySQL ou un extrait des logs ? # service mysql restart Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl

Re: MYSQL

2019-03-02 Thread Zuthos
Paul Ezvan a écrit : >Avec la configuration par défaut de MariaDB sous Debian tu devrais pouvoir >te connecter de la façon suivante: > > sudo mysql -u root > >Est-ce que cela fonctionne ? Malheureusement non: mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server

Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread David Wright
On Sat 02 Mar 2019 at 21:48:26 (-0500), deb wrote: > On 3/2/19 8:07 PM, Roberto C. Sánchez wrote: > > On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: > > > This has to be simple and I'm just missing it. > > > > > > If I pull a filename from a temp file into a variable, I can ls it >

re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread der.hans
Am 02. Mar, 2019 schwätzte deb so: moin moin, rather than the double-reverse, try the truncate operator. basename=${fname%.*} $ ( fname=fred.mp4; echo ${fname%.*} ) fred $ ( fname=fred.georg.mp4; echo ${fname%.*} ) fred.georg $ ( fname=fred.txt; echo ${fname%.*} ) fred $ ( fname=fred; echo

re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread deb
On 3/2/19 8:07 PM, Roberto C. Sánchez wrote: On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: This has to be simple and I'm just missing it. If I pull a filename from a temp file into a variable, I can ls it fine. If I cut off the extension, and tack on my own SAME EXT, ls no

Re: Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread Roberto C . Sánchez
On Sat, Mar 02, 2019 at 07:56:58PM -0500, deb wrote: >This has to be simple and I'm just missing it. > >If I pull a filename from a temp file into a variable, I can ls it fine. > >If I cut off the extension, and tack on my own SAME EXT, ls no longer >works. > >(The actual

Bash file to variable string problem -- must be simple. What am I missing?

2019-03-02 Thread deb
This has to be simple and I'm just missing it. If I pull a filename from a temp file into a variable, I can *ls* it fine. If I cut off the extension, and tack on my own SAME EXT, *ls* no longer works. (The actual script is more elaborate, loading *vlc* , etc -- but this summarizes & shows

Re: MYSQL

2019-03-02 Thread Paul Ezvan
Avec la configuration par défaut de MariaDB sous Debian tu devrais pouvoir te connecter de la façon suivante: sudo mysql -u root Est-ce que cela fonctionne ? Si oui tu peux essayer ensuite de changer le mot de passer de tes utilisateurs, par exemple: SET PASSWORD FOR

Re: MYSQL

2019-03-02 Thread Zuthos
> > Tu devrais également vérifier les permissions. > > /var/lib/mysql devrait être mysql:mysql en 755 > Les fichiers dedans en 660. > Les répertoires de bdd en 700. Les fichiers dans ces répertoires en 660 > également. J'ai changer les droits. Rien n'y fait

Re: MYSQL

2019-03-02 Thread Zuthos
Jean-Michel OLTRA a écrit : > > Bonjour, > > > Le samedi 02 mars 2019, Zuthos a écrit... > > > > # mysqld_safe --skip-grant-tables 2>&1 > > 190302 20:59:07 mysqld_safe Logging to syslog. > > 190302 20:59:07 mysqld_safe Starting mysqld daemon with databases from > > /var/lib/mysql > >

Re: Debian specific tools/apps

2019-03-02 Thread Josef Bailey
I know how to use Linux, why would I man a tool I know nothing about . I need the tool/app first before I man it. I’m asking for Debian specific tools I need to know. > On Mar 2, 2019, at 9:17 AM, Andy Smith wrote: > >> On Sat, Mar 02, 2019 at 05:14:25PM +, Andy Smith wrote: >> Having a

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
Josef, On Sat, Mar 02, 2019 at 02:42:19PM -0800, Josef Bailey wrote: > I know how to use Linux, why would I man a tool I know nothing about . I need > the tool/app first before I man it. I’m asking for Debian specific tools I > need to know. The documentations I pointed you to are specific to

Re: MYSQL

2019-03-02 Thread Jean-Michel OLTRA
Bonjour, Le samedi 02 mars 2019, Zuthos a écrit... > les droits sont mysq:mysql Tu devrais également vérifier les permissions. /var/lib/mysql devrait être mysql:mysql en 755 Les fichiers dedans en 660. Les répertoires de bdd en 700. Les fichiers dans ces répertoires en 660 également.

Re: Failed to sign email. Thunderbird or enigmail bug?

2019-03-02 Thread riveravaldez
> I want to report it as a bug. How should i report it as a thunderbird or > enigmail bug? Have you checked upstream on Thunderbird [1,2,3] and Enigmail [4,5] sites/communities? [1] https://www.thunderbird.net/en-US/ [2] https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird [3]

Re: MYSQL

2019-03-02 Thread Jean-Michel OLTRA
Bonjour, Le samedi 02 mars 2019, Zuthos a écrit... > # mysqld_safe --skip-grant-tables 2>&1 > 190302 20:59:07 mysqld_safe Logging to syslog. > 190302 20:59:07 mysqld_safe Starting mysqld daemon with databases from > /var/lib/mysql D'accord. Mais encore ? Tu peux te connecter dessus ?

need help to report a bug : In which module is it present . The kernel ?

2019-03-02 Thread Luc
Hi, I am a Debian user for at least 12 years and I love it. 1- Since I use Debian to run my flight simulator  I had problems with the Saitek rudder pedals. When I come back from a suspend I have to unplug and replug this rudder pedal device for it to work. 2- Now since the 2  last kernel

Re: MYSQL

2019-03-02 Thread Zuthos
Jean-Michel OLTRA a écrit : > > Tu devrais tout remettre comme c'était, puisque ton datadir est sur > /var/lib/mysql, afin de faire démarrer mysqld en premier lieu. > > Le warning dans le démarrage de mysql est étrange : regarde les droits sur > le répertoire /var/lib/mysql et sur ce qu'il y a

Docker en het HostOS

2019-03-02 Thread Frans van Berckel
Vorige weekend al even met RancherOS aan het experimenteren geweest. Dat is en soort van Docker only Linux distributie. En dat gaat eigenlijk best eenvoudig. Een oude 4 core x86_64 Dell server is al voldoende, zo blijkt. Wat extra geheugen erin dat kan geen kwaad. https://rancher.com/rancher-os/

Re: Debian 10 grub error: no such device

2019-03-02 Thread Pascal Hambourg
Le 02/03/2019 à 15:35, Igor Kovalchuk a écrit : This week, on 26 Feb I did apt-get upgrade and apt-get dist-upgrade then it displayed me a blue window with a prompt to install grub, because it can't find it. I pressed 'cancel', because I was a bit wonder. My previous successful upgrade was 8

Re: please help with "no Wacom support" in debian Buster

2019-03-02 Thread Brad Rogers
On Sat, 2 Mar 2019 16:59:42 + (UTC) michael wrote: Hello michael, >resupported sometime during Debian Gnu Linux Buster/SID Development? Is >it a bug? Or has Wacom support been abondened altogether? Support exists. Do you have any of the relevant wacom packages installed? Most notably;

Failed to sign email. Thunderbird or enigmail bug?

2019-03-02 Thread GP
Hi. Im running buster (testing) and im trying to send signed email. My keys are on my yubikey. I get the following error message "Sending of the message failed. You specified that this message should be digitally signed, but the application either failed to find the signing certificate specified

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
On Sat, Mar 02, 2019 at 05:14:25PM +, Andy Smith wrote: > Having a read through the release notes at: > > https://www.debian.org/releases/stable/amd64/release-notes/ > > is often worthwile even for those more familiar with Debian. Oh, and The Debian Administrator's Handbook is a great

Re: Debian specific tools/apps

2019-03-02 Thread Andy Smith
Hi Josef, On Fri, Mar 01, 2019 at 10:40:19PM -0800, Josef Bailey wrote: > Is there anything else I should know that can help me find answers quick and > help me maintain my system Having a read through the release notes at: https://www.debian.org/releases/stable/amd64/release-notes/ is

Re: netplan WAS: de VM ook echt op het LAN

2019-03-02 Thread Paul van der Vlis
Op 02-03-19 om 16:24 schreef Geert Stappers: > On Sat, Mar 02, 2019 at 03:13:53PM +0100, Frans van Berckel wrote: >> On Sat, 2019-03-02 at 15:01 +0100, Paul van der Vlis wrote: >>> >>> Het zit wel in Buster, maar of het gebruikt wordt? >>> https://packages.debian.org/buster/netplan.io >>> >>> Op

netplan WAS: de VM ook echt op het LAN

2019-03-02 Thread Geert Stappers
On Sat, Mar 02, 2019 at 03:13:53PM +0100, Frans van Berckel wrote: > On Sat, 2019-03-02 at 15:01 +0100, Paul van der Vlis wrote: > > > > Het zit wel in Buster, maar of het gebruikt wordt? > > https://packages.debian.org/buster/netplan.io > > > > Op de Buster machines die ik geupgraded heb ben ik

Re: Debian specific tools/apps

2019-03-02 Thread Default User
On Sat, Mar 2, 2019, 09:18 Peter Ehlert wrote: > https://wiki.debian.org/ > > On 3/1/19 10:40 PM, Josef Bailey wrote: > > 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 > >

Debian 10 grub error: no such device

2019-03-02 Thread Igor Kovalchuk
Hello! This week, on 26 Feb I did apt-get upgrade and apt-get dist-upgrade then it displayed me a blue window with a prompt to install grub, because it can't find it. I pressed 'cancel', because I was a bit wonder. My previous successful upgrade was 8 Jan 2019. Is this a known issue? Why it

Re: MYSQL

2019-03-02 Thread Jean-Michel OLTRA
Bonjour, Le samedi 02 mars 2019, Zuthos a écrit... > > > J'ai essayé d'intervertir les deux repertoires afin de tout remettre > > > dans l'ordre. Malheureusement, cela ne c'est pas bien passé: Tu devrais tout remettre comme c'était, puisque ton datadir est sur /var/lib/mysql, afin de

Re: Debian specific tools/apps

2019-03-02 Thread Peter Ehlert
https://wiki.debian.org/ On 3/1/19 10:40 PM, Josef Bailey wrote: 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

Re: de VM ook echt op het LAN

2019-03-02 Thread Frans van Berckel
Hoi Paul, On Sat, 2019-03-02 at 15:01 +0100, Paul van der Vlis wrote: > Sorry, foutje. Dit is een helemaal ander pakket... > > Het zit wel in Buster, maar of het gebruikt wordt? > https://packages.debian.org/buster/netplan.io > > Op de Buster machines die ik geupgraded heb ben ik het nog niet

Re: roundcube installer web helper problem

2019-03-02 Thread Steve Kemp
> when click create config button there is no text in the code box and > says cannot write config file which is writable by the www-data and the > temp and log directories are OK to write to according to installer web > page. Probably www-data doesn't have permission to write to the *parent*

Re: de VM ook echt op het LAN

2019-03-02 Thread Paul van der Vlis
Op 02-03-19 om 14:51 schreef Paul van der Vlis: > Op 02-03-19 om 13:51 schreef Frans van Berckel: > >> Goed om te realiseren, met Buster en volgende, stapt men waarschijnlijk >> over op Netplan. > > Lijkt me niet, ik zie dat Netplan verwijderd is uit Buster: > https://tracker.debian.org/pkg/plan

Re: de VM ook echt op het LAN

2019-03-02 Thread Frans van Berckel
Hoi Paul, On Sat, 2019-03-02 at 14:51 +0100, Paul van der Vlis wrote: > Op 02-03-19 om 13:51 schreef Frans van Berckel: > > > Goed om te realiseren, met Buster en volgende, stapt men > > waarschijnlijk over op Netplan. > > Lijkt me niet, ik zie dat Netplan verwijderd is uit Buster: >

Re: de VM ook echt op het LAN

2019-03-02 Thread Frans van Berckel
Hoi Geert, On Sat, 2019-03-02 at 13:51 +0100, Frans van Berckel wrote: > Goed om te realiseren, met Buster en volgende, stapt men > waarschijnlijk over op Netplan. Bij de huidige Ubuntu versies doen ze > dat reeds ... >

Re: roundcube installer web helper problem

2019-03-02 Thread mick crane
well OK I found another copy of the file and those lines are the same so I guess it is something it refers to. -- Key ID4BFEBB31

Re: MYSQL

2019-03-02 Thread Zuthos
Jean-Michel OLTRA a écrit : > > Bonjour, > > > Le samedi 02 mars 2019, Zuthos a écrit... > > > > J'ai effectivement retrouvé mes bases. Elles sont dans le repertoire > > /var/lib/mysql-5.7 au lieu de /var/lib/mysql > > > J'ai essayé d'intervertir les deux repertoires afin de tout

roundcube installer web helper problem

2019-03-02 Thread mick crane
Hello, I'm having a bit of bother configuring roundcube on buster I've installed roundcube before from sources and has been ok for a few years but now is something a bit wrong so I install with apt. on the installer web page step 2 there is the message "Warning: A non-numeric value encountered

Re: de VM ook echt op het LAN

2019-03-02 Thread Frans van Berckel
Hoi Geert, On Sat, 2019-03-02 at 13:41 +0100, Geert Stappers wrote: > Idee wat ik momenteel onderzoek is "macvlan" > ( > http://www.pocketnix.org/posts/Linux%20Networking:%20MAC%20VLANs%20and%20Virtual%20Ethernets > ) > > > Andere mogelijkheden vooral melden. Goed om te realiseren, met

Re: MYSQL

2019-03-02 Thread Jean-Michel OLTRA
Bonjour, Le samedi 02 mars 2019, Zuthos a écrit... > J'ai effectivement retrouvé mes bases. Elles sont dans le repertoire > /var/lib/mysql-5.7 au lieu de /var/lib/mysql > J'ai essayé d'intervertir les deux repertoires afin de tout remettre > dans l'ordre. Malheureusement, cela ne c'est

Re: MYSQL

2019-03-02 Thread Zuthos
Alexandre Goethals a écrit : > 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

Re: systemctl reboot fails (doesn't reboot)

2019-03-02 Thread tomas
On Sat, Mar 02, 2019 at 02:03:38AM +0100, 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

Re: systemctl reboot fails (doesn't reboot)

2019-03-02 Thread tomas
On Fri, Mar 01, 2019 at 06:38:33PM -0300, riveravaldez wrote: > Hi, I'm on debian-testing (updated), and found this issue: I have very little experience with systemd, but... > $ systemctl reboot > Failed to set wall message, ignoring: The name > org.freedesktop.PolicyKit1 was not provided by any